DashMapStyleConfig
@Serializable
Configures the Mapbox Maps styles used with Dash. You can edit or create new ones via Mapbox Studio.
Parameters
dayStyleUri
DAY style URI.
nightStyleUri
NIGHT style URI.
satelliteStyleUri
SATELLITE style URI.
map3dStyleUri
3D MAP style URI.
pixelRatio
the map custom pixel ratio. By default, it is set to null If provided and enabled in settings, supersedes both dayStyleUri and nightStyleUri.
IMPORTANT: 3D styles are very specific in the way they need to be built to support day/night mode switch. Consult with Mapbox Support before overriding this value.
Types
Link copied to clipboard
@Serializable
Creates a new instance of DashMapStyleConfig.
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
Returns list of all usable styles.
Link copied to clipboard
Returns list of all satellite usable styles.
Link copied to clipboard
Returns a new Builder instance with copied elements of this configuration.