options to configure the provider
The id of the Provider
default tile margin.
The name of the Provider.
Add an EventListener to the provider. Valid events: "clear" and "error"
The detail property of the Event gives additional information about the event. detail.provider is a reference to the provider onto which the event was dispatched and is set for all events.
A string representing the event type to listen for
the listener function that will be called when an event of the specific type occurs
Clear all features in.
Set config for provider.
options to set
Create a new Tile.
the quadkey of the tile to create
Get a locally cached tile by quadkey.
the quadkey of the tile
get cached tile by bounding box.
array of coordinates in order: [minLon, minLat, maxLon, maxLat]
get tiles at specified tileMargin
array of {@link Tiles}
Remove an EventListener from the provider. Valid events: "clear" and "error"
A string which specifies the type of event for which to remove an event listener.
The listener function of the event handler to remove from the provider.
Set the tile margin in pixel.
the tileMargin
Generated using TypeDoc
The TileProvider is an abstract Provider that serves map-data partitioned in {@link Tiles}.