Canadian-Geospatial-Platform / geoview-demo

Demo Page For GeoView
GNU General Public License v3.0
0 stars 3 forks source link

[BUG] <title>Status of the configuration items list isn't always put up to date when a configuration file selected or file loaded #42

Open Pewillia opened 3 weeks ago

Pewillia commented 3 weeks ago

Is there an existing issue for this?

Current Behavior

Basic map with footer configuration file when loaded has items in the navigation bar that aren't selected in the navigation bar configuration list

Same occurred with a uploaded file, image below.

Expected Behavior

update list of configuration list according to config file selected or file loaded

Steps To Reproduce

No response

Anything else?

image

Pewillia commented 1 week ago

For the navbar ['zoom', "fullscreen", "home", "basemap-select"] dont have to be in the json file and automatically appear in the viewer and for the appBar.tabs.core the geolocator is automatically selected but is not in the json file.

Because they are not in the json file, they aren t selected in the map builder panel even though they appear on the map.

If anything is modified in the navbar, the selected fields will be written to the json file. Same for the fields of the appBar.tabs.core.