Api
<ScriptLeafletGeoJson>
Adds inline GeoJSON through L.geoJSON. Replacing data clears and repopulates the existing layer; changing options.style updates its path style.
Remote fetching is intentionally outside the component. Fetch and validate data with useFetch, then pass the resulting object to data so loading and failure states remain explicit.
<ScriptLeafletPopup>
Renders slotted HTML in an L.Popup. Nest it inside a marker, or pass position for a standalone popup. Use the reactive open prop to control visibility.
useScriptLeaflet
Use useScriptLeaflet() when you need direct access to the Leaflet namespace or are building your own map component.