StyleExtension

Define the interfaces for the Style Extension.

interface StyleExtension

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

images
Link copied to clipboard

The images of the style.

abstract val images: List<StyleContract.StyleImageExtension>
layers
Link copied to clipboard

The layers of the style.

abstract val layers: List<Pair<StyleContract.StyleLayerExtension, LayerPosition>>
light
Link copied to clipboard

The light of the style.

abstract val light: StyleContract.StyleLightExtension?
resourceCount
Link copied to clipboard

Total resource count including all sources, layers, images, terrain and light.

abstract val resourceCount: Int
sources
Link copied to clipboard

The sources of the style.

abstract val sources: List<StyleContract.StyleSourceExtension>
styleUri
Link copied to clipboard

The style's Uri.

abstract val styleUri: String
terrain
Link copied to clipboard

The 3D terrain of the style.

abstract val terrain: StyleContract.StyleTerrainExtension?

Inheritors

StyleExtensionImpl
Link copied to clipboard