Map box api token.
Map style or map ID if the mode is set to MAP_ID.
Map tile access mode.
Image format.
If true uses high DPI mode.
Server API access token.
Map bounds.
Map center point.
Map image tile format, the formats available are:
Map identifier composed of {username}.{style}
Some examples of the public mapbox identifiers:
Maximum tile level.
Minimum tile level.
Map tile access mode
Name of the map provider
Map style to be used composed of {username}/{style_id}
Some example of the syles available:
Flag to indicate if should use high resolution tiles
Mapbox api version
Static
ADDRESSBase adress of the mapbox service.
Static
MAP_Access the map data using a map id.
Static
STYLEAccess the map data using a map style.
Get a tile for the x, y, zoom based on the provider configuration.
The tile should be returned as a image object, compatible with canvas context 2D drawImage() and with webgl texImage2D() method.
Promise with the image obtained for the tile ready to use.
Zoom level.
Tile x.
Tile y.
Generated using TypeDoc
Map box service tile provider. Map tiles can be fetched from style or from a map id.
API Reference