Extends
Methods
-
Dispatches an event and calls all listeners listening for events of this type. The event parameter can either be a string or an Object with a
typeproperty.Name Type Description eventBaseEvent | string Event object.
Returns:
falseif anyone called preventDefault on the event object or if any of the listeners returned false.
-
Get the features for this tile. Geometries will be in the view projection.
Returns:
Features.
-
Get the feature format assigned for reading this tile's features.
Returns:
Feature format.
-
Get the tile coordinate for this tile.
Returns:
The tile coordinate.
-
Function for use in a
VectorTile'stileLoadFunction. Sets the features for the tile.Name Type Description featuresArray.<FeatureType> Features.
-
Set the feature loader for reading this tile's features.
Name Type Description loaderFeatureLoader<FeatureType> Feature loader.
-
Sets the state of this tile. If you write your own
tileLoadFunction, it is important to set the state correctly toERRORwhen the tile cannot be loaded. Otherwise the tile cannot be removed from the tile queue and will block other requests.Name Type Description stateol/TileState State.