TileLayer()
constructor
Inherits from BaseLayer
The class responsible for adding tiles from a tile server on the map.
Options:
Events:
tile-load
A tile was loadedtiles-loaded
All tiles were loadedtile-error
A tile could not be loaded
Parameter | Type | Description |
---|---|---|
url | String | The URL to the tile server containing z, x, y coordinates |
options | Object | The tile options |