USGS-WiM / MRDATA

0 stars 0 forks source link

Switching between map and info page improvements #17

Open HansVraga opened 7 years ago

HansVraga commented 7 years ago

Is it possible to enable going "back to the map" remembering where you were? For example, can we start by clicking a site:

image

Then having "Back to Map"

image

Open the Map with that Pin still there? (for the user to reference "OK I was just there"

image

Ideally it would be exactly like the screenshots, but perhaps this could also be accomplished by passing in the lat/long of the page and just opening the map with that pin dropped and an arbitrary zoom level (like 20kms on the map scale).

HansVraga commented 7 years ago

(Question because I want to know @mitch-wim 's thoughts on feasibility and effort needed to do something like this)

HansVraga commented 7 years ago

Pass the extent in the URL when the user clicks on the "Scientific Data Near" link to open the Info page, and use this to navigate back from that page to the Map when the user clicks the "Back to Map" link.

HansVraga commented 7 years ago

Is it possible to save the user's extent? That way the map appears exactly as they left it when they navigate back. Or a zoom level would work too.