Implement the ConfigApi.validateMapConfig static method as shown on the implementation diagram. The current implementation is named createMapConfig and is doing more than expected.
Also implement theConfigApi.convertGeocoreToGeoview to convert one or a list of GeoCore layers to their GeoView equivalents.
Fixes #2255
Type of change
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
How Has This Been Tested?
Using Chrome Devtools to trace and debug using the deploy link below.
…reToGeoview
Description
Implement the ConfigApi.validateMapConfig static method as shown on the implementation diagram. The current implementation is named createMapConfig and is doing more than expected.
Also implement theConfigApi.convertGeocoreToGeoview to convert one or a list of GeoCore layers to their GeoView equivalents.
Fixes #2255
Type of change
How Has This Been Tested?
Using Chrome Devtools to trace and debug using the deploy link below.
Deploy URL: https://ychoquet.github.io/GeoView/config-sandbox.html
Checklist:
I have made corresponding changes to the documentationI have added tests that prove my fix is effective or that my feature worksNew and existing unit tests pass locally with my changesThis change is![Reviewable](https://reviewable.io/review_button.svg)