Package-level declarations

Types

Link copied to clipboard
data class EncodingValue(val value: Value)

The encoding used by this source. Mapbox Terrain RGB is used by default Default value: "mapbox".

Link copied to clipboard

A GeoJSON data source.

Link copied to clipboard

An image data source.

Link copied to clipboard
Link copied to clipboard

A RGB-encoded raster DEM source

Link copied to clipboard

A raster tile source.

Link copied to clipboard
data class SchemeValue(val value: Value)

Influences the y direction of the tile coordinates. The global-mercator (aka Spherical Mercator) profile is assumed. Default value: "xyz".

Link copied to clipboard

A vector tile source.

Functions

Link copied to clipboard
inline fun rememberGeoJsonSourceState(key: String? = null, sourceId: String = remember { generateRandomSourceId("geojson") }, crossinline init: GeoJsonSourceState.() -> Unit = {}): GeoJsonSourceState

Create and rememberSaveable a GeoJsonSourceState using GeoJsonSourceState.Saver. init will be called when the GeoJsonSourceState is first created to configure its initial state.

Link copied to clipboard
inline fun rememberImageSourceState(key: String? = null, sourceId: String = remember { generateRandomSourceId("image") }, crossinline init: ImageSourceState.() -> Unit = {}): ImageSourceState

Create and rememberSaveable a ImageSourceState using ImageSourceState.Saver. init will be called when the ImageSourceState is first created to configure its initial state.

Link copied to clipboard
inline fun rememberRasterArraySourceState(key: String? = null, sourceId: String = remember { generateRandomSourceId("raster-array") }, crossinline init: RasterArraySourceState.() -> Unit = {}): RasterArraySourceState

Create and rememberSaveable a RasterArraySourceState using RasterArraySourceState.Saver. init will be called when the RasterArraySourceState is first created to configure its initial state.

Link copied to clipboard
inline fun rememberRasterDemSourceState(key: String? = null, sourceId: String = remember { generateRandomSourceId("raster-dem") }, crossinline init: RasterDemSourceState.() -> Unit = {}): RasterDemSourceState

Create and rememberSaveable a RasterDemSourceState using RasterDemSourceState.Saver. init will be called when the RasterDemSourceState is first created to configure its initial state.

Link copied to clipboard
inline fun rememberRasterSourceState(key: String? = null, sourceId: String = remember { generateRandomSourceId("raster") }, crossinline init: RasterSourceState.() -> Unit = {}): RasterSourceState

Create and rememberSaveable a RasterSourceState using RasterSourceState.Saver. init will be called when the RasterSourceState is first created to configure its initial state.

Link copied to clipboard
inline fun rememberVectorSourceState(key: String? = null, sourceId: String = remember { generateRandomSourceId("vector") }, crossinline init: VectorSourceState.() -> Unit = {}): VectorSourceState

Create and rememberSaveable a VectorSourceState using VectorSourceState.Saver. init will be called when the VectorSourceState is first created to configure its initial state.