The content of the overlay that is currently rendered.
Current coordinates of the overlay on the map.
The coordinates on the map are configured via OverlayOptions.position or setPosition.
position.kind === "coordinate"), this is
the same as position.coordinate."follow-pointer" position, this is the result of the user's pointer movements.The HTML element that that wraps the overlay's content.
Indicates if the overlay instance has been destroyed.
Offset in pixels relative to the overlay`s coordinates.
The first element in the array is the horizontal offset.
The configured position of the overlay on the map.
See also currentCoordinate to get the coordinate that are the result of this configuration.
NOTE: The return value of the getter may not be the same as the input to the setter (or constructor) due to normalization.
Positioning of an overlay relative to its coordinates on the map.
Destroys the overlay and removes it from the map. An overlay that is destroyed cannot be added to the map again.
Set new content that is rendered on the overlay.
Set offset in pixels relative to the overlay`s coordinates on the map. The first element in the array is the horizontal offset.
Set the position of the overlay.
This controls the coordinates of the map.
The overlay is not rendered if the coordinates are undefined.
See also currentCoordinate to get the coordinates that are the result of this configuration.
Set positioning of an overlay relative to its coordinates on the map.
ReadonlyidUnique, readonly id of the overlay.
Automatically assigned when the overlay is created. Use the tag property for custom identifiers.
ReadonlyolRaw, corresponding OpenLayers overlay object.
warning Manipulation of the OpenLayers object can create inconsistencies that lead to errors. The OpenLayers API can change with updates of OpenLayers.
ReadonlytagOptional, readonly tag that helps identifying the overlay instance.
An overlay is an UI element that is displayed over the map.
Overlays are tied to coordinates on the map and not to a position on the screen. The overlay renders a react node at the specified coordinates.