OptionalattributionAttribution information for data sources used by this layer.
Attributions are automatically displayed or hidden depending on whether the corresponding data is currently active or visible on the map — e.g., based on zoom level, layer visibility, or usage. This ensures that only active data providers are credited, as required by licensing.
Can be a simple string (displayed as static text), or an array of structured attribution entries that support clickable labels and optional tooltips.
OptionalmargintileMargin that should be applied to all providers of the layer.
Optionalmaxmaximum zoom level at which data from the TileLayer will be displayed.
OptionalmaxMaximum zoom level at which actual tile data is available from the data source.
When the map is zoomed beyond this level, the layer will load tiles at maxDataZoom
instead of the current viewport zoom level. This avoids unnecessary tile requests
for zoom levels where no data exists.
For example, if terrain data is only available up to zoom 15 but the map is at zoom 17, the display will request zoom-15 tiles and scale them up, while other layers (e.g., imagery) can still load tiles at zoom 17.
Same as TileLayerOptions.max — tiles are loaded up to the layer's maximum visibility zoom level.
Optionalminminimum zoom level at which data from the TileLayer will be displayed.
OptionalnameName of the TileLayer.
OptionalpointerDetermines whether pointer events are enabled for all features of the layer.
OptionalproviderThe data provider(s) for the TileLayer.
The provider can either be a single TileProvider or an array of {min: number, max: number, provider: TileProvider}, where "min" and "max" define the minimum and maximum zoom level at which data from the "provider" should be used. If a single provider is defined, it's data will be used for all zoom levels. If several providers are defined for a single zoom level, only the data of the first defined is used.
The maximum zoom level at which data from the TileProvider will be used.
The minimum zoom level at which data from the TileProvider will be used.
The Tile Provider for the respective zoom level.
Optional Internalprovidersoptions to configure the remote MVT datasource
Optionalmax?: numberThe maximum zoom level for loading map tiles
Optionalmin?: numberThe minimum zoom level for loading map tiles
OptionaltileSize?: numberdefines the size of the mvt tile data in pixel.
URL to the remote MVT endpoint.
It is either a string which may contain the following flags that will be replaced:
or a callback function that's called with the following parameters z,y,x,quadkey and needs to return the url for the respective tile. The callback function needs to handle custom parameters by its own.
OptionalstyleStyle for rendering features in this layer.
Optionaltilethe size of the tile data in pixel.
OptionalvisibleIndicates whether the layer should be visible (true) or hidden (false).
Options to configure a MVTLayer.