Fires:
-
change(module:ol/events/Event~Event) - Generic change event. Triggered when the revision counter is increased.
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 eventObject | module:ol/events/Event~Event | string Event object.
Returns:
falseif anyone called preventDefault on the event object or if any of the listeners returned false.
-
Set a maximum number of entries for the cache.
Name Type Description sizenumber Cache size.