Skip to content

Instantly share code, notes, and snippets.

@ahmadazimi
Created January 1, 2019 04:51
Show Gist options
  • Save ahmadazimi/8a8c88feaa0f51ad2b19261d6d111282 to your computer and use it in GitHub Desktop.
Save ahmadazimi/8a8c88feaa0f51ad2b19261d6d111282 to your computer and use it in GitHub Desktop.
@IBAction func togglePOILayer(_ sender: UISwitch) {
map.getLayers()?.insert(2, layer: NTNeshanServices.createPOILayer(mapStyle == .STANDARD_NIGHT))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment