OlOverlay
OlOverlay(
props):Element
Defined in: src/ol-overlay-component.tsx:44
OpenLayers Overlay component for displaying HTML elements anchored to map coordinates. Useful for popups, tooltips, and custom markers.
Parameters
Section titled “Parameters”OlOverlayProps
All OpenLayers OverlayOptions plus React-specific props
Returns
Section titled “Returns”Element
Example
Section titled “Example”<OlMap> <OlOverlay position={[0, 0]} className="popup"> <div>Popup content</div> </OlOverlay></OlMap>