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

URLs for sharing #28

Open
jasonaowen opened this issue Sep 26, 2019 · 1 comment
Open

URLs for sharing #28

jasonaowen opened this issue Sep 26, 2019 · 1 comment

Comments

@jasonaowen
Copy link
Collaborator

It would be useful to be able to share a URL that specifies enough for someone to look at the same thing you're looking at. This might include a view (zoom level and center point), a selected city, or an individual. Making it obvious that a URL can be shared would probably start with updating the URL as the user manipulates the map, but might also include a small permalink in the footer or in the pop-up window.

Constructing good URLs is always a bit of a challenge, but to start off, here are some options, cribbed pretty directly from Google Maps:

  • View: /@45.5096832,-122.6519775,14z - latitude, longitude, and zoom level
  • Location: /place/Brooklyn,+NY
  • Individual: /person/Jason+Owen
@jaryncolbert
Copy link
Owner

Great idea, @jasonaowen!

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

2 participants