Description
Description
Use Case
Some map could contain layer only visible in a specific viewer, for example the 3D tiles layers that could be available only in a 3D scene (Cesium). In this specific case it would be nice to be able to save the map with the information related to the current map type in use to visualize the map in 3D at the next reload.
The switch mechanism between 2D/3D in the map viewer is related to the mapType path inside the viewer url and stored in the redux state. This information is not persisted in the map config.
- Find a solution to store this property in the map config. Should we store it as 2D/3D flag or be explicit with the map type in use (openlayers, leaflet, cesium)? In some case we switch the 2d library based on device
- [ ] Evaluate if it makes sense to deprecate the /viewer/:mapType/:mapId in favor of /viewer/:mapId where the mapType is managed only via config or internal state
- [ ] Review if query params needs some adjustment based on previous improvement. In particular if we need to be explicit with a map_type param or guess the map type based on the query content
What kind of improvement you want to add? (check one with "x", remove the others)
- Minor changes to existing features
Other useful information
see #8320 (review)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment