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

Save map curent view #2

Open
kumy opened this issue Mar 15, 2016 · 7 comments
Open

Save map curent view #2

kumy opened this issue Mar 15, 2016 · 7 comments

Comments

@kumy
Copy link
Member

kumy commented Mar 15, 2016

Reported by mail:

Current map view, center position, zoom level, layer, settings, be saved
in a cookie, such that when a user returns to this page, he/she shall be
presented with the same view as when they last left the page.

@kumy
Copy link
Member Author

kumy commented Mar 15, 2016

Taken from #3

Also settings such as layers and move age and status could also be saved
in the URL.

@andrixnet
Copy link

When map view is saved as such, the site should not ask for location, because restoring saved view and showing according to location are in contradiction.

@kumy
Copy link
Member Author

kumy commented Mar 16, 2016

@andrixnet fix published, may you please test again?

@andrixnet
Copy link

I have tried on Chrome, using a browser that I never used before to access geokretymap. (avoid caching issues).

Open geokretymap, allow location query, then move the map to another city.
close tab.
Open new tab, visit geokretymap URL (whithout the location information in URL).
I am taken to the location obtained via location query, however the zoom level seems to be the same as what was supposed to be the saved view.

@kumy
Copy link
Member Author

kumy commented Mar 16, 2016

Note, storing into cookies hasn't been implemented.
Obtained zoom in this case should be the default one...

@andrixnet
Copy link

You mean the default zoom when opening the map, but not obtaining location.

@andrixnet
Copy link

I have tested #3 as much as I can, however this refers to storing in cookies

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants