gregrs-uk / python-fhrs-osm

Python tools and Leaflet maps for downloading, comparing and visualising Food Hygiene Rating Scheme (FHRS) and OpenStreetMap data
http://gregrs.dev.openstreetmap.org/fhrs/
GNU General Public License v3.0
8 stars 2 forks source link

Add edit map link to Leaflet maps #59

Closed gregrs-uk closed 3 years ago

gregrs-uk commented 5 years ago

Suggestion from Robert Whittaker @rjw62 via email:

I've found a useful leaflet plugin that I use on my tools: https://github.com/osmlab/leaflet-edit-osm that adds an "edit" button to the slippy maps. See e.g. https://osm.mathmos.net/postoffice/branch/97573 . I did hack the leaflet-edit-osm.js file slightly though to remove the &editor=id part so that it will use the mapper's default editor rather than forcing iD.

gregrs-uk commented 3 years ago

This is implemented in fhodot, which will soon replace the original FHRS/OSM comparison tool, through a Leaflet control