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
type
property.Name Type Description event
Object | module:ol/events/Event~Event | string Event object.
Returns:
false
if anyone called preventDefault on the event object or if any of the listeners returned false.
-
setSize(size)
structs/LRUCache.js, line 286 -
Set a maximum number of entries for the cache.
Name Type Description size
number Cache size.