Created
January 26, 2017 11:56
-
-
Save here-devblog-gists/81bd4936b26f3bd8f36f7c9f118267c4 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
override func viewDidLoad() { | |
super.viewDidLoad() | |
// set position, zoomlevel and a bit of tilt | |
mapView.setGeoCenter(NMAGeoCoordinates(latitude:52.51, longitude:13.39), with: NMAMapAnimation.bow) | |
mapView.zoomLevel = 17.0 | |
mapView.tilt = 45.0 | |
// show 3D Landmarks / 3D models for famous buildings | |
mapView.landmarksVisible = false | |
// show extruded buildings on closer zoomlevels | |
mapView.extrudedBuildingsVisible = true | |
// enable all embedded POIs on the map | |
mapView.setVisibility(true, for: NMAMapPoiCategory.all ) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment