Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the map URL parameters as you pan and zoom #2242

Closed
zarino opened this issue Sep 20, 2018 · 0 comments
Closed

Update the map URL parameters as you pan and zoom #2242

zarino opened this issue Sep 20, 2018 · 0 comments
Assignees

Comments

@zarino
Copy link
Member

zarino commented Sep 20, 2018

Is there a reason we don’t do this?

With the History API, we could fairly easily update the /around and /area/<slug> URL parameters when you pan and zoom around the map, without creating new browser History states.

This would let people copy the currently visible URL to share it, rather than them having to spot the expertly hidden "Permalink" button in the little black toolbar in the bottom right corner of the map.

This feature would be particularly useful on collideoscope.org.uk where one of the main use-cases of the area maps is campaigners sharing / linking to maps of incidents in a particular area.

dracos added a commit that referenced this issue Feb 4, 2019
dracos added a commit that referenced this issue Feb 4, 2019
@ghost ghost removed the Reviewed label Feb 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants