RasterTileSpec
data class RasterTileSpec(val tiles: List<String>, val tileSize: Int = DEFAULT_TILE_SIZE, val minZoom: Int = 0, val maxZoom: Int = DEFAULT_MAX_ZOOM, val attributionHtml: String? = null)(source)
Tile-scheme description for one raster source.
Renderer-neutral: both map engines can draw XYZ tiles, and each turns this into its own tile source — MapLibre into a raster source, the Google map into a UrlTileProvider. Placeholders are substituted by name rather than position, so an ArcGIS-style .../tile/{z}/{y}/{x} template works unchanged.
Constructors
Properties
Functions
Link copied to clipboard
Resolves the URL of a single tile from a RasterTileSpec.