KNMapTheme
Configures the map theme, including background colors, roads, walkways, buildings, text, and icon sizes.
Constructor
+ driveDay
Returns a daytime driving theme that highlights driving-related elements on a light map.
objc
+ (KNMapTheme*)driveDayExample code — + driveDay
objc
mapView.mapTheme = [KNMapTheme driveDay];+ driveNight
Returns a nighttime driving theme that highlights driving-related elements on a dark map.
objc
+ (KNMapTheme*)driveNightExample code — + driveNight
objc
mapView.mapTheme = [KNMapTheme driveNight];+ searchDay
Returns a daytime map-search theme that highlights POIs, buildings, signposts, and other search-related elements on a light map.
objc
+ (KNMapTheme*)searchDayExample code — + searchDay
objc
mapView.mapTheme = [KNMapTheme searchDay];+ searchNight
Returns a nighttime map-search theme that highlights POIs, buildings, signposts, and other search-related elements on a dark map.
objc
+ (KNMapTheme*)searchNightExample code — + searchNight
objc
mapView.mapTheme = [KNMapTheme searchNight];