Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
First pass at diary mapping #219
FWIW, I always wish I could drop in a slippy map by writing something like this
"OpenStreetMap flavored markdown"?
My intention is to add features that integrate the Diary more with OSM data and maps, make it more attractive to use. Right now there's not a lot of entries which use this construct, but there's not a lot of diary entries anyway, just under 19k. I've recently started using it more, and see good possibilities for constructive map socializing through the diary.
Like the map permalink example you gave @lxbarth, it works by simple cut-n-paste from node and way browse pages.
The obvious next step is to add a map marker for the lat/lng of the diary entry itself. Scanning the text for permalinks would be simple to add as well.
I've merged this into http://tomh.apis.dev.openstreetmap.org/ now, though it seems to have a few issues:
The map is clearly not positioned right, but that may be an interaction with @samanpwbb's work on the diary which is also on that branch.