Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Share options: Permalink, Embed as iframe #66
Out of curiosity, what does the permalink that you implemented do? I know what a permalink is for, but I click on it and nothing happens. Is it for mobile users?
Suggestion: a thing that could be included in the permalink feature is the
Of course, it does nothing, because it represents the current state of the application. I could open OpenStreetBrowser in a new windows though, that might be an improvement.
I thought the Permalink is for copying (right-click) and sharing ...
The lang parameter is a good idea.
Ideas that I had: an interactive permalink-configurator where every parameter is explained and you can choose if you want to include it or not.
I asked because it seemed it did nothing in comparison to, for instance, OpenRailwayMap: clicking on "permalink" will refresh the window and the address bar with the last state since the address bar doesn't update as I use/zoom/pan the map, a thing OpenStreetBrowser does seamlessly.
Alternatively to opening a new window, clicking on "Permalink" would copy the current state (lang, lat, lon, z, categories, map background) to clipboard and a small pop-up or tool-tip "Copied to clipboard!" would appear just to let the user know what happened. I think it's enough for both desktop and mobile users.