url-map
url-map copied to clipboard
Use URL parameters to generate a map with markers, using Leaflet and OpenStreetMap
Thanks for this great little script! I've added an additional feature that allows to provide a "special" marker. I use it to visualize the geographic middle point of a bunch...
A really simple GET form could provide a UI for configuring the map. Maybe put this at `/ui/` This would also serve as interactive documentation. Could also include some examples...
It would be great to be able to select a map style from a given URL parameter. Maybe from https://openmaptiles.org/styles/ ? Styles look to be defined by a JSON configuration...
It would be useful to have the ability to show markers in different colours, with visible labels, maybe even providing a URL to a custom marker too.