Include Cesium viewer settings - MapSettings plugin #8106
Labels
3D
All issues related to the 3D rendering in CesiumJs
Accepted
enhancement
Internal
New Feature
used for new functionalities
Priority: Medium
Milestone
Description
We should implement a plugin component called MapSettings that will be injected in the Settings plugins and should allow to configure some options related to the cesium map.
The expected options should be:
It would be nice also to include lighting options but this needs additional investigation because probably settings true/false is not enough (eg do we need to set also date time?). This options should be discussed before to develop it because we need to understand if it's feasible in this task or need a separate issue
Acceptance criteria
Other useful information
The Identify plugin has an example on how to inject a component inside the settings plugin (maybe we could avoid the array using fragments)
MapStore2/web/client/plugins/Identify.jsx
Lines 300 to 307 in 33bcede
exported map contains a
mapOptions
key already but we should investigate on how it behaves compared with the other static mapOptions configuration in localConfig.json (eg it has priority, it split map options by library type, ...)saveMapConfiguration is the function used to format the final saved map config
MapStore2/web/client/utils/MapUtils.js
Line 485 in 33bcede
The mapsave selector it could be useful to understand other function that compose the final saved map object
The text was updated successfully, but these errors were encountered: