We can encode the current filter using base64-url and store it as a url parameter, then add a hook in componentDidMount() to load it from the url and update the store. The map state is automatically stored in the url too. URLs will be long, so we should only generate when needed - probably some kind of share button on the app bar. Could also use a link-shortening service.
We can encode the current filter using
base64-url
and store it as a url parameter, then add a hook incomponentDidMount()
to load it from the url and update the store. The map state is automatically stored in the url too. URLs will be long, so we should only generate when needed - probably some kind of share button on the app bar. Could also use a link-shortening service.