Companion

A convenience object to access the style ID strings of the professionally-designed map styles made by Mapbox.

object Companion

Functions

equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

DARK
Link copied to clipboard

Dark: Subtle dark backdrop for data visualizations. Using this constant means your map style will always use the latest version and may change as we improve the style.

const val DARK: String
LIGHT
Link copied to clipboard

Light: Subtle light backdrop for data visualizations. Using this constant means your map style will always use the latest version and may change as we improve the style.

const val LIGHT: String
MAPBOX_STREETS
Link copied to clipboard

Mapbox Streets: A complete base map, perfect for incorporating your own data. Using this constant means your map style will always use the latest version and may change as we improve the style.

const val MAPBOX_STREETS: String
OUTDOORS
Link copied to clipboard

Outdoors: A general-purpose style tailored to outdoor activities. Using this constant means your map style will always use the latest version and may change as we improve the style.

const val OUTDOORS: String
SATELLITE
Link copied to clipboard

Satellite: A beautiful global satellite and aerial imagery layer. Using this constant means your map style will always use the latest version and may change as we improve the style.

const val SATELLITE: String
SATELLITE_STREETS
Link copied to clipboard

Satellite Streets: Global satellite and aerial imagery with unobtrusive labels. Using this constant means your map style will always use the latest version and may change as we improve the style.

const val SATELLITE_STREETS: String
TRAFFIC_DAY
Link copied to clipboard

Traffic Day: Color-coded roads based on live traffic congestion data. Traffic data is currently available in [these select

  • countries](https://www.mapbox.com/help/how-directions-work/#traffic-data). Using this constant means your map style will always use the latest version and may change as we improve the style.

const val TRAFFIC_DAY: String
TRAFFIC_NIGHT
Link copied to clipboard

Traffic Night: Color-coded roads based on live traffic congestion data, designed to maximize legibility in low-light situations. Traffic data is currently available in [these select

  • countries](https://www.mapbox.com/help/how-directions-work/#traffic-data). Using this constant means your map style will always use the latest version and may change as we improve the style.

const val TRAFFIC_NIGHT: String