my-map Web Component

Easily embed a map powered by Leaflet.js — optionally with a GeoJSON feed. Uses Leaflet.a11y

A map showing London landmarks.

<my-map latlng="51.505,-0.09" zoom="13" geojson="./data/landmarks.geo.json" > <marker latlng="51.505, -0.09" hidden>Hello, I'm a popup!</marker> <p> Map description </p> </my-map>


NDF, 27-Nov-2021.