The app currently retains marker state when navigating back from an item show page. (This is possible because browsers automatically save the state of the form.) Unfortunately the browser is unaware of the state of the map, i.e. the base layer's latitude/longitude and zoom level.
This can be done using some kind of persistent data storage, such as cookies or web storage, unless there's an easier way that eludes me.
This may be able to be done by manipulating the browser history, using history.pushState(). I'm not sure if this is compatible with mobile browsers.
The app currently retains marker state when navigating back from an item show page. (This is possible because browsers automatically save the state of the form.) Unfortunately the browser is unaware of the state of the map, i.e. the base layer's latitude/longitude and zoom level.
This can be done using some kind of persistent data storage, such as cookies or web storage, unless there's an easier way that eludes me.
This may be able to be done by manipulating the browser history, using
history.pushState(). I'm not sure if this is compatible with mobile browsers.