Skip to content

Instantly share code, notes, and snippets.

@ahmadazimi
Last active January 1, 2019 04:45
Show Gist options
  • Save ahmadazimi/3ef1eec3a2f9e0d7fb2b8416f6c6ebe9 to your computer and use it in GitHub Desktop.
Save ahmadazimi/3ef1eec3a2f9e0d7fb2b8416f6c6ebe9 to your computer and use it in GitHub Desktop.
@IBAction func toggleTrafficLayer(_ sender: UISwitch) {
map.getLayers()?.insert(1, layer: NTNeshanServices.createTrafficLayer())
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment