Created
January 26, 2017 12:03
-
-
Save here-devblog-gists/bb250bda6227d177e0ef1c21491a61c1 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
func positionDidUpdate(){ | |
if let p = NMAPositioningManager.shared().currentPosition { | |
mapView.setGeoCenter(p.coordinates, with: NMAMapAnimation.bow) | |
} | |
} | |
func didLosePosition(){ | |
print("Position lost") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment