Package-level declarations

Types

Link copied to clipboard
interface Animation
Link copied to clipboard
interface LayerProtocol

Common identity and data binding for anything that draws from a DataSource.

Link copied to clipboard

Configuration for a layer's time-based animation.

Link copied to clipboard
interface MapLayer<DataType : TileData, RenderContext : LayerRenderContext<Any>> : MapEventObserver, EventSource

A tile-backed map layer: grid dimensions, source, paint, renderer, timeline, and visibility.

Link copied to clipboard
interface MapLayerConfig

Configuration options for a WebGL layer.

Link copied to clipboard

Minimal visibility contract for layers or hosts that only need show/hide hooks.

Link copied to clipboard
Link copied to clipboard
data class RenderContext<RenderableType>(var paintStyle: LayerPaint, var elapsedTime: Duration = Duration.ZERO, var renderables: List<RenderableType> = listOf(), var zoomLevel: Double = 0.0) : LayerRenderContext<RenderableType>

Per-frame render state passed to a TileLayerRenderer: the paint style to render with, the renderables to draw, elapsed animation time, and the current zoom level.

Link copied to clipboard
Link copied to clipboard
open class TileLayer(var id: String, var source: TileSource<TileData>, var paint: LayerPaint, var tileLayerRenderer: TileLayerRenderer<TileData, LayerRenderContext<Any>>, var zoomOffset: Int, val externalScope: CoroutineScope, var quality: DataQuality = DataQuality.exact) : MapLayer<TileData, LayerRenderContext<Any>>

Represents a layer that renders data from a tile-based data source. This is the base class for all tile-based layers and is not intended to be used directly.

Link copied to clipboard
interface TileLayerConfig

Configuration shared by layers that render data from a tile-based data source.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open class VectorTileLayer(var id: String, var source: TileSource<TileData>, var paint: VectorLayerPaint, var tileLayerRenderer: TileLayerRenderer<TileData, LayerRenderContext<Any>>, var zoomOffset: Int, val externalScope: CoroutineScope) : TileLayer

VectorTileLayer.kt

Link copied to clipboard
interface Viewport

Properties

Link copied to clipboard
val MapLayer<*, *>.viewport: Viewport?