KNMapTheme
Sets the map theme. Configure the background color and the prominence of roads, pedestrian paths, buildings, text, and icons for the intended use.
Constructor
KNMapTheme.driveDay()
With a daytime driving theme, essential driving elements are highlighted on a brightly colored map.
kotlin
fun driveDayTheme() {
mapView.mapTheme = KNMapTheme.driveDay()
}KNMapTheme.driveNight()
With the night driving theme, the elements necessary for driving are highlighted on a dark map.
kotlin
fun driveNightTheme() {
mapView.mapTheme = KNMapTheme.driveNight()
}KNMapTheme.searchDay()
With the weekly map search theme, elements that can be checked when searching the map, such as points of interest (POIs), buildings, and milestones, are highlighted on a brightly colored map.
kotlin
fun searchDayTheme() {
mapView.mapTheme = KNMapTheme.searchDay()
}KNMapTheme.searchNight()
With the night map search theme, elements that can be checked when searching the map, such as points of interest (POIs), buildings, and signposts, are highlighted on a dark-colored map.
kotlin
fun searchNightTheme() {
mapView.mapTheme = KNMapTheme.searchNight()
}