DashMapStyleConfig

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
Link copied to clipboard
object Companion
Link copied to clipboard

Defines configuration options available to be updated in the runtime. See Dash.applyUpdate.

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
fun <T, B : DashConfigBuilder<T, B>> DashConfigBase<T, B>.copy(func: B.() -> Unit): T

Creates a copy of a given configuration instances with options mutated by the provided function.

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

Returns a new Builder instance with copied elements of this configuration.

Link copied to clipboard
open override fun toString(): String