Builder

The builder for style plugin.

class Builder(styleUri: String)

Constructors

Builder
Link copied to clipboard
fun Builder(styleUri: String)

Functions

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

Convenient function to combine Layer and LayerPosition into Pair<Layer, LayerPosition>.

fun layerAtPosition(layer: Layer, above: String?, below: String?, at: Int?): Pair<Layer, LayerPosition>
toString
Link copied to clipboard
open override fun toString(): String
unaryPlus
Link copied to clipboard

Extension function for ImageExtensionImpl to overload Unary operations.

Apply +ImageExtensionImpl will add the source to the StyleExtensionImpl.

operator fun ImageExtensionImpl.unaryPlus()

Extension function for Layer to overload Unary operations.

Apply +Layer will add the layer to the StyleExtensionImpl.

operator fun Layer.unaryPlus()

Extension function for Light to overload Unary operations.

Apply +Light will add the light to the StyleExtensionImpl.

operator fun Light.unaryPlus()

Extension function for Source to overload Unary operations.

Apply +Source will add the source to the StyleExtensionImpl.

operator fun Source.unaryPlus()

Extension function for Terrain to overload Unary operations.

Apply +Terrain will add the terrain to the StyleExtensionImpl.

operator fun Terrain.unaryPlus()

Extension function for Pair<Layer, LayerPosition> to overload Unary operations.

Apply +Pair<Layer, LayerPosition> will add the layer to the StyleExtensionImpl at given LayerPosition.

operator fun Pair<Layer, LayerPosition>.unaryPlus()

Properties

styleUri
Link copied to clipboard

The Uri of the style to load.

val styleUri: String