StyleExtension

interface StyleExtension

Define the interfaces for the Style Extension.

Properties

atmosphere
Link copied to clipboard
abstract val atmosphere: StyleContract.StyleAtmosphereExtension?

The atmosphere of the style.

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

The images of the style.

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

The layers of the style.

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

The light of the style.

projection
Link copied to clipboard
abstract val projection: StyleContract.StyleProjectionExtension?

Map projection of the style.

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

The sources of the style.

styleUri
Link copied to clipboard
abstract val styleUri: String

The style's Uri. Will load an empty json {} if the styleUri is empty.

terrain
Link copied to clipboard
abstract val terrain: StyleContract.StyleTerrainExtension?

The 3D terrain of the style.

Inheritors

StyleExtensionImpl
Link copied to clipboard