Canadian-Geospatial-Platform / geoview

Canadian Geospatial Platform Viewer / Visualiseur de la Plateforme Géospatiale Canadienne
Other
20 stars 31 forks source link

2255-Implement ConfigApi.validateMapConfig and ConfigApi.convertGeoco… #2265

Closed ychoquet closed 2 weeks ago

ychoquet commented 3 weeks ago

…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:


This change is Reviewable