Each example demonstrates one aspect of src/dumbymap.mjs.
Render maps from YAML code blocks using MapLibre, OpenLayers, and Leaflet backends.
Auto-detect plain-text coordinates and create clickable geo: links; manual anchor syntax; leader-line hover.
Link document fragments with leader lines; choose path styles (magnet, straight, grid, fluid).
Switch between Normal, Side-by-Side (draggable splitter), Overlay (floating blocks), and Sticky (floating panel) layouts.
Use 25+ predefined marker icons via the type URL parameter or context-menu picker.
Manage multiple maps on one page; focus/navigation shortcuts (Tab, N, P, X); target-specific GeoLinks.
Accept coordinates in projections other than WGS 84 via data-crs; copy coordinates from the map.
Select text, right-click, and search Nominatim; preview results with animated map flyover.
Hold-drag selected text onto a map to interactively create a GeoLink with a placed marker.
Use only generateMaps() on hand-written semantic HTML — no markdown2dumbyBlock() required.
Call only generateMaps() on plain HTML with no manual .dumby-block wrappers; blocks are auto-created from <h1>–<h3> heading boundaries.
Write plain Markdown directly in an HTML file with a single <script src="dumbymap.mjs"> — no boilerplate needed; auto-init detects the empty script body and initialises everything.
Imports src/dumbymap.mjs directly via an import map — no Rollup build required.