Created
January 26, 2017 12:19
-
-
Save here-devblog-gists/277fd06e6eaeb6c2f56a24f84c758e77 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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