MapStore2
MapStore2 copied to clipboard
#8397: Fix - 3D mode remains enabled on other map
Description
This PR fixes map type changing to cesium even when query param doesn't contain cesium viewer options
Please check if the PR fulfills these requirements
- [x] The commit message follows our guidelines: https://github.com/geosolutions-it/MapStore2/blob/master/CONTRIBUTING.md
- [x] Tests for the changes have been added (for bug fixes / features)
- [ ] Docs have been added / updated (for bug fixes / features)
What kind of change does this PR introduce? (check one with "x", remove the others)
- [x] Bugfix
Issue
What is the current behavior? #8397
What is the new behavior? The map changes to cesium only when query param contains cesium viewer options (including embedded map and share url)
Breaking change
Does this PR introduce a breaking change? (check one with "x", remove the other)
- [ ] Yes, and I documented them in migration notes
- [x] No