Leaflet Map Custom Widget
Features
- Click the map to add a new marker
- Drag existing marker to move
- Click existing marker to view details
- Connect your own events to trigger APIs or database queries from the map
Using the Leaflet CRS.Simple map type https://leafletjs.com/reference.html#crs-l-crs-simple
Here's the Friday Tech Workshop video of building this custom widget:
https://www.youtube.com/watch?v=inemaknCcKc