Canadian-Geospatial-Platform/geoview-demo

[BUG] If Json uploaded with Area of Interest in appBar,config file for area of interest "config file name"-aoi-panel.json not loaded

Opened this issue · 0 comments

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

must try to load aoi-panel.json from https://canadian-geospatial-platform.github.io/geoview/ and doesnt change directory

Aoi panel appears in the app bar panel if uploaded from a file and json file contains

"appBar": {
"tabs": {
"core": [
"aoi-panel"
]
}
}

Expected Behavior

load "config file name"-aoi-panel.json from directory that file is loaded from

Steps To Reproduce

Upload file containing aoi panel in appBar as below

"appBar": {
"tabs": {
"core": [
"aoi-panel"
]
}
}

Anything else?

No response