Tile Layer
open class TileLayer(var id: String, var source: TileSource<TileData>, var paint: PaintStyle, var tileLayerRenderer: TileLayerRenderer<TileData, LayerRenderContext<Any>>, zoomOffset: Int) : 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.
Inheritors
Constructors
Link copied to clipboard
constructor(id: String, source: TileSource<TileData>, paint: PaintStyle, tileLayerRenderer: TileLayerRenderer<TileData, LayerRenderContext<Any>>, zoomOffset: Int)
Properties
Functions
Link copied to clipboard
open override fun getVisibleTileCoords(latLonBounds: LatLonBounds, tileBounds: TileBounds, zoom: Double, wrap: Boolean): List<TileCoord>
Recieves LatLonBounds and zoom level
Link copied to clipboard
Link copied to clipboard
suspend fun requestVisibleTiles(bounds: LatLonBounds, force: Boolean = false, reload: Boolean = false)
Link copied to clipboard