Package-level declarations

Types

Link copied to clipboard

The background color or pattern of the map.

Link copied to clipboard

This Interface contains all the functions that will be exposed to Koltin DSL.

Link copied to clipboard
class CircleLayer(val layerId: String, val sourceId: String) : Layer, CircleLayerDsl

A filled circle.

Link copied to clipboard
interface CircleLayerDsl

This Interface contains all the functions that will be exposed to Koltin DSL.

Link copied to clipboard
class FillExtrusionLayer(val layerId: String, val sourceId: String) : Layer, FillExtrusionLayerDsl

An extruded (3D) polygon.

Link copied to clipboard

This Interface contains all the functions that will be exposed to Koltin DSL.

Link copied to clipboard
class FillLayer(val layerId: String, val sourceId: String) : Layer, FillLayerDsl

A filled polygon with an optional stroked border.

Link copied to clipboard
interface FillLayerDsl

This Interface contains all the functions that will be exposed to Koltin DSL.

Link copied to clipboard
class HeatmapLayer(val layerId: String, val sourceId: String) : Layer, HeatmapLayerDsl

A heatmap.

Link copied to clipboard
interface HeatmapLayerDsl

This Interface contains all the functions that will be exposed to Koltin DSL.

Link copied to clipboard
class HillshadeLayer(val layerId: String, val sourceId: String) : Layer, HillshadeLayerDsl

Client-side hillshading visualization based on DEM data. Currently, the implementation only supports Mapbox Terrain RGB and Mapzen Terrarium tiles.

Link copied to clipboard

This Interface contains all the functions that will be exposed to Koltin DSL.

Link copied to clipboard
class LineLayer(val layerId: String, val sourceId: String) : Layer, LineLayerDsl

A stroked line.

Link copied to clipboard
interface LineLayerDsl

This Interface contains all the functions that will be exposed to Koltin DSL.

Link copied to clipboard

Location Indicator layer.

Link copied to clipboard

This Interface contains all the functions that will be exposed to Koltin DSL.

Link copied to clipboard
class ModelLayer(val layerId: String, val sourceId: String) : Layer, ModelLayerDsl

A layer to render 3D Models.

Link copied to clipboard

This Interface contains all the functions that will be exposed to Koltin DSL.

Link copied to clipboard
class RasterLayer(val layerId: String, val sourceId: String) : Layer, RasterLayerDsl

Raster map textures such as satellite imagery.

Link copied to clipboard

This Interface contains all the functions that will be exposed to Koltin DSL.

Link copied to clipboard
class SkyLayer(val layerId: String) : Layer, SkyLayerDsl

A spherical dome around the map that is always rendered behind all other layers.

Link copied to clipboard
interface SkyLayerDsl

This Interface contains all the functions that will be exposed to Koltin DSL.

Link copied to clipboard
class SymbolLayer(val layerId: String, val sourceId: String) : Layer, SymbolLayerDsl

An icon or a text label.

Link copied to clipboard
interface SymbolLayerDsl

This Interface contains all the functions that will be exposed to Koltin DSL.

Functions

Link copied to clipboard

DSL function for creating a BackgroundLayer.

Link copied to clipboard
fun circleLayer(layerId: String, sourceId: String, block: CircleLayerDsl.() -> Unit): CircleLayer

DSL function for creating a CircleLayer.

Link copied to clipboard

DSL function for creating a FillExtrusionLayer.

Link copied to clipboard
fun fillLayer(layerId: String, sourceId: String, block: FillLayerDsl.() -> Unit): FillLayer

DSL function for creating a FillLayer.

Link copied to clipboard
fun heatmapLayer(layerId: String, sourceId: String, block: HeatmapLayerDsl.() -> Unit): HeatmapLayer

DSL function for creating a HeatmapLayer.

Link copied to clipboard
fun hillshadeLayer(layerId: String, sourceId: String, block: HillshadeLayerDsl.() -> Unit): HillshadeLayer

DSL function for creating a HillshadeLayer.

Link copied to clipboard
fun lineLayer(layerId: String, sourceId: String, block: LineLayerDsl.() -> Unit): LineLayer

DSL function for creating a LineLayer.

Link copied to clipboard
Link copied to clipboard
fun modelLayer(layerId: String, sourceId: String, block: ModelLayerDsl.() -> Unit): ModelLayer

DSL function for creating a ModelLayer.

Link copied to clipboard
fun rasterLayer(layerId: String, sourceId: String, block: RasterLayerDsl.() -> Unit): RasterLayer

DSL function for creating a RasterLayer.

Link copied to clipboard
fun skyLayer(layerId: String, block: SkyLayerDsl.() -> Unit): SkyLayer

DSL function for creating a SkyLayer.

Link copied to clipboard
fun symbolLayer(layerId: String, sourceId: String, block: SymbolLayerDsl.() -> Unit): SymbolLayer

DSL function for creating a SymbolLayer.