RasterTileSourceOptions | MapGL | 2GIS Documentation
MapGL JS API

RasterTileSourceOptions

RasterTileSource initialization options.

Properties

Data source attributes.

undefinedstring

Contains an attribution to be displayed when the map is shown to a user.

undefinednumber

The maximum zoom value for which source data exists.

undefinednumber

The minimum zoom value for which source data exists.

(x: number, y: number, zoom: number, bbox?: LngLatBounds) => string

Convert tile coordinates to URL.

@param @param @param @param Tile bounds in EPSG:3857 (Web Mercator) coordinates.