Package com.mapbox.maps.extension.style.types

Types

ExpressionDsl
Link copied to clipboard

Dsl marker for Expression.

Controls the scope of the Expression Dsl.

annotation class ExpressionDsl
Formatted
Link copied to clipboard

Represents a string broken into sections annotated with separate formatting options.

class Formatted : ArrayList<FormattedSection>
FormattedSection
Link copied to clipboard

A component of the Formatted.

data class FormattedSection @JvmOverloads() constructor(text: String, fontScale: Double?, fontStack: List<String>?, textColor: String?)
LayersDsl
Link copied to clipboard

Dsl marker for Layer.

Controls the scope of the Layer Dsl.

annotation class LayersDsl
LightDsl
Link copied to clipboard

Dsl marker for Light.

Controls the scope of the Light Dsl.

annotation class LightDsl
PromoteId
Link copied to clipboard

Holds a property type to promote a specific feature for feature state API.

data class PromoteId @JvmOverloads() constructor(propertyName: String, sourceId: String?)
SourceDsl
Link copied to clipboard

Dsl marker for Source.

Controls the scope of the Source Dsl.

annotation class SourceDsl
StyleTransition
Link copied to clipboard

Concrete implementation of the StyleTransition interface.

class StyleTransition
TerrainDsl
Link copied to clipboard

Dsl marker for Terrain.

Controls the scope of the Terrain Dsl.

annotation class TerrainDsl

Functions

formatted
Link copied to clipboard

DSL function for Formatted.

fun formatted(block: Formatted.() -> Unit): Formatted
transitionOptions
Link copied to clipboard

DSL function for StyleTransition.

fun transitionOptions(block: StyleTransition.Builder.() -> Unit): StyleTransition