Package-level declarations

Composables and related utilities to add sources to the map.

Composables and related utilities to add sources to the map.

Composables and related utilities to add sources to the map.

Composables and related utilities to add sources to the map.

Composables and related utilities to add sources to the map.

Types

Link copied to clipboard
actual class ComputedSource : Source

A map data source of tiled vector data generated with some custom logic

expect class ComputedSource : Source

A map data source of tiled vector data generated with some custom logic

actual class ComputedSource : Source

A map data source of tiled vector data generated with some custom logic

actual class ComputedSource : Source

A map data source of tiled vector data generated with some custom logic

actual class ComputedSource : Source

A map data source of tiled vector data generated with some custom logic

Link copied to clipboard
data class ComputedSourceOptions(val minZoom: Int = SourceDefaults.MIN_ZOOM, val maxZoom: Int = SourceDefaults.MAX_ZOOM, val buffer: Int = 128, val tolerance: Float = 0.375f, val clip: Boolean = false, val wrap: Boolean = false)
Link copied to clipboard
sealed interface GeoJsonData
Link copied to clipboard
data class GeoJsonOptions(val minZoom: Int = SourceDefaults.MIN_ZOOM, val maxZoom: Int = SourceDefaults.MAX_ZOOM, val buffer: Int = 128, val tolerance: Float = 0.375f, val cluster: Boolean = false, val clusterRadius: Int = 50, val clusterMinPoints: Int = 2, val clusterMaxZoom: Int = maxZoom - 1, val clusterProperties: Map<String, GeoJsonOptions.ClusterPropertyAggregator<*>> = emptyMap(), val lineMetrics: Boolean = false, val synchronousUpdate: Boolean = false)
Link copied to clipboard
actual class GeoJsonSource : Source

A map data source consisting of geojson data.

expect class GeoJsonSource : Source

A map data source consisting of geojson data.

actual class GeoJsonSource : Source

A map data source consisting of geojson data.

actual class GeoJsonSource : Source

A map data source consisting of geojson data.

actual class GeoJsonSource : Source

A map data source consisting of geojson data.

Link copied to clipboard
actual class ImageSource : Source

A map data source of an image placed at a given position.

expect class ImageSource : Source

A map data source of an image placed at a given position.

actual class ImageSource : Source

A map data source of an image placed at a given position.

actual class ImageSource : Source

A map data source of an image placed at a given position.

actual class ImageSource : Source

A map data source of an image placed at a given position.

Link copied to clipboard
sealed class RasterDemEncoding

The encoding used by a Raster DEM source.

Link copied to clipboard
actual class RasterDemSource : Source

A map data source of DEM raster images.

expect class RasterDemSource : Source

A map data source of DEM raster images.

actual class RasterDemSource : Source

A map data source of DEM raster images.

actual class RasterDemSource : Source

A map data source of DEM raster images.

actual class RasterDemSource : Source

A map data source of DEM raster images.

Link copied to clipboard
actual class RasterSource : Source

A map data source of tiled map pictures.

expect class RasterSource : Source

A map data source of tiled map pictures.

actual class RasterSource : Source

A map data source of tiled map pictures.

actual class RasterSource : Source

A map data source of tiled map pictures.

actual class RasterSource : Source

A map data source of tiled map pictures.

Link copied to clipboard
actual sealed class Source

A data source for map data

expect sealed class Source

A data source for map data

actual sealed class Source

A data source for map data

actual sealed class Source

A data source for map data

actual sealed class Source

A data source for map data

Link copied to clipboard
Link copied to clipboard
data class TileSetOptions(val minZoom: Int = SourceDefaults.MIN_ZOOM, val maxZoom: Int = SourceDefaults.MAX_ZOOM, val tileCoordinateSystem: TileCoordinateSystem = TileCoordinateSystem.XYZ, val boundingBox: BoundingBox? = null, val attributionHtml: String? = null)
Link copied to clipboard
actual class UnknownSource : Source
expect class UnknownSource : Source
actual class UnknownSource : Source
actual class UnknownSource : Source
actual class UnknownSource : Source
Link copied to clipboard
actual class VectorSource : Source

A map data source of tiled vector data.

expect class VectorSource : Source

A map data source of tiled vector data.

actual class VectorSource : Source

A map data source of tiled vector data.

actual class VectorSource : Source

A map data source of tiled vector data.

actual class VectorSource : Source

A map data source of tiled vector data.

Functions

Link copied to clipboard

Get the source with the given id from the base style specified via the baseStyle parameter in MaplibreMap.

Link copied to clipboard
fun rememberComputedSource(options: ComputedSourceOptions = ComputedSourceOptions(), getFeatures: (bounds: BoundingBox, zoomLevel: Int) -> FeatureCollection<*, *>): ComputedSource

Remember a new ComputedSource with the given options from the given getFeatures function.

Link copied to clipboard

Remember a new GeoJsonSource with the given options from the given GeoJsonData.

Link copied to clipboard

Remember a new ImageSource from the given bitmap.

Remember a new ImageSource from the given uri.

Link copied to clipboard
fun rememberRasterDemSource(uri: String, tileSize: Int = SourceDefaults.RASTER_TILE_SIZE): RasterDemSource

Remember a new RasterDemSource with the given tileSize from the given uri.

fun rememberRasterDemSource(tiles: List<String>, options: TileSetOptions = TileSetOptions(), tileSize: Int = SourceDefaults.RASTER_TILE_SIZE, encoding: RasterDemEncoding = RasterDemEncoding.Mapbox): RasterDemSource
Link copied to clipboard
fun rememberRasterSource(uri: String, tileSize: Int = SourceDefaults.RASTER_TILE_SIZE): RasterSource

Remember a new RasterSource with the given tileSize from the given uri.

fun rememberRasterSource(tiles: List<String>, options: TileSetOptions = TileSetOptions(), tileSize: Int = SourceDefaults.RASTER_TILE_SIZE): RasterSource
Link copied to clipboard

Remember a new VectorSource from the given uri.

fun rememberVectorSource(tiles: List<String>, options: TileSetOptions = TileSetOptions()): VectorSource