Skip to content

Instantly share code, notes, and snippets.

@here-devblog-gists
Created January 26, 2017 12:19
Show Gist options
  • Save here-devblog-gists/277fd06e6eaeb6c2f56a24f84c758e77 to your computer and use it in GitHub Desktop.
Save here-devblog-gists/277fd06e6eaeb6c2f56a24f84c758e77 to your computer and use it in GitHub Desktop.
class MyGestureHandler: NSObject, NMAMapGestureDelegate {
var map: NMAMapView?
func mapView(_ mapView: NMAMapView!, didReceiveLongPressAtLocation location: CGPoint)
{
map = mapView
print("Long press")
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment