leaflet-sdxf
v0.1.0
Published
Display DV102 situation maps using SDXF on a Leaflet Map
Maintainers
Readme
Leaflet.SDXF
Display DV102 situation map in the Situation Data Exchange Format (SDXF) on a Leaflet map.
Demo
See index.html for a minimal demo.
Usage
import {situationMapJson} from "leaflet-sdxf";
let layer = L.geoJSON(
some_situation_map_geojson,
{
style: situationMapJson,
}
).bindPopup((layer) => {return layer?.feature?.properties?.name}).addTo(map);
// Layer can be converted back to GeoJSON
console.log(layer.toGeoJSON());[!TIP] If you are part of an emergency organisation or developing software for situation maps, start a discussion via a Codeberg Issue or write an email to [email protected] to provide feedback!
