Package-level declarations

Types

Link copied to clipboard
abstract external class GridLayer<T : GridLayer.GridLayerOptions>(options: T = definedExternally) : Layer<T>

Generic class for handling a tiled grid of HTML elements. This is the base class for all tile layers and replaces Canvas.

Link copied to clipboard
open external class TileLayer<T : TileLayer.TileLayerOptions>(urlTemplate: String, options: T = definedExternally) : GridLayer<T>

Used to load and display tile layers on the map. Note that most tile servers require attribution, which you can set under TileLayerOptions.attribution.

Link copied to clipboard
open external class WMS(baseUrl: String, options: WMS.WMSOptions) : TileLayer<WMS.WMSOptions>

Used to display WMS services as tile layers on the map.