/
Appearance
Appearance
MAP SCHEMES
You can set up the way the map will be rendered on screen using NMMapView's loadMapScheme: method which takes the name of a map colour scheme as the parameter. To get full list of all available map colour schemes use availableMapSchemes readonly property.
//logs out all available map schemes names NSArray <NSString *> *mapSchemes = [mapView availableMapSchemes]; for (NSString *scheme in mapSchemes) { NSLog(@"%@", scheme); } //set current map color scheme to "Day-Pedesrian@2x" [mapView loadMapScheme:@"Day-Pedestrian@2x"];
DAY/NIGHT MAP VIEW
NavmiiSDK automatically detects day/night changes using current coordinates and time. You can implement NMDayNightChangeListener to be able to react to these changes. Use availableMapSchemes property and loadMapScheme: method of NMMapView to set an appropriate map colour scheme. Use isInDayMode property of NMMapView to get the current value of day/night detector.
ROUTE LINE COLOR
You also can set up the color the route line will be rendered with using routeLineColor property.
//sets route line color to red mapView.routeLineColor = [UIColor colorWithRed:1.0 green:0.0 blue:0.0 alpha:1.f];
, multiple selections available,
Related content
Customising The Map Look
Customising The Map Look
More like this
Geo Items
Geo Items
More like this
Navmii POI Publishing and Search API
Navmii POI Publishing and Search API
Read with this
Appearance (v2.1.x – 2.2.x)
Appearance (v2.1.x – 2.2.x)
More like this
Navmii SDK v.2.0.x for Android
Navmii SDK v.2.0.x for Android
Read with this
Customising route appearance
Customising route appearance
More like this