WSWCWaterDataExchange / WestDAAT

Managing the code of the Western States Water Data Access and Analysis Tool (WestDAAT)
https://westdaat.westernstateswater.org/
BSD 3-Clause "New" or "Revised" License
5 stars 4 forks source link

Landing page URL sharing to replicate the map view #310

Closed amabdallah closed 1 year ago

amabdallah commented 1 year ago

I absolutely love the landing page enhancements and coloring of the POUs and PODs.

I see that the landing page URL is much cleaner to copy and paste. However, there are some cases where users want to replicate an exact view of the map, including a specific zoom level and map background. See the example below.

Can we keep the URL simple, but when the user clicks on the URL sharing button, they get a link that stores the map strings/variables to replicate its view?

Actually, this issue needs to be resolved as part of a re-design of the landing page layout. In a future proposed extension to WestDAAT, users (i.e., farmers) will be drawing boundaries on certain fields on the landing page map. So ideally, we need to let them "blow up" the map view to the entire screen so they have a better view of the area, especially if they're using a smaller laptop screen. Or possibly allow users to increase the width of the map where the metadata cards get rearranged automatically to fit below.

https://westdaat.westernstateswater.org/details/right/UTwr_WR92670

image

amabdallah commented 1 year ago

With the updated landing page layout, I think this problem has been mostly resolved without needing to add the zoom level in the URL