You found a cool feature in a map (e.g. abandoned building in the desert) and you want to share it easily with a friend. You copy the URL and your friend sees the exact same thing as you.
Problem
Map state is ephemeral on each page load. There's currently no way to persist this state in a shareable way (besides written instructions, I suppose).
Solution
Make use of query params to set the map state. Important parameters to set:
Map ID (e.g. "1943-Bahrain"). Probably need to escape the name.
Coordinates (e.g. "40.1234,50.22222")
Zoom level (e.g. "15")
Note: The site should continue to work without parameters and null/not found values should default to reasonable settings.
Feature
You found a cool feature in a map (e.g. abandoned building in the desert) and you want to share it easily with a friend. You copy the URL and your friend sees the exact same thing as you.
Problem
Map state is ephemeral on each page load. There's currently no way to persist this state in a shareable way (besides written instructions, I suppose).
Solution
Make use of query params to set the map state. Important parameters to set:
Note: The site should continue to work without parameters and null/not found values should default to reasonable settings.