ProtectedautoProtecteddisposedThe object has already been disposed.
ProtectedelementProtectedidProtectedinsertProtectedmapProtectedoptionsProtectedrenderedProtectedstopProtectedapplyProtectedApply any properties from another object without triggering events.
The source object.
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.
Event object.
false if anyone called preventDefault on the
event object or if any of the listeners returned false.
ProtecteddisposeProtectedgetProtectedhandleProtectedhandleProtectedhandleProtectedhandleProtectedhandleProtectedonceProtectedonProtectedperformProtectedrenderSets a collection of key-value pairs. Note that this changes any existing properties and adds new ones (it does not remove any existing properties).
Values.
Optionalsilent: booleanUpdate without triggering an event.
ProtectedsetProtectedunProtectedupdateProtectedupdate
Classdesc
An element to be displayed over the map and attached to a single map location. Like module:ol/control/Control~Control, Overlays are visible widgets. Unlike Controls, they are not in a fixed position on the screen, but are tied to a geographical coordinate, so panning the map will move an Overlay but not a Control.
Example:
Api