Skip to content

Instantly share code, notes, and snippets.

@here-devblog-gists
Created January 26, 2017 12:03
Show Gist options
  • Save here-devblog-gists/bb250bda6227d177e0ef1c21491a61c1 to your computer and use it in GitHub Desktop.
Save here-devblog-gists/bb250bda6227d177e0ef1c21491a61c1 to your computer and use it in GitHub Desktop.
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