projecthorus / sondehub-tracker

🎈 Frontend for SondeHub Radiosonde Tracking
https://v2.sondehub.org
MIT License
61 stars 26 forks source link

Save & restore map coordinates and zoom #343

Closed argilo closed 1 month ago

argilo commented 1 month ago

Between visits to sondehub-tracker, settings and map layer are preserved. But map coordinates, zoom level, and time period are not preserved, and default values are used instead. I think it would be useful to save & restore these additional values, so I've done so here.

argilo commented 1 month ago

After discussing with @darksidelemm I reverted the part that preserved the time period selection, to avoid increasing the server load and causing slow load times if users happen to save the 6h / 12h time period.