<ScriptMapLibreMarker>
Adds a reactive MapLibre Marker. Supply a unique aria-label so its generated DOM element has a useful accessible name.
positionMapLibre.LngLatLike required ariaLabelstringtitlestringoptionsMapLibre.MarkerOptionsNest a <ScriptMapLibrePopup> in the default slot to bind it to the marker. Use options.draggable and the drag events for an editable marker.
Marker options with public setters update reactively, including class names, dragging, rotation and pitch alignment, offset, opacity, and subpixel positioning. MapLibre reads constructor-only options such as element, anchor, color, and scale when it creates the marker.
<ScriptMapLibreAttributionControl>
Moves or restyles the map's attribution. Use it to change the attribution position, force compact mode, or add your own credits.
<ScriptMapLibrePopup>
Renders slotted HTML in a MapLibre Popup. Nest it inside a marker, or pass position for a standalone popup. Use the reactive open prop to control visibility.