leaflet-tactical-markers
Version:
Display DV102 Tactical Markers on a Leaflet Map
44 lines (32 loc) • 1.55 kB
Markdown
# Leaflet.TacticalMarkers
Display [DV102](https://lernplattform-babz-bund.de/goto.php?target=cat_109540&client_id=BBKILIAS)
Tactical Markers on a [Leaflet](https://leafletjs.com/) map.
This is based on the fantastic [taktische-zeichen-core](https://taktische-zeichen.dev/) libary.
## Demo
See [index.html](https://opengeomesh.codeberg.page/leaflet.tacticalmarkers/) for a minimal demo.
## Usage
```js
const tz_spec = {
grundzeichen: "person",
organisation: "feuerwehr",
funktion: "fuehrungskraft",
verwaltungsstufe: "kreis",
text: "KBI",
};
new TacticalMarker([51.52, -0.09], {tz: tz_spec})
.bindPopup(JSON.stringify(tz_spec))
.addTo(map);
```
See [https://taktische-zeichen.dev/](https://taktische-zeichen.dev/) for available options for tactical signs.
TacticalMarker inherits the [Marker options](https://leafletjs.com/reference.html#marker-option)
from Leaflet.
## Status
This is used to experiment with potential representations of tactical signs via the
exchange protocol [OpenGeoMesh](https://opengeomesh.org) for situation maps.
The goal is to find a consens between vendors of situation software to enable the seamless
exchange of situation maps between emergency services across different specialized situation
softwares.
> [!TIP]
> If you are part of an emergency organisation or developing software for situation maps,
start a discussion via a [Codeberg Issue](https://codeberg.org/OpenGeoMesh/OpenGeoMesh/issues)
or write an email to [info@opengeomesh.org](mailto:info@opengeomesh.org) to provide feedback!