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 eventmodule:ol/events/Event~BaseEvent | string Event object.
Returns:
falseif anyone called preventDefault on the event object or if any of the listeners returned false.
-
Get the HTML image element for this tile (may be a Canvas, Image, or Video).
Returns:
Image.
-
Get the tile coordinate for this tile.
Returns:
The tile coordinate.
-
Load not yet loaded URI.
-
Sets the state of this tile. If you write your own
tileLoadFunction, it is important to set the state correctly tomodule:ol/TileState~ERRORwhen the tile cannot be loaded. Otherwise the tile cannot be removed from the tile queue and will block other requests.Name Type Description statemodule:ol/TileState State.
OpenLayers