TileLayerOptions

Properties

Link copied to clipboard
abstract var attribution: String?

String to be shown in the attribution control, e.g. "© OpenStreetMap contributors". It describes the layer data and is often a legal obligation towards copyright holders and tile providers.

Link copied to clipboard
abstract var bounds: LatLngBounds?
Link copied to clipboard
abstract var className: String?
Link copied to clipboard
abstract var crossOrigin: dynamic
Link copied to clipboard
abstract var detectRetina: Boolean?
Link copied to clipboard
abstract var errorTileUrl: String?
Link copied to clipboard
abstract var keepBuffer: Number?
Link copied to clipboard
abstract var maxNativeZoom: Number?

Maximum zoom number the tile source has available. If it is specified, the tiles on all zoom levels higher than maxNativeZoom will be loaded from maxNativeZoom level and auto-scaled.

Link copied to clipboard
abstract var maxZoom: Number?

The maximum zoom level up to which this layer will be displayed (inclusive).

Link copied to clipboard
abstract var minNativeZoom: Number?

Minimum zoom number the tile source has available. If it is specified, the tiles on all zoom levels lower than minNativeZoom will be loaded from minNativeZoom level and auto-scaled.

Link copied to clipboard
abstract var minZoom: Number?

The minimum zoom level down to which this layer will be displayed (inclusive).

Link copied to clipboard
abstract var noWrap: Boolean?
Link copied to clipboard
abstract var opacity: Number?
Link copied to clipboard
abstract var pane: String?

By default, the layer will be added to the map's overlay pane. Overriding this option will cause the layer to be placed on another pane by default.

Link copied to clipboard
abstract var referrerPolicy: dynamic
Link copied to clipboard
abstract var subdomains: dynamic

Subdomains of the tile service. Can be passed in the form of one string (where each letter is a subdomain name) or an array of strings.

Link copied to clipboard
abstract var tileSize: dynamic

Width and height of tiles in the grid. Use a number if width and height are equal, or Point(width, height) otherwise.

Link copied to clipboard
abstract var tms: Boolean?

If true, inverses Y axis numbering for tiles (turn this on for TMS services)

Link copied to clipboard
abstract var updateInterval: Number?
Link copied to clipboard
abstract var updateWhenIdle: Boolean?
Link copied to clipboard
abstract var updateWhenZooming: Boolean?
Link copied to clipboard
abstract var zIndex: Number?
Link copied to clipboard
abstract var zoomOffset: Number?
Link copied to clipboard
abstract var zoomReverse: Boolean?