From 74cfe23ab0410777a7bd9f617c6cbb66e0c378ac Mon Sep 17 00:00:00 2001 From: Johann Levesque Date: Fri, 29 May 2026 11:27:24 -0400 Subject: [PATCH 1/9] rafactor(demo): Add a new configMEta to schema and refactor demo site to better handle testing --- docs/app/config/README.md | 2 +- docs/app/config/configuration-reference.md | 2 +- .../configs/OSDP/datasets/OSDP-metadata.meta | 100 ++++--- .../navigator/demos/23-initial-settings.json | 154 ++++++++++ .../configs/navigator/layers/all-layers.json | 136 +++++++-- .../navigator/layers/esri-dynamic-errors.json | 12 +- .../layers/esri-dynamic-projections.json | 4 + .../navigator/layers/esri-dynamic.json | 20 +- .../navigator/layers/esri-feature-errors.json | 23 +- .../navigator/layers/esri-feature.json | 23 +- .../configs/navigator/layers/esri-image.json | 5 +- .../layers/geocore-custom-inline-config.json | 4 + .../navigator/layers/geocore-custom.json | 4 + .../navigator/layers/geocore-duplicates.json | 4 + .../navigator/layers/geojson-errors.json | 6 +- .../configs/navigator/layers/geojson.json | 3 +- .../configs/navigator/layers/geopackages.json | 7 +- .../layers/ogc-feature-api-errors.json | 6 +- .../navigator/layers/ogc-feature-api.json | 3 +- .../configs/navigator/layers/shapefile.json | 7 +- .../configs/navigator/layers/vector-tile.json | 6 +- .../configs/navigator/layers/wfs-errors.json | 6 +- .../public/configs/navigator/layers/wfs.json | 5 +- .../configs/navigator/layers/wms-cdtk.json | 5 - .../public/configs/navigator/layers/wms.json | 65 +--- .../navigator/layers/xyz-tile-errors.json | 6 +- .../configs/navigator/layers/xyz-tile.json | 3 +- .../datasets/geojson/metadata-blank.meta | 4 +- .../public/datasets/geojson/metadata.json | 4 +- .../public/datasets/geojson/metadata.meta | 4 +- .../public/datasets/geojson/metadata1.meta | 282 +++++++++--------- ...ta_genericBlank_featureInfo5_20250217.meta | 4 +- .../templates/outliers/outlier-metadata.html | 29 ++ .../public/templates/sandbox.html | 21 +- .../geoview-core/schema-default-config.json | 4 +- packages/geoview-core/schema.json | 40 ++- .../geoview-core/src/api/config/config-api.ts | 4 +- .../src/api/config/map-feature-config.ts | 11 +- .../src/api/types/map-schema-types.ts | 21 +- .../src/core/controllers/map-controller.ts | 4 +- .../src/core/stores/states/map-state.ts | 7 +- 41 files changed, 617 insertions(+), 443 deletions(-) diff --git a/docs/app/config/README.md b/docs/app/config/README.md index 62884c99763..5712c6d062c 100644 --- a/docs/app/config/README.md +++ b/docs/app/config/README.md @@ -97,7 +97,7 @@ Config ├── externalPackages[] ├── serviceUrls ├── globalSettings -└── schemaVersionUsed +└── configMeta ``` ## 🔗 Related Documentation diff --git a/docs/app/config/configuration-reference.md b/docs/app/config/configuration-reference.md index eae6e53a64d..ed797f09993 100644 --- a/docs/app/config/configuration-reference.md +++ b/docs/app/config/configuration-reference.md @@ -111,7 +111,7 @@ interface TypeMapFeaturesInstance { externalPackages?: TypeExternalPackages; serviceUrls?: TypeServiceUrls; globalSettings?: TypeGlobalSettings; - schemaVersionUsed?: TypeValidVersions; + configMeta?: TypeConfigMeta; } ``` diff --git a/packages/geoview-core/public/configs/OSDP/datasets/OSDP-metadata.meta b/packages/geoview-core/public/configs/OSDP/datasets/OSDP-metadata.meta index c99dbd63471..a34e6345bd1 100644 --- a/packages/geoview-core/public/configs/OSDP/datasets/OSDP-metadata.meta +++ b/packages/geoview-core/public/configs/OSDP/datasets/OSDP-metadata.meta @@ -1,49 +1,51 @@ -{ - "schemaVersionUsed": "1,0", - "copyrightText": "© His Majesty the King in Right of Canada, as represented by the Minister of Natural Resources", - "listOfLayerEntryConfig": [ - { - "layerId": "BC-MPI-1-2521_fr.json", - "layerName": "BC-MPI-1-2521_fr - Metadata", - "source": { - "featureInfo": { - "queryable": true, - "nameField": "Titre", - "outfields": [ - { - "name": "Titre", - "alias": "Titre", - "type": "string", - "domain": [] - } - ] - } - }, - "layerStyle": { - "Polygon": { - "type": "simple", - "fields": [], - "hasDefault": false, - "info": [ - { - "visible": true, - "label": "Polygon label", - "values": [], - "settings": { - "type": "filledPolygon", - "color": "rgba(0,0,255,0.5)", - "patternSize": 10, - "patternWidth": 2, - "fillStyle": "diagonalCross", - "stroke": { - "color": "rgba(128,0,0,1)", - "lineStyle": "dot" - } - } - } - ] - } - } - } - ] -} +{ + "configMeta": { + "version": "1.0" + }, + "copyrightText": "© His Majesty the King in Right of Canada, as represented by the Minister of Natural Resources", + "listOfLayerEntryConfig": [ + { + "layerId": "BC-MPI-1-2521_fr.json", + "layerName": "BC-MPI-1-2521_fr - Metadata", + "source": { + "featureInfo": { + "queryable": true, + "nameField": "Titre", + "outfields": [ + { + "name": "Titre", + "alias": "Titre", + "type": "string", + "domain": [] + } + ] + } + }, + "layerStyle": { + "Polygon": { + "type": "simple", + "fields": [], + "hasDefault": false, + "info": [ + { + "visible": true, + "label": "Polygon label", + "values": [], + "settings": { + "type": "filledPolygon", + "color": "rgba(0,0,255,0.5)", + "patternSize": 10, + "patternWidth": 2, + "fillStyle": "diagonalCross", + "stroke": { + "color": "rgba(128,0,0,1)", + "lineStyle": "dot" + } + } + } + ] + } + } + } + ] +} diff --git a/packages/geoview-core/public/configs/navigator/demos/23-initial-settings.json b/packages/geoview-core/public/configs/navigator/demos/23-initial-settings.json index 6fcb850f8d0..b5c5a3645b6 100644 --- a/packages/geoview-core/public/configs/navigator/demos/23-initial-settings.json +++ b/packages/geoview-core/public/configs/navigator/demos/23-initial-settings.json @@ -10,6 +10,160 @@ "labeled": true }, "listOfGeoviewLayerConfig": [ + { + "geoviewLayerId": "historical-flood", + "geoviewLayerName": "Historical Flood Events (HFE)", + "metadataAccessPath": "https://maps-cartes.services.geo.ca/server_serveur/rest/services/NRCan/historical_flood_event_en/MapServer", + "geoviewLayerType": "esriDynamic", + "listOfLayerEntryConfig": [ + { + "layerId": "0", + "initialSettings": { + "controls": { + "query": true, + "hover": true + }, + "states": { + "queryable": false, + "hoverable": false, + "opacity": 0.5 + } + } + } + ] + }, + { + "geoviewLayerId": "ESRIImageLYR1", + "geoviewLayerName": "Dry Spell", + "geoviewLayerType": "esriImage", + "metadataAccessPath": "https://agriculture.canada.ca/imagery-images/rest/services/agclimate/dry_spell/ImageServer", + "listOfLayerEntryConfig": [ + { + "layerId": "dry_spell", + "source": { + "rasterFunction": "ds_30" + } + } + ] + }, + { + "geoviewLayerId": "ogcFeatureLYR1", + "geoviewLayerName": "Large Lakes", + "metadataAccessPath": "https://b6ryuvakk5.execute-api.us-east-1.amazonaws.com/dev", + "geoviewLayerType": "ogcFeature", + "listOfLayerEntryConfig": [ + { + "layerId": "lakes", + "layerFilter": "name in ('Lake Victoria', 'Lake Superior', 'L. Erie', 'L. Ontario')" + } + ] + }, + { + "geoviewLayerId": "wfsLYR1", + "geoviewLayerName": "US States", + "metadataAccessPath": "https://ahocevar.com/geoserver/wfs", + "geoviewLayerType": "ogcWfs", + "listOfLayerEntryConfig": [ + { + "layerId": "usa:states", + "layerFilter": "STATE_ABBR = 'NY'" + } + ] + }, + { + "geoviewLayerId": "LYR15-qgis", + "geoviewLayerName": "Cities Experimental", + "metadataAccessPath": "https://demo.mapserver.org/cgi-bin/wfs", + "geoviewLayerType": "ogcWfs", + "listOfLayerEntryConfig": [ + { + "layerId": "ms:cities", + "layerFilter": "POPULATION >= 250000", + "wmsLayerId": "cities", + "source": { + "featureInfo": { + "nameField": "NAME" + } + } + } + ] + }, + { + "geoviewLayerId": "wmsLYR1-Root", + "geoviewLayerName": "Weather Group", + "metadataAccessPath": "https://geo.weather.gc.ca/geomet", + "geoviewLayerType": "ogcWms", + "listOfLayerEntryConfig": [ + { + "entryType": "group", + "layerId": "wmsLYR1-Group", + "layerName": "Group", + "listOfLayerEntryConfig": [ + { + "layerId": "CURRENT_CONDITIONS" + }, + { + "layerId": "GDPS.ETA_ICEC", + "layerName": "Ice Cover", + "source": { + "wmsStyle": "SEA_ICECONC" + } + } + ] + } + ] + }, + { + "geoviewLayerId": "wmsLYR1-msi", + "geoviewLayerName": "MSI", + "metadataAccessPath": "https://datacube.services.geo.ca/ows/msi", + "geoviewLayerType": "ogcWms", + "listOfLayerEntryConfig": [ + { + "layerId": "msi-94-or-more", + "layerName": "Permanent Snow", + "source": { + "wmsStyle": "msi-binary", + "featureInfo": { + "queryable": true, + "nameField": "band-0-pixel-value", + "outfields": [ + { + "name": "band-0-pixel-value", + "alias": "Pixel value", + "type": "number", + "domain": null + } + ] + } + } + } + ] + }, + { + "geoviewLayerId": "FeatureServerLyr2", + "metadataAccessPath": "https://services.arcgis.com/V6ZHFr6zdgNZuVG0/ArcGIS/rest/services/U2/FeatureServer/", + "geoviewLayerType": "esriFeature", + "listOfLayerEntryConfig": [ + { + "layerId": "0", + "layerName": "U2 Tour Locations", + "source": { + "featureInfo": { + "queryable": true, + "nameField": "Tour", + "outfields": [ + { "name": "Venue", "alias": "Venue Set", "type": "string", "domain": null }, + { "name": "Event", "alias": "Event Set", "type": "string", "domain": null }, + { "name": "Tour", "alias": "Tour Set", "type": "string", "domain": null }, + { "name": "City", "alias": "City Set", "type": "string", "domain": null }, + { "name": "Date", "alias": "Date Set", "type": "date", "domain": null } + ] + } + } + } + ] + }, { "geoviewLayerId": "geojsonLYR1", "geoviewLayerName": "Root Settings Layer", diff --git a/packages/geoview-core/public/configs/navigator/layers/all-layers.json b/packages/geoview-core/public/configs/navigator/layers/all-layers.json index 3e5899dc55f..c3d0d2d2d0c 100644 --- a/packages/geoview-core/public/configs/navigator/layers/all-layers.json +++ b/packages/geoview-core/public/configs/navigator/layers/all-layers.json @@ -16,18 +16,18 @@ }, { "geoviewLayerId": "geojsonLYR1", - "geoviewLayerName": "GeoJSON Sample", + "geoviewLayerName": "GeoJSON Sample - GeoJSON", "metadataAccessPath": "./datasets/geojson/metadata.meta", "geoviewLayerType": "GeoJSON", "serviceDateFormat": "DD/MM/YYYYTHH:mm:ss", "listOfLayerEntryConfig": [ { "layerId": "polygons.json", - "layerName": "Polygons" + "layerName": "Polygons - GeoJSON" }, { "layerId": "lines.json", - "layerName": "Lines" + "layerName": "Lines - GeoJSON" }, { "entryType": "group", @@ -36,12 +36,11 @@ "listOfLayerEntryConfig": [ { "layerId": "icon_points.json", - "layerName": "Icons", - "initialSettings": { "states": { "visible": false } } + "layerName": "Icons - GeoJSON" }, { "layerId": "points.json", - "layerName": "Points" + "layerName": "Points - GeoJSON" } ] } @@ -49,12 +48,12 @@ }, { "geoviewLayerId": "csvLYR1", - "geoviewLayerName": "NPRI", + "geoviewLayerName": "NPRI - CSV", "geoviewLayerType": "CSV", "listOfLayerEntryConfig": [ { "layerId": "NPRI-INRP_WaterEau_MediaGroupMilieu_2022", - "layerName": "NPRI Water Media Group 2022", + "layerName": "NPRI Water Media Group 2022 - CSV", "source": { "dataAccessPath": "./datasets/csv-files/NPRI-INRP_WaterEau_MediaGroupMilieu_2022.csv", "separator": "," @@ -63,8 +62,20 @@ ] }, { - "geoviewLayerId": "historical-flood", - "geoviewLayerName": "Historical Flood Events (HFE)", + "geoviewLayerId": "esriDynamicLYR1", + "geoviewLayerName": "Forest Industry - esriDynamic", + "metadataAccessPath": "https://geoappext.nrcan.gc.ca/arcgis/rest/services/FGP/TE/MapServer", + "geoviewLayerType": "esriDynamic", + "listOfLayerEntryConfig": [ + { + "layerId": "1", + "layerName": "Annotation 1867 - esriDynamic" + } + ] + }, + { + "geoviewLayerId": "historical-flood-feature", + "geoviewLayerName": "Historical Flood Events (HFE) - esriFeature", "metadataAccessPath": "https://maps-cartes.services.geo.ca/server_serveur/rest/services/NRCan/historical_flood_event_en/MapServer", "geoviewLayerType": "esriFeature", "listOfLayerEntryConfig": [ @@ -72,10 +83,21 @@ "layerId": "0" } ] + }, + { + "geoviewLayerId": "historical-flood-dynamic", + "geoviewLayerName": "Historical Flood Events (HFE) - esriDynamic", + "metadataAccessPath": "https://maps-cartes.services.geo.ca/server_serveur/rest/services/NRCan/historical_flood_event_en/MapServer", + "geoviewLayerType": "esriDynamic", + "listOfLayerEntryConfig": [ + { + "layerId": "0" + } + ] }, { "geoviewLayerId": "ESRIImageLYR3", - "geoviewLayerName": "Heat Wave", + "geoviewLayerName": "Heat Wave - esriImage", "geoviewLayerType": "esriImage", "metadataAccessPath": "https://agriculture.canada.ca/imagery-images/rest/services/agclimate/heat_wave/ImageServer", "listOfLayerEntryConfig": [ @@ -85,25 +107,27 @@ ] }, { - "geoviewLayerId": "wfsLYR2", - "geoviewLayerName": "Current Conditions", - "metadataAccessPath": "https://geo.weather.gc.ca/geomet?REQUEST=GetCapabilities&VERSION=2.0.0&SERVICE=WFS", - "geoviewLayerType": "ogcWfs", + "geoviewLayerId": "geotiffLYR1", + "geoviewLayerName": "Montreal True Color - GeoTIFF", + "geoviewLayerType": "GeoTIFF", + "metadataAccessPath": "https://sentinel-cogs.s3.us-west-2.amazonaws.com/sentinel-s2-l2a-cogs/18/T/YR/2020/7/S2A_18TYR_20200706_0_L2A/", "listOfLayerEntryConfig": [ { - "layerId": "ec-msc:CURRENT_CONDITIONS", - "layerName": "Current Conditions" + "layerId": "TCI", + "source": { + "dataAccessPath": "https://sentinel-cogs.s3.us-west-2.amazonaws.com/sentinel-s2-l2a-cogs/18/T/YR/2020/7/S2A_18TYR_20200706_0_L2A/TCI.tif" + } } ] }, { "geoviewLayerId": "staticLYR10", - "geoviewLayerName": "Static Image", + "geoviewLayerName": "Static Image - imageStatic", "geoviewLayerType": "imageStatic", "listOfLayerEntryConfig": [ { "layerId": "napl-ring-of-fire-1954", - "layerName": "Static Image", + "layerName": "Static Image - imageStatic", "source": { "dataAccessPath": "https://datacube-prod-data-public.s3.ca-central-1.amazonaws.com/store/imagery/aerial/napl/napl-ring-of-fire/napl-ring-of-fire-1954-08-07-60k-thumbnail.png", "extent": [-87.77486341686723, 51.62285357468582, -84.57727128084842, 53.833354975551075], @@ -112,9 +136,22 @@ } ] }, + { + "geoviewLayerId": "kmlLYR1", + "geoviewLayerName": "Canadian Tornado Database - KML", + "geoviewLayerType": "KML", + "listOfLayerEntryConfig": [ + { + "layerId": "CanadianNationalTornadoDatabase_1980-2009", + "source": { + "dataAccessPath": "./datasets/kml-files/CanadianNationalTornadoDatabase_1980-2009.kml" + } + } + ] + }, { "geoviewLayerId": "ogcFeatureLYR1", - "geoviewLayerName": "Large Lakes", + "geoviewLayerName": "Large Lakes - ogcFeature", "metadataAccessPath": "https://b6ryuvakk5.execute-api.us-east-1.amazonaws.com/dev", "geoviewLayerType": "ogcFeature", "listOfLayerEntryConfig": [ @@ -123,15 +160,27 @@ } ] }, + { + "geoviewLayerId": "wfsLYR2", + "geoviewLayerName": "Current Conditions - ogcWfs", + "metadataAccessPath": "https://geo.weather.gc.ca/geomet?REQUEST=GetCapabilities&VERSION=2.0.0&SERVICE=WFS", + "geoviewLayerType": "ogcWfs", + "listOfLayerEntryConfig": [ + { + "layerId": "ec-msc:CURRENT_CONDITIONS", + "layerName": "Current Conditions - ogcWfs" + } + ] + }, { "geoviewLayerId": "wmsLYR1-msi", - "geoviewLayerName": "MSI", + "geoviewLayerName": "MSI - ogcWms", "metadataAccessPath": "https://datacube.services.geo.ca/ows/msi", "geoviewLayerType": "ogcWms", "listOfLayerEntryConfig": [ { "layerId": "msi-94-or-more", - "layerName": "Permanent Snow", + "layerName": "Permanent Snow - ogcWms", "source": { "wmsStyle": "msi-binary", "featureInfo": { @@ -151,29 +200,50 @@ ] }, { - "geoviewLayerId": "xyzTilesLYR1", - "geoviewLayerName": "World_Topo_Map", - "metadataAccessPath": "https://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/", - "geoviewLayerType": "xyzTiles", + "geoviewLayerId": "wmtsLYR1", + "geoviewLayerName": "Shaded Basemap - ogcWmts", + "geoviewLayerType": "ogcWmts", + "metadataAccessPath": "https://maps-cartes.services.geo.ca/server2_serveur2/rest/services/BaseMaps/CBME_CBCE_HS_RO_3978/MapServer/WMTS/1.0.0/WMTSCapabilities.xml", "listOfLayerEntryConfig": [ { - "layerId": "0", - "layerName": "World Topo Map", - "initialSettings": { "minZoom": 3, "maxZoom": 8 } + "layerId": "BaseMaps_CBME_CBCE_HS_RO_3978", + "tileMatrixSet": "default028mm" } ] }, { "geoviewLayerId": "vectorTilesLYR1", - "geoviewLayerName": "new basemap", + "geoviewLayerName": "Basemap French Style - vectorTiles", "geoviewLayerType": "vectorTiles", "metadataAccessPath": "https://tiles.arcgis.com/tiles/HsjBaDykC1mjhXz9/arcgis/rest/services/CBMT_CBCT_3978_V_OSM/VectorTileServer/", "listOfLayerEntryConfig": [ { "layerId": "CBMT_CBCT_3978_V_OSM", - "layerName": "Vector Tile basemap - French Style", - "styleUrl": "https://nrcan-rncan.maps.arcgis.com/sharing/rest/content/items/88ad9e2ef6e040a19472985e6606a2f9/resources/styles/root.json", - "initialSettings": { "minZoom": 3, "maxZoom": 18 } + "layerName": "Vector Tile basemap - vectorTiles", + "styleUrl": "https://nrcan-rncan.maps.arcgis.com/sharing/rest/content/items/88ad9e2ef6e040a19472985e6606a2f9/resources/styles/root.json" + } + ] + }, + { + "geoviewLayerId": "wkbLYR1", + "geoviewLayerName": "South Africa - WKB", + "geoviewLayerType": "WKB", + "metadataAccessPath": "0103000000010000000500000054E3A59BC4602540643BDF4F8D1739C05C8FC2F5284C4140EC51B81E852B34C0D578E926316843406F1283C0CAD141C01B2FDD2406012B40A4703D0AD79343C054E3A59BC4602540643BDF4F8D1739C0", + "listOfLayerEntryConfig": [ + { + "layerId": "1" + } + ] + }, + { + "geoviewLayerId": "xyzTilesLYR1", + "geoviewLayerName": "World Topo Map - xyzTiles", + "metadataAccessPath": "https://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/", + "geoviewLayerType": "xyzTiles", + "listOfLayerEntryConfig": [ + { + "layerId": "0", + "layerName": "World Topo Map - xyzTiles" } ] } diff --git a/packages/geoview-core/public/configs/navigator/layers/esri-dynamic-errors.json b/packages/geoview-core/public/configs/navigator/layers/esri-dynamic-errors.json index 3763bed669c..1301a2868e0 100644 --- a/packages/geoview-core/public/configs/navigator/layers/esri-dynamic-errors.json +++ b/packages/geoview-core/public/configs/navigator/layers/esri-dynamic-errors.json @@ -28,17 +28,7 @@ "geoviewLayerType": "esriDynamic", "listOfLayerEntryConfig": [ { - "layerId": "ERROR", - "initialSettings": { - "controls": { - "query": true, - "hover": true - }, - "states": { - "queryable": false, - "hoverable": false - } - } + "layerId": "ERROR" } ] } diff --git a/packages/geoview-core/public/configs/navigator/layers/esri-dynamic-projections.json b/packages/geoview-core/public/configs/navigator/layers/esri-dynamic-projections.json index 4da61b2d621..01beb1b4379 100644 --- a/packages/geoview-core/public/configs/navigator/layers/esri-dynamic-projections.json +++ b/packages/geoview-core/public/configs/navigator/layers/esri-dynamic-projections.json @@ -1,4 +1,8 @@ { + "configMeta": { + "version": "1.0", + "description": "Tests the forceServiceProjection flag to compare performance and rendering between OpenLayers reproject-on-the-fly and server-side reprojection." + }, "map": { "interaction": "dynamic", "viewSettings": { diff --git a/packages/geoview-core/public/configs/navigator/layers/esri-dynamic.json b/packages/geoview-core/public/configs/navigator/layers/esri-dynamic.json index 91b0a395986..c64c7ff295f 100644 --- a/packages/geoview-core/public/configs/navigator/layers/esri-dynamic.json +++ b/packages/geoview-core/public/configs/navigator/layers/esri-dynamic.json @@ -28,18 +28,7 @@ "geoviewLayerType": "esriDynamic", "listOfLayerEntryConfig": [ { - "layerId": "0", - "initialSettings": { - "controls": { - "query": true, - "hover": true - }, - "states": { - "queryable": false, - "hoverable": false, - "opacity": 0.5 - } - } + "layerId": "0" } ] }, @@ -51,12 +40,7 @@ "listOfLayerEntryConfig": [ { "layerId": "4", - "layerName": "Test", - "initialSettings": { - "states": { - "legendCollapsed": false - } - } + "layerName": "Test" }, { "layerId": "1", diff --git a/packages/geoview-core/public/configs/navigator/layers/esri-feature-errors.json b/packages/geoview-core/public/configs/navigator/layers/esri-feature-errors.json index 11303b028e2..1eb2367e16d 100644 --- a/packages/geoview-core/public/configs/navigator/layers/esri-feature-errors.json +++ b/packages/geoview-core/public/configs/navigator/layers/esri-feature-errors.json @@ -17,13 +17,7 @@ "listOfLayerEntryConfig": [ { "layerId": "0", - "layerName": "Error metadata", - "source": { - "featureInfo": { - "queryable": true, - "nameField": "AREA_NA7" - } - } + "layerName": "Error metadata" } ] }, @@ -34,20 +28,7 @@ "listOfLayerEntryConfig": [ { "layerId": "ERROR", - "layerName": "Error layerId", - "source": { - "featureInfo": { - "queryable": true, - "nameField": "Venue", - "outfields": [ - { "name": "Venue", "alias": "Venue", "type": "string", "domain": null }, - { "name": "Event", "alias": "Event", "type": "string", "domain": null }, - { "name": "Tour", "alias": "Tour", "type": "string", "domain": null }, - { "name": "City", "alias": "City", "type": "string", "domain": null }, - { "name": "Date", "alias": "Date", "type": "date", "domain": null } - ] - } - } + "layerName": "Error layerId" } ] }, diff --git a/packages/geoview-core/public/configs/navigator/layers/esri-feature.json b/packages/geoview-core/public/configs/navigator/layers/esri-feature.json index 042edff5dfc..0c513ade655 100644 --- a/packages/geoview-core/public/configs/navigator/layers/esri-feature.json +++ b/packages/geoview-core/public/configs/navigator/layers/esri-feature.json @@ -17,13 +17,7 @@ "listOfLayerEntryConfig": [ { "layerId": "0", - "layerName": "Toronto Neighbourhoods", - "source": { - "featureInfo": { - "queryable": true, - "nameField": "AREA_NA7" - } - } + "layerName": "Toronto Neighbourhoods" } ] }, @@ -34,20 +28,7 @@ "listOfLayerEntryConfig": [ { "layerId": "0", - "layerName": "U2 Tour Locations", - "source": { - "featureInfo": { - "queryable": true, - "nameField": "Venue", - "outfields": [ - { "name": "Venue", "alias": "Venue", "type": "string", "domain": null }, - { "name": "Event", "alias": "Event", "type": "string", "domain": null }, - { "name": "Tour", "alias": "Tour", "type": "string", "domain": null }, - { "name": "City", "alias": "City", "type": "string", "domain": null }, - { "name": "Date", "alias": "Date", "type": "date", "domain": null } - ] - } - } + "layerName": "U2 Tour Locations" } ] }, diff --git a/packages/geoview-core/public/configs/navigator/layers/esri-image.json b/packages/geoview-core/public/configs/navigator/layers/esri-image.json index ae0ce95c464..65949faac46 100644 --- a/packages/geoview-core/public/configs/navigator/layers/esri-image.json +++ b/packages/geoview-core/public/configs/navigator/layers/esri-image.json @@ -17,10 +17,7 @@ "metadataAccessPath": "https://agriculture.canada.ca/imagery-images/rest/services/agclimate/dry_spell/ImageServer", "listOfLayerEntryConfig": [ { - "layerId": "dry_spell", - "source": { - "rasterFunction": "ds_gs" - } + "layerId": "dry_spell" } ] }, diff --git a/packages/geoview-core/public/configs/navigator/layers/geocore-custom-inline-config.json b/packages/geoview-core/public/configs/navigator/layers/geocore-custom-inline-config.json index 01a33aca0b2..9f3a544a079 100644 --- a/packages/geoview-core/public/configs/navigator/layers/geocore-custom-inline-config.json +++ b/packages/geoview-core/public/configs/navigator/layers/geocore-custom-inline-config.json @@ -1,4 +1,8 @@ { + "configMeta": { + "version": "1.0", + "description": "Tests geocore with custom inline config to override the layerIds shown by the default UUID, set specific initialSettings states and controls, and apply custom styles." + }, "map": { "interaction": "dynamic", "viewSettings": { diff --git a/packages/geoview-core/public/configs/navigator/layers/geocore-custom.json b/packages/geoview-core/public/configs/navigator/layers/geocore-custom.json index f621db6b640..c2a7b70d2f0 100644 --- a/packages/geoview-core/public/configs/navigator/layers/geocore-custom.json +++ b/packages/geoview-core/public/configs/navigator/layers/geocore-custom.json @@ -1,4 +1,8 @@ { + "configMeta": { + "version": "1.0", + "description": "Similar to the inline custom config test, but the custom overrides are fetched from geocore VCS instead of being defined inline." + }, "map": { "interaction": "dynamic", "viewSettings": { diff --git a/packages/geoview-core/public/configs/navigator/layers/geocore-duplicates.json b/packages/geoview-core/public/configs/navigator/layers/geocore-duplicates.json index dc8291a9bb6..b16bda23186 100644 --- a/packages/geoview-core/public/configs/navigator/layers/geocore-duplicates.json +++ b/packages/geoview-core/public/configs/navigator/layers/geocore-duplicates.json @@ -1,4 +1,8 @@ { + "configMeta": { + "version": "1.0", + "description": "Tests using the same geocore UUID multiple times with different custom settings on each instance. Also tests the swiper package with duplicate geocore UUIDs." + }, "map": { "interaction": "dynamic", "viewSettings": { diff --git a/packages/geoview-core/public/configs/navigator/layers/geojson-errors.json b/packages/geoview-core/public/configs/navigator/layers/geojson-errors.json index 00542edae00..9e0e066291e 100644 --- a/packages/geoview-core/public/configs/navigator/layers/geojson-errors.json +++ b/packages/geoview-core/public/configs/navigator/layers/geojson-errors.json @@ -31,8 +31,7 @@ "listOfLayerEntryConfig": [ { "layerId": "icon_points.json", - "layerName": "Icons", - "initialSettings": { "states": { "visible": false } } + "layerName": "Icons" }, { "layerId": "points.json", @@ -79,8 +78,7 @@ "listOfLayerEntryConfig": [ { "layerId": "icon_points.json", - "layerName": "Icons", - "initialSettings": { "states": { "visible": false } } + "layerName": "Icons" }, { "layerId": "points.json", diff --git a/packages/geoview-core/public/configs/navigator/layers/geojson.json b/packages/geoview-core/public/configs/navigator/layers/geojson.json index 8c8ae047715..7ce3f941f05 100644 --- a/packages/geoview-core/public/configs/navigator/layers/geojson.json +++ b/packages/geoview-core/public/configs/navigator/layers/geojson.json @@ -32,8 +32,7 @@ "listOfLayerEntryConfig": [ { "layerId": "icon_points.json", - "layerName": "Icons", - "initialSettings": { "states": { "visible": false } } + "layerName": "Icons" }, { "layerId": "points.json", diff --git a/packages/geoview-core/public/configs/navigator/layers/geopackages.json b/packages/geoview-core/public/configs/navigator/layers/geopackages.json index eff197df6d6..d120d48a57c 100644 --- a/packages/geoview-core/public/configs/navigator/layers/geopackages.json +++ b/packages/geoview-core/public/configs/navigator/layers/geopackages.json @@ -58,12 +58,7 @@ "layerId": "Lakes" }, { - "layerId": "Countries", - "initialSettings": { - "states": { - "visible": false - } - } + "layerId": "Countries" } ], "source": { diff --git a/packages/geoview-core/public/configs/navigator/layers/ogc-feature-api-errors.json b/packages/geoview-core/public/configs/navigator/layers/ogc-feature-api-errors.json index 6b3afdc2eff..d4e51b75018 100644 --- a/packages/geoview-core/public/configs/navigator/layers/ogc-feature-api-errors.json +++ b/packages/geoview-core/public/configs/navigator/layers/ogc-feature-api-errors.json @@ -18,8 +18,7 @@ "geoviewLayerType": "ogcFeature", "listOfLayerEntryConfig": [ { - "layerId": "lakes", - "layerFilter": "name in ('Lake Victoria', 'Lake Superior', 'L. Erie', 'L. Ontario')" + "layerId": "lakes" } ] }, @@ -30,8 +29,7 @@ "geoviewLayerType": "ogcFeature", "listOfLayerEntryConfig": [ { - "layerId": "lakes", - "layerFilter": "name in ('Lake Victoria', 'Lake Superior', 'L. Erie', 'L. Ontario')" + "layerId": "lakes" }, { "layerId": "lakesERROR" diff --git a/packages/geoview-core/public/configs/navigator/layers/ogc-feature-api.json b/packages/geoview-core/public/configs/navigator/layers/ogc-feature-api.json index 7d71f9cf89a..1ea06a6d354 100644 --- a/packages/geoview-core/public/configs/navigator/layers/ogc-feature-api.json +++ b/packages/geoview-core/public/configs/navigator/layers/ogc-feature-api.json @@ -18,8 +18,7 @@ "geoviewLayerType": "ogcFeature", "listOfLayerEntryConfig": [ { - "layerId": "lakes", - "layerFilter": "name in ('Lake Victoria', 'Lake Superior', 'L. Erie', 'L. Ontario')" + "layerId": "lakes" } ] } diff --git a/packages/geoview-core/public/configs/navigator/layers/shapefile.json b/packages/geoview-core/public/configs/navigator/layers/shapefile.json index de446fb28a8..b4592d5eb8c 100644 --- a/packages/geoview-core/public/configs/navigator/layers/shapefile.json +++ b/packages/geoview-core/public/configs/navigator/layers/shapefile.json @@ -23,12 +23,7 @@ "metadataAccessPath": "./datasets/shapefiles/DIG_2012_0028.zip", "listOfLayerEntryConfig": [ { - "layerId": "sunchild_aquifer_py_tm", - "initialSettings": { - "states": { - "visible": false - } - } + "layerId": "sunchild_aquifer_py_tm" } ] }, diff --git a/packages/geoview-core/public/configs/navigator/layers/vector-tile.json b/packages/geoview-core/public/configs/navigator/layers/vector-tile.json index 1ad9b58eeaa..96b853766bd 100644 --- a/packages/geoview-core/public/configs/navigator/layers/vector-tile.json +++ b/packages/geoview-core/public/configs/navigator/layers/vector-tile.json @@ -18,8 +18,7 @@ "listOfLayerEntryConfig": [ { "layerId": "CBMT_CBCT_3978_V_OSM", - "styleUrl": "https://nrcan-rncan.maps.arcgis.com/sharing/rest/content/items/88ad9e2ef6e040a19472985e6606a2f9/resources/styles/root.json", - "initialSettings": { "minZoom": 3, "maxZoom": 18 } + "styleUrl": "https://nrcan-rncan.maps.arcgis.com/sharing/rest/content/items/88ad9e2ef6e040a19472985e6606a2f9/resources/styles/root.json" } ] }, @@ -31,8 +30,7 @@ "listOfLayerEntryConfig": [ { "layerId": "CBMT_CBCT_3978_V_OSM", - "styleUrl": "https://nrcan-rncan.maps.arcgis.com/sharing/rest/content/items/708e92c1f00941e3af3dd3c092ae4a0a/resources/styles/root.json", - "initialSettings": { "minZoom": 3, "maxZoom": 18 } + "styleUrl": "https://nrcan-rncan.maps.arcgis.com/sharing/rest/content/items/708e92c1f00941e3af3dd3c092ae4a0a/resources/styles/root.json" } ] } diff --git a/packages/geoview-core/public/configs/navigator/layers/wfs-errors.json b/packages/geoview-core/public/configs/navigator/layers/wfs-errors.json index 2ead24b405a..4bdacab838a 100644 --- a/packages/geoview-core/public/configs/navigator/layers/wfs-errors.json +++ b/packages/geoview-core/public/configs/navigator/layers/wfs-errors.json @@ -19,8 +19,7 @@ "listOfLayerEntryConfig": [ { "layerId": "usa:states", - "layerName": "US States", - "layerFilter": "STATE_ABBR = 'NY'" + "layerName": "US States" } ] }, @@ -32,8 +31,7 @@ "listOfLayerEntryConfig": [ { "layerId": "usa:statesERROR", - "layerName": "US States", - "layerFilter": "STATE_ABBR = 'NY'" + "layerName": "US States" } ] } diff --git a/packages/geoview-core/public/configs/navigator/layers/wfs.json b/packages/geoview-core/public/configs/navigator/layers/wfs.json index 41ced15ef3e..3fd67a1d8e4 100644 --- a/packages/geoview-core/public/configs/navigator/layers/wfs.json +++ b/packages/geoview-core/public/configs/navigator/layers/wfs.json @@ -18,8 +18,7 @@ "geoviewLayerType": "ogcWfs", "listOfLayerEntryConfig": [ { - "layerId": "usa:states", - "layerFilter": "STATE_ABBR = 'NY'" + "layerId": "usa:states" } ] }, @@ -66,7 +65,6 @@ "listOfLayerEntryConfig": [ { "layerId": "ms:cities", - "layerFilter": "POPULATION >= 250000", "source": { "featureInfo": { "nameField": "NAME" @@ -83,7 +81,6 @@ "listOfLayerEntryConfig": [ { "layerId": "ms:cities", - "layerFilter": "POPULATION >= 250000", "wmsLayerId": "cities", "source": { "featureInfo": { diff --git a/packages/geoview-core/public/configs/navigator/layers/wms-cdtk.json b/packages/geoview-core/public/configs/navigator/layers/wms-cdtk.json index f4f405793c9..debf70f13b0 100644 --- a/packages/geoview-core/public/configs/navigator/layers/wms-cdtk.json +++ b/packages/geoview-core/public/configs/navigator/layers/wms-cdtk.json @@ -45,11 +45,6 @@ "listOfLayerEntryConfig": [ { "layerId": "completed", - "initialSettings": { - "states": { - "visible": false - } - }, "layerStyle": { "Point": { "type": "uniqueValue", diff --git a/packages/geoview-core/public/configs/navigator/layers/wms.json b/packages/geoview-core/public/configs/navigator/layers/wms.json index 5fe3f491fb5..9fe71d2366a 100644 --- a/packages/geoview-core/public/configs/navigator/layers/wms.json +++ b/packages/geoview-core/public/configs/navigator/layers/wms.json @@ -20,7 +20,6 @@ { "layerId": "cities", "wfsLayerId": "ms:cities", - "layerFilter": "POPULATION >= 250000", "source": { "featureInfo": { "nameField": "NAME" @@ -101,10 +100,7 @@ }, { "layerId": "GDPS.ETA_ICEC", - "layerName": "Ice Cover", - "source": { - "wmsStyle": "SEA_ICECONC" - } + "layerName": "Ice Cover" } ] } @@ -118,22 +114,7 @@ "listOfLayerEntryConfig": [ { "layerId": "msi-94-or-more", - "layerName": "Permanent Snow", - "source": { - "wmsStyle": "msi-binary", - "featureInfo": { - "queryable": true, - "nameField": "band-0-pixel-value", - "outfields": [ - { - "name": "band-0-pixel-value", - "alias": "Pixel value", - "type": "number", - "domain": null - } - ] - } - } + "layerName": "Permanent Snow" } ] }, @@ -145,10 +126,7 @@ "listOfLayerEntryConfig": [ { "layerId": "RADAR_1KM_RSNO", - "layerName": "Test Spatiotemporel", - "source": { - "wmsStyle": "Radar-Snow_14colors" - } + "layerName": "Test Spatiotemporel" } ] }, @@ -190,36 +168,6 @@ } ] }, - { - "geoviewLayerId": "nfi-group-with-slash", - "geoviewLayerName": "Nfi Plot Test Slash", - "metadataAccessPath": "https://nfi.nfis.org/mapserver/cgi-bin/nfi_plot_summaries_en.cgi?service=WMS", - "geoviewLayerType": "ogcWms", - "listOfLayerEntryConfig": [ - { - "layerId": "photo/plot/with/slash", - "layerName": "Photo/Plot/Group", - "entryType": "group", - "listOfLayerEntryConfig": [ - { - "layerId": "ca_nfiphotoplot_lc_a_en" - }, - { - "layerId": "ca_nfiphotoplot_lu_a_en" - }, - { - "layerId": "ca_nfiphotoplot_ow_a_en" - }, - { - "layerId": "ca_nfiphotoplot_ps_a_en" - } - ] - }, - { - "layerId": "ca_nfigroundplot_cartographic_a" - } - ] - }, { "geoviewLayerId": "ows-mundialis", "geoviewLayerName": "OWS Mundialis", @@ -227,12 +175,7 @@ "geoviewLayerType": "ogcWms", "listOfLayerEntryConfig": [ { - "layerId": "Dark", - "initialSettings": { - "states": { - "visible": false - } - } + "layerId": "Dark" } ] }, diff --git a/packages/geoview-core/public/configs/navigator/layers/xyz-tile-errors.json b/packages/geoview-core/public/configs/navigator/layers/xyz-tile-errors.json index 163f38481fb..de4c4d8a26f 100644 --- a/packages/geoview-core/public/configs/navigator/layers/xyz-tile-errors.json +++ b/packages/geoview-core/public/configs/navigator/layers/xyz-tile-errors.json @@ -18,11 +18,7 @@ "listOfLayerEntryConfig": [ { "layerId": "0", - "layerName": "World Topo Map", - "initialSettings": { - "minZoom": 3, - "maxZoom": 8 - } + "layerName": "World Topo Map" } ] }, diff --git a/packages/geoview-core/public/configs/navigator/layers/xyz-tile.json b/packages/geoview-core/public/configs/navigator/layers/xyz-tile.json index a009bd39d9d..b65d9f5987b 100644 --- a/packages/geoview-core/public/configs/navigator/layers/xyz-tile.json +++ b/packages/geoview-core/public/configs/navigator/layers/xyz-tile.json @@ -18,8 +18,7 @@ "listOfLayerEntryConfig": [ { "layerId": "0", - "layerName": "World Topo Map", - "initialSettings": { "minZoom": 3, "maxZoom": 8 } + "layerName": "World Topo Map" } ] }, diff --git a/packages/geoview-core/public/datasets/geojson/metadata-blank.meta b/packages/geoview-core/public/datasets/geojson/metadata-blank.meta index bc72ad2b767..e80792b50e5 100644 --- a/packages/geoview-core/public/datasets/geojson/metadata-blank.meta +++ b/packages/geoview-core/public/datasets/geojson/metadata-blank.meta @@ -1,5 +1,7 @@ { - "schemaVersionUsed": "1,0", + "configMeta": { + "version": "1.0" + }, "copyrightText": "© His Majesty the King in Right of Canada, as represented by the Minister of Natural Resources", "listOfLayerEntryConfig": [ { diff --git a/packages/geoview-core/public/datasets/geojson/metadata.json b/packages/geoview-core/public/datasets/geojson/metadata.json index ab2a8a25909..3e82d7d9dc3 100644 --- a/packages/geoview-core/public/datasets/geojson/metadata.json +++ b/packages/geoview-core/public/datasets/geojson/metadata.json @@ -1,5 +1,7 @@ { - "schemaVersionUsed": "1,0", + "configMeta": { + "version": "1.0" + }, "copyrightText": "© His Majesty the King in Right of Canada, as represented by the Minister of Natural Resources", "listOfLayerEntryConfig": [ { diff --git a/packages/geoview-core/public/datasets/geojson/metadata.meta b/packages/geoview-core/public/datasets/geojson/metadata.meta index 3898d4d727b..ddb19f4f596 100644 --- a/packages/geoview-core/public/datasets/geojson/metadata.meta +++ b/packages/geoview-core/public/datasets/geojson/metadata.meta @@ -1,5 +1,7 @@ { - "schemaVersionUsed": "1,0", + "configMeta": { + "version": "1.0" + }, "copyrightText": "© His Majesty the King in Right of Canada, as represented by the Minister of Natural Resources", "listOfLayerEntryConfig": [ { diff --git a/packages/geoview-core/public/datasets/geojson/metadata1.meta b/packages/geoview-core/public/datasets/geojson/metadata1.meta index 9b054d2f6a4..81522238831 100644 --- a/packages/geoview-core/public/datasets/geojson/metadata1.meta +++ b/packages/geoview-core/public/datasets/geojson/metadata1.meta @@ -1,140 +1,142 @@ -{ - "schemaVersionUsed": "1,0", - "copyrightText": "© His Majesty the King in Right of Canada, as represented by the Minister of Natural Resources", - "listOfLayerEntryConfig": [ - { - "layerId": "projects.json", - "layerName": "Projects", - "source": { - "featureInfo": { - "queryable": true, - "nameField": "Project", - "outfields": [ - { "name": "program", "alias": "Program", "type": "string", "domain": null }, - { "name": "project_id", "alias": "Project ID", "type": "string", "domain": null }, - { "name": "geom_type", "alias": "Geometry type", "type": "string", "domain": null }, - { "name": "geom_area", "alias": "Geometry area", "type": "string", "domain": null }, - { "name": "SRID", "alias": "SRID", "type": "string", "domain": null } - ] - } - }, - "layerStyle": { - "Point": { - "type": "uniqueValue", - "fields": ["program"], - "hasDefault": true, - "info": [ - { - "label": "EGP", - "visible": true, - "settings": { - "type": "simpleSymbol", - "color": "rgba(0,255,0,0.10)", - "symbol": "circle" - }, - "values": ["EGP"] - }, - { - "label": "TGI", - "visible": true, - "settings": { - "type": "simpleSymbol", - "color": "rgba(0,128,128,0.10)", - "symbol": "star" - }, - "values": ["TGI"] - }, - { - "label": "Other point projects", - "visible": true, - "settings": { - "type": "simpleSymbol", - "color": "rgba(0,0,255,0.10)", - "symbol": "X" - }, - "values": ["TGI"] - } - ] - }, - "Polygon": { - "type": "uniqueValue", - "hasDefault": true, - "fields": ["program"], - "info": [ - { - "label": "EGP", - "settings": { - "type": "filledPolygon", - "color": "rgba(255,0,0,0.10)", - "patternSize": 10, - "patternWidth": 2, - "fillStyle": "diagonalCross", - "stroke": { - "color": "rgba(255,0,0,1)", - "lineStyle": "dot" - } - }, - "values": ["EGP"], - "visible": true - }, - { - "label": "TGI", - "settings": { - "type": "filledPolygon", - "color": "rgba(0,128,128,0.10)", - "patternSize": 10, - "patternWidth": 2, - "fillStyle": "diagonalCross", - "stroke": { - "color": "rgba(0,128,128,1)", - "lineStyle": "dot" - } - }, - "values": ["TGI"], - "visible": true - }, - { - "label": "GGN", - "settings": { - "type": "filledPolygon", - "color": "rgba(255,0,255,0.10)", - "patternSize": 10, - "patternWidth": 2, - "fillStyle": "diagonalCross", - "stroke": { - "color": "rgba(255,0,255,1)", - "lineStyle": "dot" - } - }, - "values": ["GGN"], - "visible": true - }, - { - "label": "Other projects", - "settings": { - "type": "filledPolygon", - "color": "rgba(0,0,255,0.10)", - "patternSize": 10, - "patternWidth": 2, - "fillStyle": "diagonalCross", - "stroke": { - "color": "rgba(0,0,255,1)", - "lineStyle": "dot" - } - }, - "values": [], - "visible": true - } - ] - } - }, - "layerText": { - "field": "project_id", - "haloColor": "#ffffff", - "haloWidth": 3, - "wrap": true, - "declutterMode": "declutter" - } - } - ] -} +{ + "configMeta": { + "version": "1.0" + }, + "copyrightText": "© His Majesty the King in Right of Canada, as represented by the Minister of Natural Resources", + "listOfLayerEntryConfig": [ + { + "layerId": "projects.json", + "layerName": "Projects", + "source": { + "featureInfo": { + "queryable": true, + "nameField": "Project", + "outfields": [ + { "name": "program", "alias": "Program", "type": "string", "domain": null }, + { "name": "project_id", "alias": "Project ID", "type": "string", "domain": null }, + { "name": "geom_type", "alias": "Geometry type", "type": "string", "domain": null }, + { "name": "geom_area", "alias": "Geometry area", "type": "string", "domain": null }, + { "name": "SRID", "alias": "SRID", "type": "string", "domain": null } + ] + } + }, + "layerStyle": { + "Point": { + "type": "uniqueValue", + "fields": ["program"], + "hasDefault": true, + "info": [ + { + "label": "EGP", + "visible": true, + "settings": { + "type": "simpleSymbol", + "color": "rgba(0,255,0,0.10)", + "symbol": "circle" + }, + "values": ["EGP"] + }, + { + "label": "TGI", + "visible": true, + "settings": { + "type": "simpleSymbol", + "color": "rgba(0,128,128,0.10)", + "symbol": "star" + }, + "values": ["TGI"] + }, + { + "label": "Other point projects", + "visible": true, + "settings": { + "type": "simpleSymbol", + "color": "rgba(0,0,255,0.10)", + "symbol": "X" + }, + "values": ["TGI"] + } + ] + }, + "Polygon": { + "type": "uniqueValue", + "hasDefault": true, + "fields": ["program"], + "info": [ + { + "label": "EGP", + "settings": { + "type": "filledPolygon", + "color": "rgba(255,0,0,0.10)", + "patternSize": 10, + "patternWidth": 2, + "fillStyle": "diagonalCross", + "stroke": { + "color": "rgba(255,0,0,1)", + "lineStyle": "dot" + } + }, + "values": ["EGP"], + "visible": true + }, + { + "label": "TGI", + "settings": { + "type": "filledPolygon", + "color": "rgba(0,128,128,0.10)", + "patternSize": 10, + "patternWidth": 2, + "fillStyle": "diagonalCross", + "stroke": { + "color": "rgba(0,128,128,1)", + "lineStyle": "dot" + } + }, + "values": ["TGI"], + "visible": true + }, + { + "label": "GGN", + "settings": { + "type": "filledPolygon", + "color": "rgba(255,0,255,0.10)", + "patternSize": 10, + "patternWidth": 2, + "fillStyle": "diagonalCross", + "stroke": { + "color": "rgba(255,0,255,1)", + "lineStyle": "dot" + } + }, + "values": ["GGN"], + "visible": true + }, + { + "label": "Other projects", + "settings": { + "type": "filledPolygon", + "color": "rgba(0,0,255,0.10)", + "patternSize": 10, + "patternWidth": 2, + "fillStyle": "diagonalCross", + "stroke": { + "color": "rgba(0,0,255,1)", + "lineStyle": "dot" + } + }, + "values": [], + "visible": true + } + ] + } + }, + "layerText": { + "field": "project_id", + "haloColor": "#ffffff", + "haloWidth": 3, + "wrap": true, + "declutterMode": "declutter" + } + } + ] +} diff --git a/packages/geoview-core/public/datasets/geojson/metadata_genericBlank_featureInfo5_20250217.meta b/packages/geoview-core/public/datasets/geojson/metadata_genericBlank_featureInfo5_20250217.meta index b1f8513ce89..04750ed53a3 100644 --- a/packages/geoview-core/public/datasets/geojson/metadata_genericBlank_featureInfo5_20250217.meta +++ b/packages/geoview-core/public/datasets/geojson/metadata_genericBlank_featureInfo5_20250217.meta @@ -1,5 +1,7 @@ { - "schemaVersionUsed": "1,0", + "configMeta": { + "version": "1.0" + }, "copyrightText": "© His Majesty the King in Right of Canada, as represented by the Minister of Natural Resources", "listOfLayerEntryConfig": [ { diff --git a/packages/geoview-core/public/templates/outliers/outlier-metadata.html b/packages/geoview-core/public/templates/outliers/outlier-metadata.html index bd1ed6876a5..a0e8f11978b 100644 --- a/packages/geoview-core/public/templates/outliers/outlier-metadata.html +++ b/packages/geoview-core/public/templates/outliers/outlier-metadata.html @@ -150,6 +150,32 @@

1. Metadata Issue Layers

] } } + 'geoviewLayerId': 'nfi-group-with-slash', + 'geoviewLayerName': 'Nfi Plot Test Slash', + 'metadataAccessPath': 'https://nfi.nfis.org/mapserver/cgi-bin/nfi_plot_summaries_en.cgi?service=WMS', + 'geoviewLayerType': 'ogcWms', + 'listOfLayerEntryConfig': [ + { + 'layerId': 'photo/plot/with/slash', + 'layerName': 'Photo/Plot/Group', + 'entryType': 'group', + 'listOfLayerEntryConfig': [ + { + 'layerId': 'ca_nfiphotoplot_lc_a_en' + }, + { + 'layerId': 'ca_nfiphotoplot_lu_a_en' + }, + { + 'layerId': 'ca_nfiphotoplot_ow_a_en' + }, + { + 'layerId': 'ca_nfiphotoplot_ps_a_en' + } + ] + }, + { + 'layerId': 'ca_nfigroundplot_cartographic_a' } ] } @@ -181,6 +207,9 @@

Outlier Layers:

  • Boundaries - layers projection and extent projection from metadata are different for three layers (Block Land Transfer, Municipal Boundary, and Watershed Boundaries)
  • +
  • + Nfi Plot Test Slash - WMS layer with slashes in layerId path, testing group entries with slash-separated IDs +
  • diff --git a/packages/geoview-core/public/templates/sandbox.html b/packages/geoview-core/public/templates/sandbox.html index 421bb02507e..19f01726f40 100644 --- a/packages/geoview-core/public/templates/sandbox.html +++ b/packages/geoview-core/public/templates/sandbox.html @@ -938,13 +938,16 @@
    Available Options:
    -

    schemaVersionUsed string optional (TypeValidVersions)

    -

    The schema version used to validate the configuration file.

    -

    Valid values:

    +

    configMeta object optional (TypeConfigMeta)

    +

    Metadata about the configuration file, including version, description, author, and date.

    -

    Default: '1.0'

    @@ -962,7 +965,9 @@
    Basic Configuration with Default Service URLs:
    "ntsSheetUrl": "https://geogratis.gc.ca/services/delimitation/en/nts", "altitudeUrl": "https://geogratis.gc.ca/services/elevation/cdem/altitude" }, - "schemaVersionUsed": "1.0" + "configMeta": { + "version": "1.0" + } }

    Dark Theme Configuration:

    @@ -1012,7 +1017,9 @@

    Complete Configuration:

    "coordinateInfoEnabled": true, "hideCoordinateInfoSwitch": false }, - "schemaVersionUsed": "1.0" + "configMeta": { + "version": "1.0" + } } diff --git a/packages/geoview-core/schema-default-config.json b/packages/geoview-core/schema-default-config.json index eb21c0fa26d..7e432d341a6 100644 --- a/packages/geoview-core/schema-default-config.json +++ b/packages/geoview-core/schema-default-config.json @@ -37,5 +37,7 @@ "ntsSheetUrl": "https://geogratis.gc.ca/services/delimitation/en/nts", "altitudeUrl": "https://geogratis.gc.ca/services/elevation/cdem/altitude" }, - "version": "1.0" + "configMeta": { + "version": "1.0" + } } diff --git a/packages/geoview-core/schema.json b/packages/geoview-core/schema.json index 4c2609f94f5..898f9c0028c 100644 --- a/packages/geoview-core/schema.json +++ b/packages/geoview-core/schema.json @@ -45,8 +45,8 @@ "serviceUrls": { "$ref": "#/definitions/TypeServiceUrls" }, - "schemaVersionUsed": { - "$ref": "#/definitions/TypeValidVersions" + "configMeta": { + "$ref": "#/definitions/TypeConfigMeta" }, "globalSettings": { "$ref": "#/definitions/TypeGlobalSettings" @@ -220,7 +220,19 @@ }, "selectedTab": { "type": "string", - "enum": ["", "geolocator", "geochart", "details", "legend", "guide", "data-table", "layers", "aoi-panel", "custom-legend", "about-panel"], + "enum": [ + "", + "geolocator", + "geochart", + "details", + "legend", + "guide", + "data-table", + "layers", + "aoi-panel", + "custom-legend", + "about-panel" + ], "description": "App bar tab to be selected at map load, it will open the panel" }, "selectedDataTableLayerPath": { @@ -358,6 +370,28 @@ } } }, + "TypeConfigMeta": { + "additionalProperties": false, + "type": "object", + "description": "Metadata about the configuration file, including version, description, author, and date.", + "properties": { + "version": { + "$ref": "#/definitions/TypeValidVersions" + }, + "description": { + "type": "string", + "description": "A free-text description of the map configuration." + }, + "author": { + "type": "string", + "description": "The author or creator of the map configuration." + }, + "date": { + "type": "string", + "description": "The creation or last-modified date of the map configuration (ISO 8601 format recommended)." + } + } + }, "TypeValidVersions": { "enum": ["1.0"], "description": "The schema version that can be used to validate the configuration file. The schema should enumerate the list of versions accepted by this version of the viewer." diff --git a/packages/geoview-core/src/api/config/config-api.ts b/packages/geoview-core/src/api/config/config-api.ts index 30cee6e2061..4eadb8cd351 100644 --- a/packages/geoview-core/src/api/config/config-api.ts +++ b/packages/geoview-core/src/api/config/config-api.ts @@ -244,7 +244,9 @@ export class ConfigApi { } // update the version if provided from the map configuration. - jsonConfig.schemaVersionUsed = urlParams.v as TypeValidVersions | undefined; + if (urlParams.v) { + jsonConfig.configMeta = { ...jsonConfig.configMeta, version: urlParams.v as TypeValidVersions }; + } } // Trace the detail config read from url diff --git a/packages/geoview-core/src/api/config/map-feature-config.ts b/packages/geoview-core/src/api/config/map-feature-config.ts index 97c7171d5e2..0a733d496cd 100644 --- a/packages/geoview-core/src/api/config/map-feature-config.ts +++ b/packages/geoview-core/src/api/config/map-feature-config.ts @@ -1,5 +1,6 @@ import type { TypeAppBarProps, + TypeConfigMeta, TypeDisplayTheme, TypeFooterBarProps, TypeGlobalSettings, @@ -13,7 +14,6 @@ import type { TypeValidMapComponentProps, TypeValidNavBarProps, TypeExternalPackagesProps, - TypeValidVersions, } from '@/api/types/map-schema-types'; import { DEFAULT_MAP_FEATURE_CONFIG, @@ -69,11 +69,8 @@ export class MapFeatureConfig { /** Indicates whether schema validation errors were detected during configuration parsing. */ hasSchemaErrors = false; - /** - * The schema version used to validate the configuration file. The schema should enumerate the list of versions accepted by - * this version of the viewer. - */ - schemaVersionUsed?: TypeValidVersions; + /** Metadata about the configuration file, including version and optional description. */ + configMeta?: TypeConfigMeta; /** * Creates an instance of MapFeatureConfig. @@ -129,7 +126,7 @@ export class MapFeatureConfig { this.corePackagesConfig = [...(userMapFeatureConfig.corePackagesConfig ?? DEFAULT_MAP_FEATURE_CONFIG.corePackagesConfig ?? [])]; this.externalPackages = [...(userMapFeatureConfig.externalPackages ?? DEFAULT_MAP_FEATURE_CONFIG.externalPackages ?? [])]; this.globalSettings = deepMerge(DEFAULT_MAP_FEATURE_CONFIG.globalSettings, userMapFeatureConfig.globalSettings); - this.schemaVersionUsed = userMapFeatureConfig.schemaVersionUsed ?? DEFAULT_MAP_FEATURE_CONFIG.schemaVersionUsed; + this.configMeta = deepMerge(DEFAULT_MAP_FEATURE_CONFIG.configMeta, userMapFeatureConfig.configMeta); } /** diff --git a/packages/geoview-core/src/api/types/map-schema-types.ts b/packages/geoview-core/src/api/types/map-schema-types.ts index 7793fdf948e..5b1f3a1da0c 100644 --- a/packages/geoview-core/src/api/types/map-schema-types.ts +++ b/packages/geoview-core/src/api/types/map-schema-types.ts @@ -30,11 +30,8 @@ export type TypeMapFeaturesInstance = { corePackagesConfig?: TypeCorePackagesConfig; /** List of external packages. */ externalPackages?: TypeExternalPackagesProps[]; - /** - * The schema version used to validate the configuration file. The schema should enumerate the list of versions accepted by - * this version of the viewer. - */ - schemaVersionUsed?: TypeValidVersions; + /** Metadata about the configuration file, including version and optional description. */ + configMeta?: TypeConfigMeta; /** Global settings. */ globalSettings?: TypeGlobalSettings; }; @@ -222,6 +219,18 @@ export type TypeServiceUrls = { altitudeUrl?: string; }; +/** Metadata about the configuration file. */ +export type TypeConfigMeta = { + /** The schema version used to validate the configuration file. */ + version?: TypeValidVersions; + /** A free-text description of the map configuration. */ + description?: string; + /** The author or creator of the map configuration. */ + author?: string; + /** The creation or last-modified date of the map configuration (ISO 8601 format recommended). */ + date?: string; +}; + /** Valid schema version number. */ export type TypeValidVersions = '1.0'; @@ -558,7 +567,7 @@ export const DEFAULT_MAP_FEATURE_CONFIG = { hideCoordinateInfoSwitch: false, displayDateMode: 'long', }, - schemaVersionUsed: '1.0', + configMeta: { version: '1.0' }, } as unknown as MapFeatureConfig; /** Definition of the default order of the tabs inside appbar. */ diff --git a/packages/geoview-core/src/core/controllers/map-controller.ts b/packages/geoview-core/src/core/controllers/map-controller.ts index 9698c5d1289..04c77d4454e 100644 --- a/packages/geoview-core/src/core/controllers/map-controller.ts +++ b/packages/geoview-core/src/core/controllers/map-controller.ts @@ -48,7 +48,7 @@ import { getStoreMapConfigListOfGeoviewLayerConfig, getStoreMapConfigNavBar, getStoreMapConfigOverviewMap, - getStoreMapConfigSchemaVersionUsed, + getStoreMapConfigMeta, getStoreMapConfigServiceUrls, getStoreMapConfigViewSettings, getStoreMapCurrentBasemapOptions, @@ -1076,7 +1076,7 @@ export class MapController extends AbstractMapViewerController { corePackagesConfig, externalPackages: getStoreMapConfigExternalPackages(mapId), serviceUrls: getStoreMapConfigServiceUrls(mapId), - schemaVersionUsed: getStoreMapConfigSchemaVersionUsed(mapId), + configMeta: getStoreMapConfigMeta(mapId), globalSettings: getStoreMapConfigGlobalSettings(mapId), }; diff --git a/packages/geoview-core/src/core/stores/states/map-state.ts b/packages/geoview-core/src/core/stores/states/map-state.ts index 015b93ea9a1..4405c936dac 100644 --- a/packages/geoview-core/src/core/stores/states/map-state.ts +++ b/packages/geoview-core/src/core/stores/states/map-state.ts @@ -26,7 +26,7 @@ import type { TypeValidMapCorePackageProps, TypeExternalPackagesProps, TypeServiceUrls, - TypeValidVersions, + TypeConfigMeta, } from '@/api/types/map-schema-types'; import { DEFAULT_HIGHLIGHT_COLOR, MAP_CENTER, MAP_ZOOM_LEVEL } from '@/api/types/map-schema-types'; import type { MapConfigLayerEntry } from '@/api/types/layer-schema-types'; @@ -855,9 +855,8 @@ export const getStoreMapConfigGlobalSettings = (mapId: string): TypeGlobalSettin /** Returns the service URLs from the map config. */ export const getStoreMapConfigServiceUrls = (mapId: string): TypeServiceUrls => getStoreMapConfigState(mapId).serviceUrls; -/** Returns the schema version used in the map config. */ -export const getStoreMapConfigSchemaVersionUsed = (mapId: string): TypeValidVersions | undefined => - getStoreMapConfigState(mapId).schemaVersionUsed; +/** Returns the config metadata from the map config. */ +export const getStoreMapConfigMeta = (mapId: string): TypeConfigMeta | undefined => getStoreMapConfigState(mapId).configMeta; /** Returns the view settings from the map config. */ export const getStoreMapConfigViewSettings = (mapId: string): TypeViewSettings => getStoreMapConfigState(mapId).map.viewSettings; From 9d81dfc040809539acfa123eee6f684e593c5a38 Mon Sep 17 00:00:00 2001 From: Johann Levesque Date: Mon, 1 Jun 2026 16:42:31 -0400 Subject: [PATCH 2/9] conrinue cleaning --- .github/copilot-instructions.md | 67 ++ docs/app/config/README.md | 22 +- docs/app/config/configuration-reference.md | 35 + .../public/configs/OSDP/function-event.json | 176 +++++- .../public/configs/OSDP/osdp-air.json | 25 +- .../public/configs/OSDP/osdp-air_en.json | 25 +- .../public/configs/OSDP/osdp-air_fr.json | 25 +- .../configs/OSDP/osdp-biodiversity_en.json | 25 +- .../configs/OSDP/osdp-biodiversity_fr.json | 25 +- .../public/configs/OSDP/osdp-climate_en.json | 26 +- .../public/configs/OSDP/osdp-climate_fr.json | 26 +- .../public/configs/OSDP/osdp-economy_en.json | 25 +- .../public/configs/OSDP/osdp-economy_fr.json | 25 +- .../public/configs/OSDP/osdp-empty.json | 41 +- .../public/configs/OSDP/osdp-health_en.json | 6 +- .../public/configs/OSDP/osdp-health_fr.json | 6 +- .../public/configs/OSDP/osdp-search.json | 16 +- .../public/configs/OSDP/osdp-simple.json | 5 +- .../public/configs/OSDP/osdp-society_en.json | 25 +- .../public/configs/OSDP/osdp-society_fr.json | 25 +- .../public/configs/OSDP/osdp-water_en.json | 25 +- .../public/configs/OSDP/osdp-water_fr.json | 25 +- .../public/configs/elections-canada-2019.json | 40 +- .../public/configs/footer-tabs-config.json | 17 +- ...25772d-da22-4ac1-b130-c1d97b935f6f_en.json | 39 +- ...25772d-da22-4ac1-b130-c1d97b935f6f_fr.json | 39 +- ...8b3df4-f24f-4a75-868d-315c563d029c_en.json | 39 +- ...8b3df4-f24f-4a75-868d-315c563d029c_fr.json | 39 +- ...acd145-626a-49eb-b850-0a59c9bc7506_en.json | 39 +- ...acd145-626a-49eb-b850-0a59c9bc7506_fr.json | 39 +- ...348a20-02f4-4557-b68c-d1754e3026a4_en.json | 39 +- ...348a20-02f4-4557-b68c-d1754e3026a4_fr.json | 39 +- ...b821cf-0f1c-40ee-8925-eab12d357668_en.json | 39 +- ...b821cf-0f1c-40ee-8925-eab12d357668_fr.json | 45 +- ...c52cb2-94b8-4b91-9419-cebdf535790a_en.json | 39 +- ...c52cb2-94b8-4b91-9419-cebdf535790a_fr.json | 39 +- ...c296d1-4a97-45ab-82c5-2a4f963cf4e6_en.json | 39 +- ...c296d1-4a97-45ab-82c5-2a4f963cf4e6_fr.json | 39 +- ...0d636a-f28a-4639-9d6a-a73a9f6ab2d6_en.json | 39 +- ...0d636a-f28a-4639-9d6a-a73a9f6ab2d6_fr.json | 39 +- ...bedee8-beb0-4b3a-a1c6-24a4cda08afe_en.json | 39 +- ...bedee8-beb0-4b3a-a1c6-24a4cda08afe_fr.json | 39 +- ...5257af-5592-49de-8726-90090c6c3061_en.json | 39 +- ...5257af-5592-49de-8726-90090c6c3061_fr.json | 39 +- ...177faf-6cdd-4afd-83af-331248b3d168_en.json | 39 +- ...177faf-6cdd-4afd-83af-331248b3d168_fr.json | 39 +- ...f487b5-56b7-438d-8ccc-c13a38ab6f2e_en.json | 39 +- ...f487b5-56b7-438d-8ccc-c13a38ab6f2e_fr.json | 39 +- ...5c2a90-9a96-4bcf-924a-3aba0755cc21_en.json | 39 +- ...5c2a90-9a96-4bcf-924a-3aba0755cc21_fr.json | 39 +- ...f01a95-a241-445e-b1a9-ff2256b59f98_en.json | 39 +- ...f01a95-a241-445e-b1a9-ff2256b59f98_fr.json | 39 +- ...d1c3a9-cf78-4b07-af55-9e8d4303449e_en.json | 39 +- ...d1c3a9-cf78-4b07-af55-9e8d4303449e_fr.json | 39 +- .../geo-discovery/GV_particulate_en.json | 73 ++- .../geo-discovery/GV_particulate_fr.json | 81 ++- .../public/configs/geojson-inject.json | 24 +- .../configs/loading-packages-config.json | 25 +- .../public/configs/many-groups.json | 19 +- .../public/configs/max-record-count.json | 32 +- .../public/configs/my-config.json | 8 +- .../demos/00-basic-footer-appbar-combo.json | 91 ++- .../navigator/demos/01-basemap-LCC-TLS.json | 26 +- .../navigator/demos/02-basemap-LCC-SL.json | 8 +- .../navigator/demos/03-projection-WM.json | 12 +- .../navigator/demos/04-restrict-zoom.json | 8 +- .../demos/05-max-extent-override.json | 27 +- .../navigator/demos/06-zoom-layer.json | 35 +- .../navigator/demos/07-layer-zoom-levels.json | 24 +- .../demos/08-all-layer-zoom-levels.json | 31 +- .../demos/09-basic-footer-layers-tab.json | 92 ++- .../demos/10-basic-appbar-data-table-tab.json | 28 +- .../demos/11-package-time-slider.json | 30 +- .../demos/12-package-time-slider-custom.json | 121 ++-- .../demos/13-package-geochart-cdtk.json | 22 +- .../navigator/demos/13-package-geochart.json | 35 +- .../navigator/demos/14-package-swiper.json | 24 +- .../navigator/demos/15-package-drawer.json | 30 +- .../demos/16-package-area-of-interest.json | 30 +- .../demos/17-package-custom-legend.json | 16 +- .../18-package-about-panel-md-strings.json | 16 +- .../demos/18-package-about-panel-md.json | 16 +- .../demos/18-package-about-panel.json | 16 +- .../navigator/demos/19-global-settings.json | 26 +- .../demos/20-export-map-large-legend.json | 30 +- .../demos/21-export-map-bad-legend.json | 22 +- .../navigator/demos/22-circumpolar.json | 48 +- .../navigator/demos/23-initial-settings.json | 77 ++- .../demos/23a-initial-settings-filters.json | 124 ++++ .../23b-initial-settings-states-controls.json | 197 ++++++ .../demos/23c-initial-settings-cascading.json | 234 +++++++ .../23d-initial-settings-layer-config.json | 191 ++++++ .../demos/24-configured-feature-labels.json | 184 ++++-- .../demos/25-feature-visual-variables.json | 44 +- .../demos/26-complex-classifications.json | 27 +- .../demos/27-view-settings-rotation-home.json | 93 +++ .../demos/28-symbol-shapes-fill-patterns.json | 596 ++++++++++++++++++ .../configs/navigator/layers/all-layers.json | 49 +- .../public/configs/navigator/layers/csv.json | 40 +- .../navigator/layers/esri-dynamic-errors.json | 40 +- .../layers/esri-dynamic-group-of-groups.json | 50 +- .../layers/esri-dynamic-projections.json | 50 +- .../navigator/layers/esri-dynamic.json | 181 +++++- .../navigator/layers/esri-feature-errors.json | 139 +++- .../navigator/layers/esri-feature.json | 140 +++- .../navigator/layers/esri-image-errors.json | 40 +- .../configs/navigator/layers/esri-image.json | 41 +- .../layers/geocore-custom-inline-config.json | 98 ++- .../navigator/layers/geocore-custom.json | 40 +- .../navigator/layers/geocore-duplicates.json | 50 +- .../navigator/layers/geocore-errors.json | 40 +- .../configs/navigator/layers/geocore-wms.json | 41 +- .../configs/navigator/layers/geocore.json | 41 +- .../navigator/layers/geojson-errors.json | 40 +- .../navigator/layers/geojson-multi.json | 40 +- .../configs/navigator/layers/geojson.json | 56 +- .../configs/navigator/layers/geopackages.json | 40 +- .../navigator/layers/geotiff-errors.json | 40 +- .../configs/navigator/layers/geotiff.json | 41 +- .../public/configs/navigator/layers/kml.json | 40 +- .../layers/ogc-feature-api-errors.json | 50 +- .../navigator/layers/ogc-feature-api.json | 50 +- .../configs/navigator/layers/rcs-gcgeo.json | 40 +- .../configs/navigator/layers/shapefile.json | 67 +- .../navigator/layers/static-image-errors.json | 64 +- .../navigator/layers/static-image.json | 57 +- .../configs/navigator/layers/vector-tile.json | 40 +- .../navigator/layers/wfs-cdtk-basic.json | 99 ++- .../configs/navigator/layers/wfs-cdtk.json | 104 ++- .../configs/navigator/layers/wfs-errors.json | 50 +- .../public/configs/navigator/layers/wfs.json | 54 +- .../public/configs/navigator/layers/wkb.json | 51 +- .../navigator/layers/wms-cdtk-basic.json | 40 +- .../configs/navigator/layers/wms-cdtk.json | 76 ++- .../configs/navigator/layers/wms-errors.json | 40 +- .../public/configs/navigator/layers/wms.json | 45 +- .../public/configs/navigator/layers/wmts.json | 48 +- .../navigator/layers/xyz-tile-errors.json | 40 +- .../configs/navigator/layers/xyz-tile.json | 40 +- .../configs/open-maps/open-maps-config.json | 31 +- .../configs/package-swiper3-config.json | 34 +- .../public/configs/performance.json | 18 +- packages/geoview-core/public/index.html | 2 +- .../public/templates/add-layers.html | 15 +- .../public/templates/add-panels.html | 2 +- .../public/templates/api-loads.html | 4 +- .../geoview-core/public/templates/codedoc.js | 7 + .../public/templates/demos-navigator.html | 32 +- .../templates/demos/demo-arctic-sdi.html | 30 +- .../demos/demo-important-layers.html | 13 +- .../demos/demo-osdp-non-currated.html | 2 +- .../public/templates/demos/demo-share.html | 5 +- .../templates/demos/demo-world-of-maps.html | 4 +- .../public/templates/inter-all.html | 4 +- .../inter-bounding-box-selector.html | 4 +- .../public/templates/inter-drawer.html | 76 +-- .../public/templates/loading-packages.html | 25 +- .../templates/outliers/outlier-GeoAI.html | 17 +- .../templates/outliers/outlier-geometry.html | 30 +- .../templates/outliers/outlier-metadata.html | 25 +- .../templates/outliers/outlier-style.html | 7 +- .../public/templates/pygeoapi-processes.html | 8 +- .../public/templates/release-navigator.html | 3 +- .../public/templates/stac-browser.html | 2 +- .../geoview-core/public/templates/tests.html | 186 +++--- .../public/templates/ui-components.html | 12 +- .../geoview-core/public/templates/wcag.html | 3 +- .../geoview-core/schema-default-config.json | 35 +- .../src/core/stores/states/ui-state.ts | 2 +- .../geo/layer/gv-layers/abstract-gv-layer.ts | 59 +- packages/geoview-core/src/ui/tabs/tabs.tsx | 8 +- scripts/reorder-config-keys.mjs | 0 172 files changed, 6516 insertions(+), 1448 deletions(-) create mode 100644 packages/geoview-core/public/configs/navigator/demos/23a-initial-settings-filters.json create mode 100644 packages/geoview-core/public/configs/navigator/demos/23b-initial-settings-states-controls.json create mode 100644 packages/geoview-core/public/configs/navigator/demos/23c-initial-settings-cascading.json create mode 100644 packages/geoview-core/public/configs/navigator/demos/23d-initial-settings-layer-config.json create mode 100644 packages/geoview-core/public/configs/navigator/demos/27-view-settings-rotation-home.json create mode 100644 packages/geoview-core/public/configs/navigator/demos/28-symbol-shapes-fill-patterns.json create mode 100644 scripts/reorder-config-keys.mjs diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index f75e9977aac..69051b7eb90 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -294,6 +294,38 @@ Both effective scales are rounded, then expanded into tolerance boundaries using **Feature-query gating** — `AbstractLayerSet.queryLayerFeatures()` must gate queries with `isInVisibleRange(...)` using current resolution, current scale, and `computeEffectiveLayerScales(...)`, not zoom-only checks. +### Layer Load Error Handling Strategy + +`AbstractGVLayer` in `abstract-gv-layer.ts` handles three categories of load errors from OpenLayers sources. The strategy distinguishes between **partial failures** (individual tiles/features) and **total failures** (the source itself is broken). + +**Event registration** (in `init()`): + +| OL Events | Handler | Layer types affected | +| ------------------------------------ | ----------------------- | -------------------------------------------------- | +| `tileloaderror`, `featuresloaderror` | `#handleError` | WMTS, WMS (tiled), XYZ, Vector Tiles, ESRI, Vector | +| `imageloaderror` | `#handleImageLoadError` | WMS Image, ESRI Image, Static Image | +| Source `change` (state = `'error'`) | `#handleSourceChange` | All layer types | + +**Error handling behavior:** + +| Handler | Fatal? | Behavior | Rationale | +| ----------------------- | -------------------------- | ----------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `#handleError` | **Never** | Routes to `#handleLoaded` to resolve the loading counter. Logs a warning. | Individual tile/feature failures are normal (edge tiles outside bounds, sparse tile sets, transient 404s). Other tiles still render. The layer is partially functional. | +| `#handleImageLoadError` | **Always** | Calls `onImageLoadError()` → sets status to `'error'`, shows notification. | WMS Image uses a single image per view. If it fails, nothing renders. `AbstractGVRaster` overrides `onImageLoadError()` with rescue logic for recoverable cases. Recovery happens automatically when the next pan/zoom triggers a new GetMap request that succeeds → `onLoaded()` restores the status. | +| `#handleSourceChange` | **Only before first load** | If `loadedOnce === false`, calls `onError()` → fatal. If `loadedOnce === true`, logs a warning and returns. | Catches source-level failures (e.g., capabilities fetch failed, service completely unreachable). Once the layer has loaded successfully, transient source state errors are ignored. | + +**Loading counter system** — Each `tileloadstart`/`imageloadstart`/`featuresloadstart` increments `loadingCounter` and stamps the event wrapper with the current count. `#handleLoaded` only calls `onLoaded()` when the event's stamp matches the current counter (i.e., it's the last load that started). This ensures only the final load cycle determines the layer's status transition. + +**Why `#handleError` routes through `#handleLoaded`** — The loading counter must be resolved for every load cycle that started. If a tile error doesn't resolve the counter and the errored tile was the last to start loading, the counter stays stuck and `onLoaded()` never fires for that cycle. By routing through `#handleLoaded`, the counter resolves normally and the status transitions to `'loaded'` (since `onLoaded()` calls `setLayerStatusLoaded()`). + +**Recovery flow for WMS Image layers:** + +1. Image fails → `#handleImageLoadError` → `onImageLoadError()` → status = `'error'`, notification shown +2. User pans/zooms → new GetMap request with different extent/size +3. If new image succeeds → `#handleLoaded` → `onLoaded()` → `setLayerStatusLoaded()` → status back to `'loaded'` + +**Key invariant:** `onError()` and `onImageLoadError()` both check `if (layerStatusBefore !== 'error')` before emitting the error notification. This prevents spamming the user with repeated error messages for the same layer. + ### Time Dimension & Time Slider See [time-dimension.md](../docs/programming/time-dimension.md) for the full architecture documentation. @@ -925,6 +957,41 @@ items.forEach((item) => { - Plugin packages have their own config schemas (default-config-\*.json) but rely on core's validation APIs - Use `ConfigApi` and `ConfigValidation` classes from geoview-core for config operations +### Canonical Config Property Order + +When creating or editing map configuration JSON files (navigator demos, test configs, inline `data-config` attributes), properties **must** follow the canonical order defined in `packages/geoview-core/schema-default-config.json`. This order groups properties logically — metadata first, then the map definition, then UI chrome, then services and extensions. + +**Root-level order:** + +``` +1. configMeta — Config metadata (schema version) +2. map — Map definition (view, basemap, layers) +3. components — Map components (overview-map, north-arrow) +4. overviewMap — Overview map settings +5. navBar — Navigation bar controls +6. appBar — Application bar tabs +7. footerBar — Footer bar tabs +8. corePackages — Core plugin packages to load +9. globalSettings — Universal map settings (sublayer removal, disabled types) +10. serviceUrls — Override service endpoints +11. theme — Display theme (geo.ca, dark, light) +12. corePackagesConfig — Configuration for core packages +13. externalPackages — External plugin packages +``` + +**`map` sub-property order:** + +``` +1. interaction — Map interaction mode (dynamic, static) +2. viewSettings — Projection, zoom, center, rotation, homeView +3. basemapOptions — Basemap type and visual options +4. highlightColor — Feature highlight color overrides +5. listOfGeoviewLayerConfig — Layer definitions array +6. extraOptions — Pass-through OpenLayers map options +``` + +**Rationale:** The order mirrors the logical sequence: _what kind of map_ → _what it shows_ → _how the UI wraps it_ → _what services back it_ → _what extends it_. Following this order makes configs easier to read, review, and diff. + ### Invalid `geoviewLayerType` Prevalidation - `Config.prevalidateGeoviewLayersConfig()` must **not throw** when a root `geoviewLayerType` is invalid or misspelled. It should report the `LayerInvalidGeoviewLayerTypeError` through the provided `onErrorCallback` and filter that layer out of the returned list. diff --git a/docs/app/config/README.md b/docs/app/config/README.md index 5712c6d062c..2d4a9913e0f 100644 --- a/docs/app/config/README.md +++ b/docs/app/config/README.md @@ -75,29 +75,29 @@ await cgpv.api.createMapFromConfig("mapId", mapConfig); ## 📋 Configuration Schema -The configuration follows a hierarchical structure: +The configuration follows a hierarchical structure. Properties are listed in **canonical order** as defined in [`schema-default-config.json`](../../../packages/geoview-core/schema-default-config.json). This order should be followed in all config files for consistency. ``` Config +├── configMeta ├── map │ ├── interaction -│ ├── viewSettings (projection, initialView, enableRotation, minZoom, maxZoom) +│ ├── viewSettings (projection, zoom, center, rotation, homeView) │ ├── basemapOptions -│ ├── listOfGeoviewLayerConfig[] │ ├── highlightColor +│ ├── listOfGeoviewLayerConfig[] │ └── extraOptions -├── theme +├── components[] +├── overviewMap +├── navBar (controls) ├── appBar (tabs) ├── footerBar (tabs) -├── navBar (controls) -├── overviewMap -├── components[] ├── corePackages[] -├── corePackagesConfig[] -├── externalPackages[] -├── serviceUrls ├── globalSettings -└── configMeta +├── serviceUrls +├── theme +├── corePackagesConfig[] +└── externalPackages[] ``` ## 🔗 Related Documentation diff --git a/docs/app/config/configuration-reference.md b/docs/app/config/configuration-reference.md index ed797f09993..f65d790f35f 100644 --- a/docs/app/config/configuration-reference.md +++ b/docs/app/config/configuration-reference.md @@ -115,6 +115,41 @@ interface TypeMapFeaturesInstance { } ``` +### Canonical Property Order + +When writing or editing map configuration JSON files, properties **must** follow the canonical order defined in [`schema-default-config.json`](../../../packages/geoview-core/schema-default-config.json). This order groups related properties logically — metadata first, then the map definition, then UI elements, then services and extensions — making configs easier to read, review, and diff. + +**Root-level property order:** + +| Order | Property | Required | Purpose | +| ----- | -------------------- | -------- | ------------------------------------------ | +| 1 | `configMeta` | No | Config metadata (schema version) | +| 2 | `map` | **Yes** | Map definition (view, basemap, layers) | +| 3 | `components` | No | Map components (overview-map, north-arrow) | +| 4 | `overviewMap` | No | Overview map settings | +| 5 | `navBar` | No | Navigation bar controls | +| 6 | `appBar` | No | Application bar tabs | +| 7 | `footerBar` | No | Footer bar tabs | +| 8 | `corePackages` | No | Core plugin packages to load | +| 9 | `globalSettings` | No | Universal map settings | +| 10 | `serviceUrls` | No | Override service endpoints | +| 11 | `theme` | No | Display theme (`geo.ca`, `dark`, `light`) | +| 12 | `corePackagesConfig` | No | Configuration for core packages | +| 13 | `externalPackages` | No | External plugin packages | + +**`map` sub-property order:** + +| Order | Property | Required | Purpose | +| ----- | -------------------------- | -------- | ----------------------------------- | +| 1 | `interaction` | **Yes** | Map interaction mode | +| 2 | `viewSettings` | **Yes** | Projection, zoom, center, rotation | +| 3 | `basemapOptions` | **Yes** | Basemap type and options | +| 4 | `highlightColor` | No | Feature highlight color overrides | +| 5 | `listOfGeoviewLayerConfig` | No | Layer definitions | +| 6 | `extraOptions` | No | Pass-through OpenLayers map options | + +> **Rationale:** The order mirrors the logical sequence of map configuration: _what kind of map_ → _what it shows_ → _how the UI wraps it_ → _what services back it_ → _what extends it_. + ### TypeMapConfig Main map configuration object. diff --git a/packages/geoview-core/public/configs/OSDP/function-event.json b/packages/geoview-core/public/configs/OSDP/function-event.json index 6d727909e0e..70f345aed83 100644 --- a/packages/geoview-core/public/configs/OSDP/function-event.json +++ b/packages/geoview-core/public/configs/OSDP/function-event.json @@ -49,15 +49,26 @@ "Point": { "type": "uniqueValue", "hasDefault": false, - "fields": ["E_Regulated", "E_SampleType", "E_Overall_Condition"], + "fields": [ + "E_Regulated", + "E_SampleType", + "E_Overall_Condition" + ], "info": [ { "visible": true, "label": "Natural, Seasonal, High", - "values": ["Natural", "Seasonal", "High"], + "values": [ + "Natural", + "Seasonal", + "High" + ], "settings": { "mimeType": "image/png", - "offset": [0, 0], + "offset": [ + 0, + 0 + ], "opacity": 1, "rotation": 0, "src": "iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IB2cksfwAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAcNJREFUKJFjYSATsCBz/v//z/Tp8+fwO/cf273/+FmckZHxn6iQwBMVJbldXJyc27Bq/P//v8jVm3cmtUxf7rX+3nN+ZEVJ+srhd+8/3KikIFfMyMj4Fa7x////zBeu3JjuXDM55Ou//xjOmnfxrsS+8t7Uze1FLAwMDClwjU+fv0irmLzYH5smGHjw/TdTz7yVIe/ef9wiJMi/gYWBgYHhxp2HXgeev2dFVtjhb8Pw7dtPhqbdp+FiCy894E+4cz+IgYEBovHDp88qyJpmxngwxIf5wfnImt+9f68Ed+rff3/ZkTVycnDA2dxcHMhSDH/+/WeHa+Tm5HzJwMCgCJMsW7SZgYmZkeHHj18M5RsPo2jk4eJ+DdcoKSZyQoeX0+LK5+8MDAwMDC9+/WWImbkeI4D85MUZJMWED8A1qirKVjUlBvgETVqugqEa5mQmRoacKO9zWurKPXCNfHx8389evha5Njd8bfPCLXIXPn1F0eQgLshQGut7XUREOJCRkfEfXCMDAwODsa7WmQOnT+t150VMevn6ne33bz+kGBgZ/3FzcTyUEBXZxcb4p0RbTek3TD1KWnUwNf3IwMAQj8u5yAAAupehfivnXOEAAAAASUVORK5CYII=", @@ -67,10 +78,17 @@ { "visible": false, "label": "Natural, Seasonal, Low", - "values": ["Natural", "Seasonal", "Low"], + "values": [ + "Natural", + "Seasonal", + "Low" + ], "settings": { "mimeType": "image/png", - "offset": [0, 0], + "offset": [ + 0, + 0 + ], "opacity": 1, "rotation": 0, "src": "iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABw0lEQVQ4jWNhoBJgGRoG/f//n+nry8fhzy4ft/v2/pU4IxPDPx5RmSfSBva7OPiFthFl0P///0UeHNk86fSCFq/vH97wI8vxSsiFPzl3cKO0oV0xIyPjV5wG/f//n/nOgXXTj00tC2H4/x/D1s8vHkns70hNdSidxsLAwJCC06BXN8+mnZnX5I/NEBj49/cP06l5LSGfnt3ZwielsgGrQc8vHfX69e0zK7KYlL4tw5+f3xhe3TgLF/vy6hH/k7NHgxgYGLAb9P39GxVkvqKNL4NtwQQGBgYGhh01YSiGfX37RAmn1/7//cuOIsnBjZUN9SKqWmQOGzfvSwYGBkUY/86+1QyMTEwMf35+Z3h24RCKQRy8gq9xGsQvpXiCmZXd4u/vnxAX/vvLcGvXMgZ0wMEvzMAnrXIAp0EqGtZVn7zjfa5smIUSViiAkZFByyf5nIKVZw9OgxhlZb/f3bUmUss3ee3NnUvl/v76gWIGGxcvg5ZP0nUuOelARkbGfzgNYmBgYFB2CzlzZtVMPYPwgkmfXz60/fP9mxQDI8M/Vi6+h7wS8ru+S/4uUTbx/Y2uD2teMwlL/8jAwBCP03tYwOArRgCKzaW6FXcnxAAAAABJRU5ErkJggg==", @@ -80,10 +98,17 @@ { "visible": false, "label": "Natural, Seasonal, Normal", - "values": ["Natural", "Seasonal", "Normal"], + "values": [ + "Natural", + "Seasonal", + "Normal" + ], "settings": { "mimeType": "image/png", - "offset": [0, 0], + "offset": [ + 0, + 0 + ], "opacity": 1, "rotation": 0, "src": "iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IB2cksfwAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAcdJREFUKJFjYSATsCBz/v//z/Tt++fwZ6/v2X359lGckZHxHx+34BNJMZVdnOyc27Bq/P//v8iDZzcm7Tg+yev915v8yIokhMzCn768v1FKTKGYkZHxK1zj////me8+vjx99YHikP///2I468W7UxJLd11NjXTtZ2FgYEiBa3zz4WnaluO9/tg0wcCff1+Zdp+aFfLpy/stfDyCG1gYGBgYnry46/Xtx2NWZIW6CmEMP39/Y7j1dAvC5vdn+J+8uh3EwMAA0fjl+0cVZE1mGqkMzmYRDAwMDAxr9zKgaP785Z0Skh//siNrZGPhgLPZWblRnPz3/z92uEZ2Ns6XDAwMijDJo9dmMTAyMjH8/vOD4fKDlSgaOdm5X8M1CvJKnGBl4bf4/ecjAwMDA8P/fz8ZDl+eiBFAAtyqDIK84gfgGiWElKrs9TJ99pzrUMFQDQWMjMwMNnpx5+Sl1HvgGvn4+L7ffnA50tmwbO3hK7Plfv1+j6KJi0OawV4v+bogr2ggIyPjP7hGBgYGBlUF3TNX7x3QczMtnvTh82vb37+/STEwMv7jYOV+KMArtusbN1OJrKTab5h6lLSqreTwkYGBIR6Xc5EBAG+8pa3DWR79AAAAAElFTkSuQmCC", @@ -93,10 +118,17 @@ { "visible": true, "label": "Natural, Yearly, High", - "values": ["Natural", "Yearly", "High"], + "values": [ + "Natural", + "Yearly", + "High" + ], "settings": { "mimeType": "image/png", - "offset": [0, 0], + "offset": [ + 0, + 0 + ], "opacity": 1, "rotation": 0, "src": "iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAAXNSR0IB2cksfwAAAAlwSFlzAAAOxAAADsQBlSsOGwAAARhJREFUKJGNjzFLQlEYhp8OR45xaUgiIqcgEhpqb2toaFAbpTEuQTch15qD5ooEwR/QrnDr+gPammsMg7hgDsHBjtm5DXrFwbo948fzvnyvJKZUms305g/1gCKCLNABGxhHXXN71Y01CbBaPFppa3wNOcS4Yg3EltJfZfJewTSqD8OA66p2ONOEKMd0FiBqsuNu0qq/ykyYOtBE67/IMRnSqTPAkxoKCTIACvYMeBLI/icALAFCYulMDP2LLmAl2ADEdpLtwJ0BpOl/V1ValBNe+1R9ew4gadU/nN3jgpbWBxanyD2D3X+7rz0NA0DXv3kkf7KhbP/UCIoKloF3BxvMDcTFi197jtNy3NO4DA1UgIoZncxo6SQ//xRZVbXMk6kAAAAASUVORK5CYII=", @@ -106,10 +138,17 @@ { "visible": false, "label": "Natural, Yearly, Low", - "values": ["Natural", "Yearly", "Low"], + "values": [ + "Natural", + "Yearly", + "Low" + ], "settings": { "mimeType": "image/png", - "offset": [0, 0], + "offset": [ + 0, + 0 + ], "opacity": 1, "rotation": 0, "src": "iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAAXNSR0IB2cksfwAAAAlwSFlzAAAOxAAADsQBlSsOGwAAASFJREFUKJGNkb1KA0EURs8Mw0YRLUREDLgIYsBCezsLSxMbgwSUJYiFpLDVWvABBAsLiVaSYGUgIXkAO7E0vbAIyUaMouyQGQt3u/x44MKF73zc4ioirnYZd7R7KCQZDEkIW9ZQdxL+Re6OIPYUwE1maRGtq0AKE0fOspCsa+0WbrNj6f1S8xFA3R+Q+OzoCpCiPzO216sUs6k1r9R8Vd22mxeSlQFyhJ6WVp8CR0pI0sPlPyxsx4WkNSN9MMw1QCoLrf9cgDDYBKMEYd3ibIwuTNQAlHn3L8WUWwCSQ+wfKb/OAJTX4KO4000LM1kFZvvI31aGub2y/wLR47xy8HS9tbCqnM6JhQwwj6RtCevgnHtlvxm3VbzkH57fgONoBvILJileSF2zp2AAAAAASUVORK5CYII=", @@ -119,10 +158,17 @@ { "visible": false, "label": "Natural, Yearly, Normal", - "values": ["Natural", "Yearly", "Normal"], + "values": [ + "Natural", + "Yearly", + "Normal" + ], "settings": { "mimeType": "image/png", - "offset": [0, 0], + "offset": [ + 0, + 0 + ], "opacity": 1, "rotation": 0, "src": "iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAAXNSR0IB2cksfwAAAAlwSFlzAAAOxAAADsQBlSsOGwAAARxJREFUKJGNkS1IQ2EUQM/99u2vioj4ksWBQbuwoLDoZpSB8lgwyIJN3hBEnA6TQTAYZNpNDqZ7UdBm1m5QmQsqvjF57zNsr21uBy5cLuekq+mxe7aajMVeN0RUDgILVNOYoNGJdU728vet0NMABxfpaeG9DirVPSuAGRG1EP9NFA8vM9nSuvsAoI+viHvf0RqQoj/jGL9WqWbmHdt90d7XUgFhdoAcMmaUXwI2NUJ2iNzFsBIGFmakZBIXpTE0R9KhRYZAi9AwhsVhtsANgP4JIqdJ8YuA9Y/fRkXLAHrfdj/L1XRWSaIO/kQf2RMT5J212yfoPW7Hvns8Ol+eC3TbMcbPAVPAh5hIA3TFsevPYa3DZbtw/QZs9WYgf/xmWAwLz4rrAAAAAElFTkSuQmCC", @@ -132,10 +178,17 @@ { "visible": false, "label": "Regulated, Seasonal, High", - "values": ["Regulated", "Seasonal", "High"], + "values": [ + "Regulated", + "Seasonal", + "High" + ], "settings": { "mimeType": "image/png", - "offset": [0, 0], + "offset": [ + 0, + 0 + ], "opacity": 1, "rotation": 0, "src": "iVBORw0KGgoAAAANSUhEUgAAABMAAAAQCAYAAAD0xERiAAAAAXNSR0IB2cksfwAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAf5JREFUOI2t01tI02EYBvDnrT+EmC6KYCRBglFRmJ02VlgRSqAUHUCQZY68GQ2vJGdIkHiRdNE06DAG9u8gxoJpRxJ3EQqaMYpS2VAqaqsVxGyWOmXu6WoyXbFmPXffw8vve/ngU/Afo6QaICnR6Ox1RVlqFhH+EzY9M1P1qLunuKSosBKAumiMpGbIN1putLtyX67PrSDpFJHJRWE/Jybr6mw3DQDQcKVN33rhTA2AxrQxkhvdPf2F7mAoAwDuv/+S+XrYV0zyhogE0sJCY+Hak81tuxM7y6Xbhmf2PCuA6r/GSB5qaW0vCEVjkth7JyKKu3dgB0m9iAykxEgu838KGq2dvdu2ZGXgak0l1uZo0ed5A6PdBaPdZdhn2HkaQGpsNhYzn2tR9QBw3nQYuu35AIDjpUXwDI7A1jcER3tnPskyEXH+ESOZ82rQu/euz78OALKXZ867aPUqDQCgoetFwYmjB4+QfCgiU7/FpiLT1aeaHAfi51sP3Ni6eQM02VkYffcBl7uez83WN6u71CarGYAtCSO5597j7k3eH5EV8e7O8Ec8MZ2FTrsSTwPf5m3p9Pnzakfe6kiuEZHPcxjJJd/D4+UV9o6ShW8YisaSoHhMjdf296sXLQDqEzerCgS/ljotZSn/6oJox8Ljx0h2iIhHAQARcQBwpAkl5ReILNJbf8Z/egAAAABJRU5ErkJggg==", @@ -145,10 +198,17 @@ { "visible": false, "label": "Regulated, Seasonal, Low", - "values": ["Regulated", "Seasonal", "Low"], + "values": [ + "Regulated", + "Seasonal", + "Low" + ], "settings": { "mimeType": "image/png", - "offset": [0, 0], + "offset": [ + 0, + 0 + ], "opacity": 1, "rotation": 0, "src": "iVBORw0KGgoAAAANSUhEUgAAABMAAAAQCAYAAAD0xERiAAAAAXNSR0IB2cksfwAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAf1JREFUOI2t009Ik2EcB/Dvr15o/dOikNKIJA+KJZOwtaKQwkNWJB4KsfAg1SglcJFBhAeRCIqoJhivTA8eQpAOZhCMkQ4Ra2nN0mrQPzdrHZyTNt9qr99OjumKNet7e378+DxfHngU/McoyRZIih6NtixVFIuI8J8w/cf36hFHT0n+gYNVANoXjZFM9795VeGx12Vn5OSeJNkpIpFFYVokfKn/1hUzAAzcbTIdblStABpTxkjmjvU59mpfh5YDQPhj/0rf6IsSkm0i4ksJ+xacvOhurtkdPxu8fcG8sflhPYDav8ZIHnG124zUNYmfRyN+5a3LsYOkSUQGk2Ikl036xyvfP7heqKzaDPP5G1ibuQkfng3AY6+Dx241b91VfBZAcmx2Vrf02RpMALD9RD2yC4sAAMbScgReDiHwpANP76kFJI+JSOcfMZJZn0aG9017nVsAwLA6bd5FhnXrAQA+Z4sxWFZZRrJbRGZ+i/3UtFrXtZr9c+fR7g5k5RVgRVo6Au+8GHe0xnZ77zQUHW1qtQC4mYCR3PO8pytP1/xr5mah14/QdaoXhoxtmPnsntdy2uvMmfCO7SSZKSITMYzkknBoqsLTZi1d+IbUtQQo1u7q6eLj6uNzAC7HN6ue+uI7ZDxjS/pXF2RDOBQsJ3lfRNwKAIiICkBNEUrIL56h1pnX6ksDAAAAAElFTkSuQmCC", @@ -158,10 +218,17 @@ { "visible": false, "label": "Regulated, Seasonal, Normal", - "values": ["Regulated", "Seasonal", "Normal"], + "values": [ + "Regulated", + "Seasonal", + "Normal" + ], "settings": { "mimeType": "image/png", - "offset": [0, 0], + "offset": [ + 0, + 0 + ], "opacity": 1, "rotation": 0, "src": "iVBORw0KGgoAAAANSUhEUgAAABMAAAAQCAYAAAD0xERiAAAAAXNSR0IB2cksfwAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAftJREFUOI2t011I01EYBvDnzX80a2UFRbWKRgVGGQvJsUZSgV2UUkQYEhFh0Ci8iOgDBt10YxG5ootgFwndlCGlq6CCaFsRfiA6RdMoXa7Bhtk+29iHT1eT6Yo167k7Dy+/83LgKPiPUfINkJR0OnWvqEgxiQj/CUukE/Wd/S+rKrbuPwmgec4YyZKxb0N1TpdFu27l5hMkW0Tk55ywWDx6xfb+ugEAXny4oz9VffMCgGsFYyRLe4be7o7Ex4sBIBAdXvTFM1BF8r6IeArCQpHJS6+6G3dld887Gg3rVzdfBtDw1xjJmmdOq45MSnafSgWVvhF7OUm9iHTkxUgu8E96jvePPtwxXylBtcGMFcs0+DjWBYfLAofLYijbaDwLID82NZU2tTlu6QGgsuwMSrXlAACjrgZunwtu3xu87nqwnWStiLT8ESOp+fTVVTkR6tsAAMWqxTMuUquWAwBGPO06/4+jh0naRCT2WyyRjDc8dV7dlzl3DrZCq9kG9cIl8Pg+Y3DcNj3bZr+x8/ShJhOAphyMpPFdb/uWVDq8NNP5g72421oLtWotwrHRGVtOhAY2ub3DFSTXiIh3GiM5LxwN1jldtw/MfkMymQNl8thu3nP+2KNzAMzZm9V/D3gP7tVdzPtXZ2VVJBo4QvKJiHQrACAiVgDWAqGc/ALxctoeg0TwJAAAAABJRU5ErkJggg==", @@ -171,10 +238,17 @@ { "visible": false, "label": "Regulated, Yearly, High", - "values": ["Regulated", "Yearly", "High"], + "values": [ + "Regulated", + "Yearly", + "High" + ], "settings": { "mimeType": "image/png", - "offset": [0, 0], + "offset": [ + 0, + 0 + ], "opacity": 1, "rotation": 0, "src": "iVBORw0KGgoAAAANSUhEUgAAABIAAAAPCAYAAADphp8SAAAAAXNSR0IB2cksfwAAAAlwSFlzAAAOxAAADsQBlSsOGwAAATxJREFUOI2d079LAnEYx/F3p9yFOMS1JK0NztHQUNQmYXHQr61JyPLIwTAIgqShHxQSghZBY3/AF3Ju7X9okLZoOAr6Uhf5vYYTyUo9/WzPl+f7ep7lCRMkyWyUaumtU0u4K7KyGzE+X+5cKzeLKMq+IePjdQeYMJDbLhz0ByXSo+Dl/ULLY6UuEdfPPUOmHjqUeJFGGUXp+4DdE2TO2eMStfbzzYD1kaR9/lgtPwSGpK6KKAZ+9z9p6ghYDgYtZBZR3kybGUumZU86onzfGcpmdWruCWjtlkUqdQpMd4SM2tcWaGNtFT9TWJsW4kL8D61mhnn39rog/kA4duEWqP+F3HoBtKEgEIq4aWVSjqhctUCxRDruKG0jENKIVF4BK3eDKMom5AyGzlBe99trTcxQ/uk0P7qiMt8j0pJvr8JggMSSoswAAAAASUVORK5CYII=", @@ -184,10 +258,17 @@ { "visible": false, "label": "Regulated, Yearly, Low", - "values": ["Regulated", "Yearly", "Low"], + "values": [ + "Regulated", + "Yearly", + "Low" + ], "settings": { "mimeType": "image/png", - "offset": [0, 0], + "offset": [ + 0, + 0 + ], "opacity": 1, "rotation": 0, "src": "iVBORw0KGgoAAAANSUhEUgAAABQAAAATCAYAAACQjC21AAAACXBIWXMAAA7EAAAOxAGVKw4bAAABTklEQVQ4jWNhoDJgGTADV4Vq84StvvqFKgYuDFYx/P7vWz0DA0MAVQxkZPjb95+B0WFBkKJdwrr7hygycHGwcsA/hv8OEIMZuxkYGMzJNnBmmjHrv7fvu5CcarYoRDE0bs391WQZyP72fQ4DA4Mqstj//4xtM9OMN6TPOvubJAPnhMoIMf5jqMUipcLx9l06AwPDFJIMZP3P2sDAwCCIXZaxbq6f+sLkTTc/E2Xg4lBF9X//GDNwWcbAwCDKzPqnnIGBoYYoA//9Y+xhYGBgxWMgAyPD/8LFQfJTY9c9fI7XwAUhSs4M/xl88BkGBVz/GFiaGBgYUnEa2NDAwMR4maGXCMOgzvyfuChQvi9u/cPrWA1UvKKYxMDAoE+0gQwMzP+YmDsZGBj8MAxcFarN8/3f92YSDIM4koHBFzlLwg2EliSSpBqIDgauPCQWAAAl/F2MVoc3hAAAAABJRU5ErkJggg==", @@ -197,10 +278,17 @@ { "visible": true, "label": "Regulated, Yearly, Normal", - "values": ["Regulated", "Yearly", "Normal"], + "values": [ + "Regulated", + "Yearly", + "Normal" + ], "settings": { "mimeType": "image/png", - "offset": [0, 0], + "offset": [ + 0, + 0 + ], "opacity": 1, "rotation": 0, "src": "iVBORw0KGgoAAAANSUhEUgAAABIAAAAPCAYAAADphp8SAAAAAXNSR0IB2cksfwAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAUhJREFUOI2d0z1Lw1AUBuD3hppCLSo4iLg6dFZBEYtZQgeFgB+jrSIEQXSxFUIFg1jTYhBHyWITEVwDOhXUSVz8Bf4DcahgBxtvrkNrIbamSd/tXM557llOBAGiGQtxRb779OuJdEOUm9UY+6o+6KYkZDN2rWdooF7dZ6BTdXzsATjqCSpaqTGXOblGxeVUc/JCzby8hYZc5pwAiDXLOM8GDwFsh4KOy8kJAGueRwK5cDl7nt94eg0MEdJ3BoC09XO8BmAlEFQwhSUCzHf8ANyyVhZnlPXKsy+0a4An4Er/bQoAjNBTAElfaCQq7gB03A8CMKdZgqSkH+2OUMmaHqaMHnRBGlsxrmgYuJVl0DboG/0qAYaCQAAS71FxE6gYHki7SiWY62wFRJqhqm5K19mMXWtBLnN0EuBk/mT093Rag/n0/WJIxJMfY79g/IvbH/IAAAAASUVORK5CYII=", @@ -292,18 +380,44 @@ } ] }, - "theme": "geo.ca", - "components": [], + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], "appBar": { "tabs": { - "core": ["geolocator", "legend", "details", "export"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] } }, "footerBar": { "tabs": { - "core": ["layers", "details", "data-table", "time-slider"] + "core": [ + "layers", + "data-table", + "time-slider" + ] } }, - "navBar": ["zoom", "rotation", "fullscreen", "home", "location", "measurement", "basemap-select", "projection"], - "corePackages": ["swiper"] + "corePackages": [ + "swiper" + ], + "theme": "geo.ca" } diff --git a/packages/geoview-core/public/configs/OSDP/osdp-air.json b/packages/geoview-core/public/configs/OSDP/osdp-air.json index 6f6d8aa9699..e2a27763e1f 100644 --- a/packages/geoview-core/public/configs/OSDP/osdp-air.json +++ b/packages/geoview-core/public/configs/OSDP/osdp-air.json @@ -233,19 +233,36 @@ } ] }, - "components": ["north-arrow", "overview-map"], + "components": [ + "north-arrow", + "overview-map" + ], "overviewMap": { "hideOnZoom": 7 }, - "navBar": ["zoom", "fullscreen", "home", "location", "basemap-select"], + "navBar": [ + "zoom", + "fullscreen", + "home", + "location", + "basemap-select" + ], "appBar": { "tabs": { - "core": ["geolocator", "legend", "details", "export"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] } }, "footerBar": { "tabs": { - "core": ["layers", "data-table"] + "core": [ + "layers", + "data-table" + ] } }, "corePackages": [], diff --git a/packages/geoview-core/public/configs/OSDP/osdp-air_en.json b/packages/geoview-core/public/configs/OSDP/osdp-air_en.json index 611ecef2b6c..0b536ff0e07 100644 --- a/packages/geoview-core/public/configs/OSDP/osdp-air_en.json +++ b/packages/geoview-core/public/configs/OSDP/osdp-air_en.json @@ -34,19 +34,36 @@ } ] }, - "components": ["north-arrow", "overview-map"], + "components": [ + "north-arrow", + "overview-map" + ], "overviewMap": { "hideOnZoom": 7 }, - "navBar": ["zoom", "fullscreen", "home", "location", "basemap-select"], + "navBar": [ + "zoom", + "fullscreen", + "home", + "location", + "basemap-select" + ], "appBar": { "tabs": { - "core": ["geolocator", "legend", "details", "export"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] } }, "footerBar": { "tabs": { - "core": ["layers", "data-table"] + "core": [ + "layers", + "data-table" + ] } }, "corePackages": [], diff --git a/packages/geoview-core/public/configs/OSDP/osdp-air_fr.json b/packages/geoview-core/public/configs/OSDP/osdp-air_fr.json index 1c42c0c8e68..73a599cdd79 100644 --- a/packages/geoview-core/public/configs/OSDP/osdp-air_fr.json +++ b/packages/geoview-core/public/configs/OSDP/osdp-air_fr.json @@ -34,19 +34,36 @@ } ] }, - "components": ["north-arrow", "overview-map"], + "components": [ + "north-arrow", + "overview-map" + ], "overviewMap": { "hideOnZoom": 7 }, - "navBar": ["zoom", "fullscreen", "home", "location", "basemap-select"], + "navBar": [ + "zoom", + "fullscreen", + "home", + "location", + "basemap-select" + ], "appBar": { "tabs": { - "core": ["geolocator", "legend", "details", "export"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] } }, "footerBar": { "tabs": { - "core": ["layers", "data-table"] + "core": [ + "layers", + "data-table" + ] } }, "corePackages": [], diff --git a/packages/geoview-core/public/configs/OSDP/osdp-biodiversity_en.json b/packages/geoview-core/public/configs/OSDP/osdp-biodiversity_en.json index cd30dd05eee..39b3199c392 100644 --- a/packages/geoview-core/public/configs/OSDP/osdp-biodiversity_en.json +++ b/packages/geoview-core/public/configs/OSDP/osdp-biodiversity_en.json @@ -34,19 +34,36 @@ } ] }, - "components": ["north-arrow", "overview-map"], + "components": [ + "north-arrow", + "overview-map" + ], "overviewMap": { "hideOnZoom": 7 }, - "navBar": ["zoom", "fullscreen", "home", "location", "basemap-select"], + "navBar": [ + "zoom", + "fullscreen", + "home", + "location", + "basemap-select" + ], "appBar": { "tabs": { - "core": ["geolocator", "legend", "details", "export"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] } }, "footerBar": { "tabs": { - "core": ["layers", "data-table"] + "core": [ + "layers", + "data-table" + ] } }, "corePackages": [], diff --git a/packages/geoview-core/public/configs/OSDP/osdp-biodiversity_fr.json b/packages/geoview-core/public/configs/OSDP/osdp-biodiversity_fr.json index 070635b0908..25480798284 100644 --- a/packages/geoview-core/public/configs/OSDP/osdp-biodiversity_fr.json +++ b/packages/geoview-core/public/configs/OSDP/osdp-biodiversity_fr.json @@ -34,19 +34,36 @@ } ] }, - "components": ["north-arrow", "overview-map"], + "components": [ + "north-arrow", + "overview-map" + ], "overviewMap": { "hideOnZoom": 7 }, - "navBar": ["zoom", "fullscreen", "home", "location", "basemap-select"], + "navBar": [ + "zoom", + "fullscreen", + "home", + "location", + "basemap-select" + ], "appBar": { "tabs": { - "core": ["geolocator", "legend", "details", "export"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] } }, "footerBar": { "tabs": { - "core": ["layers", "data-table"] + "core": [ + "layers", + "data-table" + ] } }, "corePackages": [], diff --git a/packages/geoview-core/public/configs/OSDP/osdp-climate_en.json b/packages/geoview-core/public/configs/OSDP/osdp-climate_en.json index e58f402d6b2..286f1283c26 100644 --- a/packages/geoview-core/public/configs/OSDP/osdp-climate_en.json +++ b/packages/geoview-core/public/configs/OSDP/osdp-climate_en.json @@ -39,19 +39,37 @@ } ] }, - "components": ["north-arrow", "overview-map"], + "components": [ + "north-arrow", + "overview-map" + ], "overviewMap": { "hideOnZoom": 7 }, - "navBar": ["zoom", "fullscreen", "home", "location", "basemap-select"], + "navBar": [ + "zoom", + "fullscreen", + "home", + "location", + "basemap-select" + ], "appBar": { "tabs": { - "core": ["geolocator", "legend", "details", "export"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] } }, "footerBar": { "tabs": { - "core": ["layers", "data-table", "time-slider"] + "core": [ + "layers", + "data-table", + "time-slider" + ] } }, "corePackages": [], diff --git a/packages/geoview-core/public/configs/OSDP/osdp-climate_fr.json b/packages/geoview-core/public/configs/OSDP/osdp-climate_fr.json index ae1ca677cd3..34fdbdc471c 100644 --- a/packages/geoview-core/public/configs/OSDP/osdp-climate_fr.json +++ b/packages/geoview-core/public/configs/OSDP/osdp-climate_fr.json @@ -39,19 +39,37 @@ } ] }, - "components": ["north-arrow", "overview-map"], + "components": [ + "north-arrow", + "overview-map" + ], "overviewMap": { "hideOnZoom": 7 }, - "navBar": ["zoom", "fullscreen", "home", "location", "basemap-select"], + "navBar": [ + "zoom", + "fullscreen", + "home", + "location", + "basemap-select" + ], "appBar": { "tabs": { - "core": ["geolocator", "legend", "details", "export"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] } }, "footerBar": { "tabs": { - "core": ["layers", "data-table", "time-slider"] + "core": [ + "layers", + "data-table", + "time-slider" + ] } }, "corePackages": [], diff --git a/packages/geoview-core/public/configs/OSDP/osdp-economy_en.json b/packages/geoview-core/public/configs/OSDP/osdp-economy_en.json index ebb2202f221..9fec1db6dca 100644 --- a/packages/geoview-core/public/configs/OSDP/osdp-economy_en.json +++ b/packages/geoview-core/public/configs/OSDP/osdp-economy_en.json @@ -65,19 +65,36 @@ } ] }, - "components": ["north-arrow", "overview-map"], + "components": [ + "north-arrow", + "overview-map" + ], "overviewMap": { "hideOnZoom": 7 }, - "navBar": ["zoom", "fullscreen", "home", "location", "basemap-select"], + "navBar": [ + "zoom", + "fullscreen", + "home", + "location", + "basemap-select" + ], "appBar": { "tabs": { - "core": ["geolocator", "legend", "details", "export"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] } }, "footerBar": { "tabs": { - "core": ["layers", "data-table"] + "core": [ + "layers", + "data-table" + ] } }, "corePackages": [], diff --git a/packages/geoview-core/public/configs/OSDP/osdp-economy_fr.json b/packages/geoview-core/public/configs/OSDP/osdp-economy_fr.json index 6d9c7d36cca..7117a0124a2 100644 --- a/packages/geoview-core/public/configs/OSDP/osdp-economy_fr.json +++ b/packages/geoview-core/public/configs/OSDP/osdp-economy_fr.json @@ -65,19 +65,36 @@ } ] }, - "components": ["north-arrow", "overview-map"], + "components": [ + "north-arrow", + "overview-map" + ], "overviewMap": { "hideOnZoom": 7 }, - "navBar": ["zoom", "fullscreen", "home", "location", "basemap-select"], + "navBar": [ + "zoom", + "fullscreen", + "home", + "location", + "basemap-select" + ], "appBar": { "tabs": { - "core": ["geolocator", "legend", "details", "export"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] } }, "footerBar": { "tabs": { - "core": ["layers", "data-table"] + "core": [ + "layers", + "data-table" + ] } }, "corePackages": [], diff --git a/packages/geoview-core/public/configs/OSDP/osdp-empty.json b/packages/geoview-core/public/configs/OSDP/osdp-empty.json index fb82e615268..0bdb63ef085 100644 --- a/packages/geoview-core/public/configs/OSDP/osdp-empty.json +++ b/packages/geoview-core/public/configs/OSDP/osdp-empty.json @@ -4,10 +4,22 @@ "viewSettings": { "projection": 3978, "initialView": { - "zoomAndCenter": [4.5, [-90, 60]] + "zoomAndCenter": [ + 4.5, + [ + -90, + 60 + ] + ] }, "homeView": { - "zoomAndCenter": [4.5, [-90, 60]] + "zoomAndCenter": [ + 4.5, + [ + -90, + 60 + ] + ] } }, "basemapOptions": { @@ -17,16 +29,33 @@ }, "listOfGeoviewLayerConfig": [] }, - "components": ["north-arrow", "overview-map"], - "navBar": ["zoom", "fullscreen", "home", "location", "basemap-select"], + "components": [ + "north-arrow", + "overview-map" + ], + "navBar": [ + "zoom", + "fullscreen", + "home", + "location", + "basemap-select" + ], "appBar": { "tabs": { - "core": ["geolocator", "legend", "details", "export"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] } }, "footerBar": { "tabs": { - "core": ["layers", "data-table"] + "core": [ + "layers", + "data-table" + ] } }, "corePackages": [], diff --git a/packages/geoview-core/public/configs/OSDP/osdp-health_en.json b/packages/geoview-core/public/configs/OSDP/osdp-health_en.json index a260adf6135..a3b36a445e0 100644 --- a/packages/geoview-core/public/configs/OSDP/osdp-health_en.json +++ b/packages/geoview-core/public/configs/OSDP/osdp-health_en.json @@ -118,6 +118,7 @@ } }, "corePackages": [], + "theme": "geo.ca", "corePackagesConfig": [ { "geochart": { @@ -184,6 +185,5 @@ ] } } - ], - "theme": "geo.ca" -} \ No newline at end of file + ] +} diff --git a/packages/geoview-core/public/configs/OSDP/osdp-health_fr.json b/packages/geoview-core/public/configs/OSDP/osdp-health_fr.json index a43743c9c6b..9d78b2c184e 100644 --- a/packages/geoview-core/public/configs/OSDP/osdp-health_fr.json +++ b/packages/geoview-core/public/configs/OSDP/osdp-health_fr.json @@ -118,6 +118,7 @@ } }, "corePackages": [], + "theme": "geo.ca", "corePackagesConfig": [ { "geochart": { @@ -184,6 +185,5 @@ ] } } - ], - "theme": "geo.ca" -} \ No newline at end of file + ] +} diff --git a/packages/geoview-core/public/configs/OSDP/osdp-search.json b/packages/geoview-core/public/configs/OSDP/osdp-search.json index b28fca456d6..bf0f6490f65 100644 --- a/packages/geoview-core/public/configs/OSDP/osdp-search.json +++ b/packages/geoview-core/public/configs/OSDP/osdp-search.json @@ -11,14 +11,24 @@ }, "listOfGeoviewLayerConfig": [] }, - "components": ["north-arrow", "overview-map"], + "components": [ + "north-arrow", + "overview-map" + ], "overviewMap": { "hideOnZoom": 7 }, - "navBar": ["zoom", "rotation", "location", "basemap-select"], + "navBar": [ + "zoom", + "rotation", + "location", + "basemap-select" + ], "appBar": { "tabs": { - "core": ["geolocator"] + "core": [ + "geolocator" + ] } }, "footerBar": { diff --git a/packages/geoview-core/public/configs/OSDP/osdp-simple.json b/packages/geoview-core/public/configs/OSDP/osdp-simple.json index 61657ca5704..75846b99e7a 100644 --- a/packages/geoview-core/public/configs/OSDP/osdp-simple.json +++ b/packages/geoview-core/public/configs/OSDP/osdp-simple.json @@ -11,7 +11,10 @@ }, "listOfGeoviewLayerConfig": [] }, - "components": ["north-arrow", "overview-map"], + "components": [ + "north-arrow", + "overview-map" + ], "overviewMap": { "hideOnZoom": 7 }, diff --git a/packages/geoview-core/public/configs/OSDP/osdp-society_en.json b/packages/geoview-core/public/configs/OSDP/osdp-society_en.json index 6d5f77d9f69..a950cc602ef 100644 --- a/packages/geoview-core/public/configs/OSDP/osdp-society_en.json +++ b/packages/geoview-core/public/configs/OSDP/osdp-society_en.json @@ -46,19 +46,36 @@ } ] }, - "components": ["north-arrow", "overview-map"], + "components": [ + "north-arrow", + "overview-map" + ], "overviewMap": { "hideOnZoom": 7 }, - "navBar": ["zoom", "fullscreen", "home", "location", "basemap-select"], + "navBar": [ + "zoom", + "fullscreen", + "home", + "location", + "basemap-select" + ], "appBar": { "tabs": { - "core": ["geolocator", "legend", "details", "export"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] } }, "footerBar": { "tabs": { - "core": ["layers", "data-table"] + "core": [ + "layers", + "data-table" + ] } }, "corePackages": [], diff --git a/packages/geoview-core/public/configs/OSDP/osdp-society_fr.json b/packages/geoview-core/public/configs/OSDP/osdp-society_fr.json index c7def9b3502..cadc9d1af45 100644 --- a/packages/geoview-core/public/configs/OSDP/osdp-society_fr.json +++ b/packages/geoview-core/public/configs/OSDP/osdp-society_fr.json @@ -46,19 +46,36 @@ } ] }, - "components": ["north-arrow", "overview-map"], + "components": [ + "north-arrow", + "overview-map" + ], "overviewMap": { "hideOnZoom": 7 }, - "navBar": ["zoom", "fullscreen", "home", "location", "basemap-select"], + "navBar": [ + "zoom", + "fullscreen", + "home", + "location", + "basemap-select" + ], "appBar": { "tabs": { - "core": ["geolocator", "legend", "details", "export"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] } }, "footerBar": { "tabs": { - "core": ["layers", "data-table"] + "core": [ + "layers", + "data-table" + ] } }, "corePackages": [], diff --git a/packages/geoview-core/public/configs/OSDP/osdp-water_en.json b/packages/geoview-core/public/configs/OSDP/osdp-water_en.json index c0670bde123..d0cb01e20c0 100644 --- a/packages/geoview-core/public/configs/OSDP/osdp-water_en.json +++ b/packages/geoview-core/public/configs/OSDP/osdp-water_en.json @@ -34,19 +34,36 @@ } ] }, - "components": ["north-arrow", "overview-map"], + "components": [ + "north-arrow", + "overview-map" + ], "overviewMap": { "hideOnZoom": 7 }, - "navBar": ["zoom", "fullscreen", "home", "location", "basemap-select"], + "navBar": [ + "zoom", + "fullscreen", + "home", + "location", + "basemap-select" + ], "appBar": { "tabs": { - "core": ["geolocator", "legend", "details", "export"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] } }, "footerBar": { "tabs": { - "core": ["layers", "data-table"] + "core": [ + "layers", + "data-table" + ] } }, "corePackages": [], diff --git a/packages/geoview-core/public/configs/OSDP/osdp-water_fr.json b/packages/geoview-core/public/configs/OSDP/osdp-water_fr.json index 9476ccefb71..afd30d847c3 100644 --- a/packages/geoview-core/public/configs/OSDP/osdp-water_fr.json +++ b/packages/geoview-core/public/configs/OSDP/osdp-water_fr.json @@ -34,19 +34,36 @@ } ] }, - "components": ["north-arrow", "overview-map"], + "components": [ + "north-arrow", + "overview-map" + ], "overviewMap": { "hideOnZoom": 7 }, - "navBar": ["zoom", "fullscreen", "home", "location", "basemap-select"], + "navBar": [ + "zoom", + "fullscreen", + "home", + "location", + "basemap-select" + ], "appBar": { "tabs": { - "core": ["geolocator", "legend", "details", "export"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] } }, "footerBar": { "tabs": { - "core": ["layers", "data-table"] + "core": [ + "layers", + "data-table" + ] } }, "corePackages": [], diff --git a/packages/geoview-core/public/configs/elections-canada-2019.json b/packages/geoview-core/public/configs/elections-canada-2019.json index 29638cca7d5..82fb1235b5e 100644 --- a/packages/geoview-core/public/configs/elections-canada-2019.json +++ b/packages/geoview-core/public/configs/elections-canada-2019.json @@ -3,7 +3,13 @@ "interaction": "dynamic", "viewSettings": { "initialView": { - "zoomAndCenter": [4, [-90, 60]] + "zoomAndCenter": [ + 4, + [ + -90, + 60 + ] + ] }, "projection": 3978 }, @@ -17,11 +23,6 @@ "geoviewLayerId": "polling-division-boudnaries-2019", "geoviewLayerName": "Polling Division Boundaries of 2019", "geoviewLayerType": "esriFeature", - "initialSettings": { - "states": { - "visible": true - } - }, "metadataAccessPath": "https://maps-cartes.services.geo.ca/server_serveur/rest/services/ELECTIONS/elections_canada_2019_en/mapserver", "listOfLayerEntryConfig": [ { @@ -31,16 +32,35 @@ } ] }, - "components": ["north-arrow", "overview-map"], - "navBar": ["zoom", "fullscreen", "location", "home"], + "components": [ + "north-arrow", + "overview-map" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "fullscreen", + "location", + "home" + ], "appBar": { "tabs": { - "core": ["geolocator", "legend", "details", "export"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] } }, "footerBar": { "tabs": { - "core": ["legend", "layers", "data-table"] + "core": [ + "layers", + "data-table" + ] } }, "theme": "geo.ca" diff --git a/packages/geoview-core/public/configs/footer-tabs-config.json b/packages/geoview-core/public/configs/footer-tabs-config.json index 33242458804..b307bac87d8 100644 --- a/packages/geoview-core/public/configs/footer-tabs-config.json +++ b/packages/geoview-core/public/configs/footer-tabs-config.json @@ -1,4 +1,8 @@ { + "configMeta": { + "version": "1.0", + "description": "Used in demo-custom-footer-height.html to demo the custom footer bar height." + }, "map": { "interaction": "dynamic", "viewSettings": { @@ -23,13 +27,18 @@ } ] }, - "theme": "geo.ca", - "components": ["north-arrow", "overview-map"], + "components": [ + "north-arrow", + "overview-map" + ], "footerBar": { "tabs": { - "core": ["legend", "layers"] + "core": [ + "legend", + "layers" + ] } }, "corePackages": [], - "externalPackages": [] + "theme": "geo.ca" } diff --git a/packages/geoview-core/public/configs/geo-discovery/GV_0c25772d-da22-4ac1-b130-c1d97b935f6f_en.json b/packages/geoview-core/public/configs/geo-discovery/GV_0c25772d-da22-4ac1-b130-c1d97b935f6f_en.json index 34672f0c0a6..93327e1c0b0 100644 --- a/packages/geoview-core/public/configs/geo-discovery/GV_0c25772d-da22-4ac1-b130-c1d97b935f6f_en.json +++ b/packages/geoview-core/public/configs/geo-discovery/GV_0c25772d-da22-4ac1-b130-c1d97b935f6f_en.json @@ -23,14 +23,45 @@ } ] }, - "theme": "geo.ca", + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { + "tabs": { + "core": [ + "geolocator", + "legend", + "details", + "export" + ] + } + }, "footerBar": { "tabs": { - "core": ["legend", "layers", "details", "data-table", "geochart"] + "core": [ + "layers", + "data-table", + "geochart" + ] }, "selectedTab": "geochart" }, "corePackages": [], + "theme": "geo.ca", "corePackagesConfig": [ { "geochart": { @@ -51,9 +82,9 @@ "whereClauses": [ { "field": "facility_substance", - "prefix": "\u0027", + "prefix": "'", "valueFrom": "facility_substance", - "suffix": "\u0027" + "suffix": "'" } ], "orderByField": "year" diff --git a/packages/geoview-core/public/configs/geo-discovery/GV_0c25772d-da22-4ac1-b130-c1d97b935f6f_fr.json b/packages/geoview-core/public/configs/geo-discovery/GV_0c25772d-da22-4ac1-b130-c1d97b935f6f_fr.json index c34d290836c..b716227d2bf 100644 --- a/packages/geoview-core/public/configs/geo-discovery/GV_0c25772d-da22-4ac1-b130-c1d97b935f6f_fr.json +++ b/packages/geoview-core/public/configs/geo-discovery/GV_0c25772d-da22-4ac1-b130-c1d97b935f6f_fr.json @@ -23,14 +23,45 @@ } ] }, - "theme": "geo.ca", + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { + "tabs": { + "core": [ + "geolocator", + "legend", + "details", + "export" + ] + } + }, "footerBar": { "tabs": { - "core": ["legend", "layers", "details", "data-table", "geochart"] + "core": [ + "layers", + "data-table", + "geochart" + ] }, "selectedTab": "geochart" }, "corePackages": [], + "theme": "geo.ca", "corePackagesConfig": [ { "geochart": { @@ -51,9 +82,9 @@ "whereClauses": [ { "field": "installation_substance", - "prefix": "\u0027", + "prefix": "'", "valueFrom": "installation_substance", - "suffix": "\u0027" + "suffix": "'" } ], "orderByField": "annee" diff --git a/packages/geoview-core/public/configs/geo-discovery/GV_108b3df4-f24f-4a75-868d-315c563d029c_en.json b/packages/geoview-core/public/configs/geo-discovery/GV_108b3df4-f24f-4a75-868d-315c563d029c_en.json index bcd99a4fee1..5ba0706e8e1 100644 --- a/packages/geoview-core/public/configs/geo-discovery/GV_108b3df4-f24f-4a75-868d-315c563d029c_en.json +++ b/packages/geoview-core/public/configs/geo-discovery/GV_108b3df4-f24f-4a75-868d-315c563d029c_en.json @@ -23,14 +23,45 @@ } ] }, - "theme": "geo.ca", + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { + "tabs": { + "core": [ + "geolocator", + "legend", + "details", + "export" + ] + } + }, "footerBar": { "tabs": { - "core": ["legend", "layers", "details", "data-table", "geochart"] + "core": [ + "layers", + "data-table", + "geochart" + ] }, "selectedTab": "geochart" }, "corePackages": [], + "theme": "geo.ca", "corePackagesConfig": [ { "geochart": { @@ -51,9 +82,9 @@ "whereClauses": [ { "field": "facility_substance", - "prefix": "\u0027", + "prefix": "'", "valueFrom": "facility_substance", - "suffix": "\u0027" + "suffix": "'" } ], "orderByField": "year" diff --git a/packages/geoview-core/public/configs/geo-discovery/GV_108b3df4-f24f-4a75-868d-315c563d029c_fr.json b/packages/geoview-core/public/configs/geo-discovery/GV_108b3df4-f24f-4a75-868d-315c563d029c_fr.json index c5c1581cbb8..eabe99346b9 100644 --- a/packages/geoview-core/public/configs/geo-discovery/GV_108b3df4-f24f-4a75-868d-315c563d029c_fr.json +++ b/packages/geoview-core/public/configs/geo-discovery/GV_108b3df4-f24f-4a75-868d-315c563d029c_fr.json @@ -23,14 +23,45 @@ } ] }, - "theme": "geo.ca", + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { + "tabs": { + "core": [ + "geolocator", + "legend", + "details", + "export" + ] + } + }, "footerBar": { "tabs": { - "core": ["legend", "layers", "details", "data-table", "geochart"] + "core": [ + "layers", + "data-table", + "geochart" + ] }, "selectedTab": "geochart" }, "corePackages": [], + "theme": "geo.ca", "corePackagesConfig": [ { "geochart": { @@ -51,9 +82,9 @@ "whereClauses": [ { "field": "installation_substance", - "prefix": "\u0027", + "prefix": "'", "valueFrom": "installation_substance", - "suffix": "\u0027" + "suffix": "'" } ], "orderByField": "annee" diff --git a/packages/geoview-core/public/configs/geo-discovery/GV_12acd145-626a-49eb-b850-0a59c9bc7506_en.json b/packages/geoview-core/public/configs/geo-discovery/GV_12acd145-626a-49eb-b850-0a59c9bc7506_en.json index a6aab2de80c..309fd75b0d1 100644 --- a/packages/geoview-core/public/configs/geo-discovery/GV_12acd145-626a-49eb-b850-0a59c9bc7506_en.json +++ b/packages/geoview-core/public/configs/geo-discovery/GV_12acd145-626a-49eb-b850-0a59c9bc7506_en.json @@ -34,14 +34,45 @@ } ] }, - "theme": "geo.ca", + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { + "tabs": { + "core": [ + "geolocator", + "legend", + "details", + "export" + ] + } + }, "footerBar": { "tabs": { - "core": ["legend", "layers", "details", "data-table", "geochart"] + "core": [ + "layers", + "data-table", + "geochart" + ] }, "selectedTab": "geochart" }, "corePackages": [], + "theme": "geo.ca", "corePackagesConfig": [ { "geochart": { @@ -62,9 +93,9 @@ "whereClauses": [ { "field": "StationName_NomStation", - "prefix": "\u0027", + "prefix": "'", "valueFrom": "StationName_NomStation", - "suffix": "\u0027" + "suffix": "'" } ], "orderByField": "StartDate_DateDebut" diff --git a/packages/geoview-core/public/configs/geo-discovery/GV_12acd145-626a-49eb-b850-0a59c9bc7506_fr.json b/packages/geoview-core/public/configs/geo-discovery/GV_12acd145-626a-49eb-b850-0a59c9bc7506_fr.json index de81db5d733..e4ee946e20f 100644 --- a/packages/geoview-core/public/configs/geo-discovery/GV_12acd145-626a-49eb-b850-0a59c9bc7506_fr.json +++ b/packages/geoview-core/public/configs/geo-discovery/GV_12acd145-626a-49eb-b850-0a59c9bc7506_fr.json @@ -34,14 +34,45 @@ } ] }, - "theme": "geo.ca", + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { + "tabs": { + "core": [ + "geolocator", + "legend", + "details", + "export" + ] + } + }, "footerBar": { "tabs": { - "core": ["legend", "layers", "details", "data-table", "geochart"] + "core": [ + "layers", + "data-table", + "geochart" + ] }, "selectedTab": "geochart" }, "corePackages": [], + "theme": "geo.ca", "corePackagesConfig": [ { "geochart": { @@ -62,9 +93,9 @@ "whereClauses": [ { "field": "StationName_NomStation", - "prefix": "\u0027", + "prefix": "'", "valueFrom": "StationName_NomStation", - "suffix": "\u0027" + "suffix": "'" } ], "orderByField": "StartDate_DateDebut" diff --git a/packages/geoview-core/public/configs/geo-discovery/GV_16348a20-02f4-4557-b68c-d1754e3026a4_en.json b/packages/geoview-core/public/configs/geo-discovery/GV_16348a20-02f4-4557-b68c-d1754e3026a4_en.json index 6b475786c64..bf17db18907 100644 --- a/packages/geoview-core/public/configs/geo-discovery/GV_16348a20-02f4-4557-b68c-d1754e3026a4_en.json +++ b/packages/geoview-core/public/configs/geo-discovery/GV_16348a20-02f4-4557-b68c-d1754e3026a4_en.json @@ -34,14 +34,45 @@ } ] }, - "theme": "geo.ca", + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { + "tabs": { + "core": [ + "geolocator", + "legend", + "details", + "export" + ] + } + }, "footerBar": { "tabs": { - "core": ["legend", "layers", "details", "data-table", "geochart"] + "core": [ + "layers", + "data-table", + "geochart" + ] }, "selectedTab": "geochart" }, "corePackages": [], + "theme": "geo.ca", "corePackagesConfig": [ { "geochart": { @@ -62,9 +93,9 @@ "whereClauses": [ { "field": "Station", - "prefix": "\u0027", + "prefix": "'", "valueFrom": "Station", - "suffix": "\u0027" + "suffix": "'" } ], "orderByField": "Date" diff --git a/packages/geoview-core/public/configs/geo-discovery/GV_16348a20-02f4-4557-b68c-d1754e3026a4_fr.json b/packages/geoview-core/public/configs/geo-discovery/GV_16348a20-02f4-4557-b68c-d1754e3026a4_fr.json index 3bda6bc8790..ba1b59b72a2 100644 --- a/packages/geoview-core/public/configs/geo-discovery/GV_16348a20-02f4-4557-b68c-d1754e3026a4_fr.json +++ b/packages/geoview-core/public/configs/geo-discovery/GV_16348a20-02f4-4557-b68c-d1754e3026a4_fr.json @@ -34,14 +34,45 @@ } ] }, - "theme": "geo.ca", + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { + "tabs": { + "core": [ + "geolocator", + "legend", + "details", + "export" + ] + } + }, "footerBar": { "tabs": { - "core": ["legend", "layers", "details", "data-table", "geochart"] + "core": [ + "layers", + "data-table", + "geochart" + ] }, "selectedTab": "geochart" }, "corePackages": [], + "theme": "geo.ca", "corePackagesConfig": [ { "geochart": { @@ -62,9 +93,9 @@ "whereClauses": [ { "field": "Station", - "prefix": "\u0027", + "prefix": "'", "valueFrom": "Station", - "suffix": "\u0027" + "suffix": "'" } ], "orderByField": "Date" diff --git a/packages/geoview-core/public/configs/geo-discovery/GV_21b821cf-0f1c-40ee-8925-eab12d357668_en.json b/packages/geoview-core/public/configs/geo-discovery/GV_21b821cf-0f1c-40ee-8925-eab12d357668_en.json index 70ef4979ca5..07ee134b3ca 100644 --- a/packages/geoview-core/public/configs/geo-discovery/GV_21b821cf-0f1c-40ee-8925-eab12d357668_en.json +++ b/packages/geoview-core/public/configs/geo-discovery/GV_21b821cf-0f1c-40ee-8925-eab12d357668_en.json @@ -34,14 +34,45 @@ } ] }, - "theme": "geo.ca", + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { + "tabs": { + "core": [ + "geolocator", + "legend", + "details", + "export" + ] + } + }, "footerBar": { "tabs": { - "core": ["legend", "layers", "details", "data-table", "geochart"] + "core": [ + "layers", + "data-table", + "geochart" + ] }, "selectedTab": "geochart" }, "corePackages": [], + "theme": "geo.ca", "corePackagesConfig": [ { "geochart": { @@ -62,9 +93,9 @@ "whereClauses": [ { "field": "Location_Emplacement", - "prefix": "\u0027", + "prefix": "'", "valueFrom": "Location_Emplacement", - "suffix": "\u0027" + "suffix": "'" } ], "orderByField": "CollectionStart_DebutPrelevement" diff --git a/packages/geoview-core/public/configs/geo-discovery/GV_21b821cf-0f1c-40ee-8925-eab12d357668_fr.json b/packages/geoview-core/public/configs/geo-discovery/GV_21b821cf-0f1c-40ee-8925-eab12d357668_fr.json index aa6b216c257..34ba52f1eb0 100644 --- a/packages/geoview-core/public/configs/geo-discovery/GV_21b821cf-0f1c-40ee-8925-eab12d357668_fr.json +++ b/packages/geoview-core/public/configs/geo-discovery/GV_21b821cf-0f1c-40ee-8925-eab12d357668_fr.json @@ -11,8 +11,8 @@ }, "listOfGeoviewLayerConfig": [ { - "geoviewLayerId": "Radioactivité de l\u0027air", - "geoviewLayerName": "Radioactivité de l\u0027air", + "geoviewLayerId": "Radioactivité de l'air", + "geoviewLayerName": "Radioactivité de l'air", "metadataAccessPath": "https://maps-cartes.services.geo.ca/server_serveur/rest/services/HC/airborne_radioactivity_fr/MapServer", "geoviewLayerType": "esriDynamic", "listOfLayerEntryConfig": [ @@ -34,14 +34,45 @@ } ] }, - "theme": "geo.ca", + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { + "tabs": { + "core": [ + "geolocator", + "legend", + "details", + "export" + ] + } + }, "footerBar": { "tabs": { - "core": ["legend", "layers", "details", "data-table", "geochart"] + "core": [ + "layers", + "data-table", + "geochart" + ] }, "selectedTab": "geochart" }, "corePackages": [], + "theme": "geo.ca", "corePackagesConfig": [ { "geochart": { @@ -49,7 +80,7 @@ { "layers": [ { - "layerId": "Radioactivité de l\u0027air/1", + "layerId": "Radioactivité de l'air/1", "propertyValue": "OBJECTID", "propertyDisplay": "Location_Emplacement" } @@ -62,9 +93,9 @@ "whereClauses": [ { "field": "Location_Emplacement", - "prefix": "\u0027", + "prefix": "'", "valueFrom": "Location_Emplacement", - "suffix": "\u0027" + "suffix": "'" } ], "orderByField": "CollectionStart_DebutPrelevement" diff --git a/packages/geoview-core/public/configs/geo-discovery/GV_2ac52cb2-94b8-4b91-9419-cebdf535790a_en.json b/packages/geoview-core/public/configs/geo-discovery/GV_2ac52cb2-94b8-4b91-9419-cebdf535790a_en.json index cf67ada85e1..49b676c03cd 100644 --- a/packages/geoview-core/public/configs/geo-discovery/GV_2ac52cb2-94b8-4b91-9419-cebdf535790a_en.json +++ b/packages/geoview-core/public/configs/geo-discovery/GV_2ac52cb2-94b8-4b91-9419-cebdf535790a_en.json @@ -23,14 +23,45 @@ } ] }, - "theme": "geo.ca", + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { + "tabs": { + "core": [ + "geolocator", + "legend", + "details", + "export" + ] + } + }, "footerBar": { "tabs": { - "core": ["legend", "layers", "details", "data-table", "geochart"] + "core": [ + "layers", + "data-table", + "geochart" + ] }, "selectedTab": "geochart" }, "corePackages": [], + "theme": "geo.ca", "corePackagesConfig": [ { "geochart": { @@ -51,9 +82,9 @@ "whereClauses": [ { "field": "facility_substance", - "prefix": "\u0027", + "prefix": "'", "valueFrom": "facility_substance", - "suffix": "\u0027" + "suffix": "'" } ], "orderByField": "year" diff --git a/packages/geoview-core/public/configs/geo-discovery/GV_2ac52cb2-94b8-4b91-9419-cebdf535790a_fr.json b/packages/geoview-core/public/configs/geo-discovery/GV_2ac52cb2-94b8-4b91-9419-cebdf535790a_fr.json index d3f7fc34aa1..321b4710d71 100644 --- a/packages/geoview-core/public/configs/geo-discovery/GV_2ac52cb2-94b8-4b91-9419-cebdf535790a_fr.json +++ b/packages/geoview-core/public/configs/geo-discovery/GV_2ac52cb2-94b8-4b91-9419-cebdf535790a_fr.json @@ -23,14 +23,45 @@ } ] }, - "theme": "geo.ca", + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { + "tabs": { + "core": [ + "geolocator", + "legend", + "details", + "export" + ] + } + }, "footerBar": { "tabs": { - "core": ["legend", "layers", "details", "data-table", "geochart"] + "core": [ + "layers", + "data-table", + "geochart" + ] }, "selectedTab": "geochart" }, "corePackages": [], + "theme": "geo.ca", "corePackagesConfig": [ { "geochart": { @@ -51,9 +82,9 @@ "whereClauses": [ { "field": "installation_substance", - "prefix": "\u0027", + "prefix": "'", "valueFrom": "installation_substance", - "suffix": "\u0027" + "suffix": "'" } ], "orderByField": "annee" diff --git a/packages/geoview-core/public/configs/geo-discovery/GV_3ac296d1-4a97-45ab-82c5-2a4f963cf4e6_en.json b/packages/geoview-core/public/configs/geo-discovery/GV_3ac296d1-4a97-45ab-82c5-2a4f963cf4e6_en.json index 180df781a37..4bf7b01fff7 100644 --- a/packages/geoview-core/public/configs/geo-discovery/GV_3ac296d1-4a97-45ab-82c5-2a4f963cf4e6_en.json +++ b/packages/geoview-core/public/configs/geo-discovery/GV_3ac296d1-4a97-45ab-82c5-2a4f963cf4e6_en.json @@ -23,14 +23,45 @@ } ] }, - "theme": "geo.ca", + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { + "tabs": { + "core": [ + "geolocator", + "legend", + "details", + "export" + ] + } + }, "footerBar": { "tabs": { - "core": ["legend", "layers", "details", "data-table", "geochart"] + "core": [ + "layers", + "data-table", + "geochart" + ] }, "selectedTab": "geochart" }, "corePackages": [], + "theme": "geo.ca", "corePackagesConfig": [ { "geochart": { @@ -51,9 +82,9 @@ "whereClauses": [ { "field": "facility_substance", - "prefix": "\u0027", + "prefix": "'", "valueFrom": "facility_substance", - "suffix": "\u0027" + "suffix": "'" } ], "orderByField": "year" diff --git a/packages/geoview-core/public/configs/geo-discovery/GV_3ac296d1-4a97-45ab-82c5-2a4f963cf4e6_fr.json b/packages/geoview-core/public/configs/geo-discovery/GV_3ac296d1-4a97-45ab-82c5-2a4f963cf4e6_fr.json index 71151f547f6..f38ac1f34c3 100644 --- a/packages/geoview-core/public/configs/geo-discovery/GV_3ac296d1-4a97-45ab-82c5-2a4f963cf4e6_fr.json +++ b/packages/geoview-core/public/configs/geo-discovery/GV_3ac296d1-4a97-45ab-82c5-2a4f963cf4e6_fr.json @@ -23,14 +23,45 @@ } ] }, - "theme": "geo.ca", + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { + "tabs": { + "core": [ + "geolocator", + "legend", + "details", + "export" + ] + } + }, "footerBar": { "tabs": { - "core": ["legend", "layers", "details", "data-table", "geochart"] + "core": [ + "layers", + "data-table", + "geochart" + ] }, "selectedTab": "geochart" }, "corePackages": [], + "theme": "geo.ca", "corePackagesConfig": [ { "geochart": { @@ -51,9 +82,9 @@ "whereClauses": [ { "field": "installation_substance", - "prefix": "\u0027", + "prefix": "'", "valueFrom": "installation_substance", - "suffix": "\u0027" + "suffix": "'" } ], "orderByField": "annee" diff --git a/packages/geoview-core/public/configs/geo-discovery/GV_5d0d636a-f28a-4639-9d6a-a73a9f6ab2d6_en.json b/packages/geoview-core/public/configs/geo-discovery/GV_5d0d636a-f28a-4639-9d6a-a73a9f6ab2d6_en.json index bd4fbf9ea8d..5063b91350c 100644 --- a/packages/geoview-core/public/configs/geo-discovery/GV_5d0d636a-f28a-4639-9d6a-a73a9f6ab2d6_en.json +++ b/packages/geoview-core/public/configs/geo-discovery/GV_5d0d636a-f28a-4639-9d6a-a73a9f6ab2d6_en.json @@ -23,14 +23,45 @@ } ] }, - "theme": "geo.ca", + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { + "tabs": { + "core": [ + "geolocator", + "legend", + "details", + "export" + ] + } + }, "footerBar": { "tabs": { - "core": ["legend", "layers", "details", "data-table", "geochart"] + "core": [ + "layers", + "data-table", + "geochart" + ] }, "selectedTab": "geochart" }, "corePackages": [], + "theme": "geo.ca", "corePackagesConfig": [ { "geochart": { @@ -51,9 +82,9 @@ "whereClauses": [ { "field": "facility_substance", - "prefix": "\u0027", + "prefix": "'", "valueFrom": "facility_substance", - "suffix": "\u0027" + "suffix": "'" } ], "orderByField": "year" diff --git a/packages/geoview-core/public/configs/geo-discovery/GV_5d0d636a-f28a-4639-9d6a-a73a9f6ab2d6_fr.json b/packages/geoview-core/public/configs/geo-discovery/GV_5d0d636a-f28a-4639-9d6a-a73a9f6ab2d6_fr.json index 4066d3ec0ce..271abb9d421 100644 --- a/packages/geoview-core/public/configs/geo-discovery/GV_5d0d636a-f28a-4639-9d6a-a73a9f6ab2d6_fr.json +++ b/packages/geoview-core/public/configs/geo-discovery/GV_5d0d636a-f28a-4639-9d6a-a73a9f6ab2d6_fr.json @@ -23,14 +23,45 @@ } ] }, - "theme": "geo.ca", + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { + "tabs": { + "core": [ + "geolocator", + "legend", + "details", + "export" + ] + } + }, "footerBar": { "tabs": { - "core": ["legend", "layers", "details", "data-table", "geochart"] + "core": [ + "layers", + "data-table", + "geochart" + ] }, "selectedTab": "geochart" }, "corePackages": [], + "theme": "geo.ca", "corePackagesConfig": [ { "geochart": { @@ -51,9 +82,9 @@ "whereClauses": [ { "field": "installation_substance", - "prefix": "\u0027", + "prefix": "'", "valueFrom": "installation_substance", - "suffix": "\u0027" + "suffix": "'" } ], "orderByField": "annee" diff --git a/packages/geoview-core/public/configs/geo-discovery/GV_67bedee8-beb0-4b3a-a1c6-24a4cda08afe_en.json b/packages/geoview-core/public/configs/geo-discovery/GV_67bedee8-beb0-4b3a-a1c6-24a4cda08afe_en.json index 128744c148f..e9bc6c3206a 100644 --- a/packages/geoview-core/public/configs/geo-discovery/GV_67bedee8-beb0-4b3a-a1c6-24a4cda08afe_en.json +++ b/packages/geoview-core/public/configs/geo-discovery/GV_67bedee8-beb0-4b3a-a1c6-24a4cda08afe_en.json @@ -34,14 +34,45 @@ } ] }, - "theme": "geo.ca", + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { + "tabs": { + "core": [ + "geolocator", + "legend", + "details", + "export" + ] + } + }, "footerBar": { "tabs": { - "core": ["legend", "layers", "details", "data-table", "geochart"] + "core": [ + "layers", + "data-table", + "geochart" + ] }, "selectedTab": "geochart" }, "corePackages": [], + "theme": "geo.ca", "corePackagesConfig": [ { "geochart": { @@ -62,9 +93,9 @@ "whereClauses": [ { "field": "Station", - "prefix": "\u0027", + "prefix": "'", "valueFrom": "Station", - "suffix": "\u0027" + "suffix": "'" } ], "orderByField": "ShippingDate_DateExpedition" diff --git a/packages/geoview-core/public/configs/geo-discovery/GV_67bedee8-beb0-4b3a-a1c6-24a4cda08afe_fr.json b/packages/geoview-core/public/configs/geo-discovery/GV_67bedee8-beb0-4b3a-a1c6-24a4cda08afe_fr.json index 29173a837d0..2d3436b6430 100644 --- a/packages/geoview-core/public/configs/geo-discovery/GV_67bedee8-beb0-4b3a-a1c6-24a4cda08afe_fr.json +++ b/packages/geoview-core/public/configs/geo-discovery/GV_67bedee8-beb0-4b3a-a1c6-24a4cda08afe_fr.json @@ -34,14 +34,45 @@ } ] }, - "theme": "geo.ca", + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { + "tabs": { + "core": [ + "geolocator", + "legend", + "details", + "export" + ] + } + }, "footerBar": { "tabs": { - "core": ["legend", "layers", "details", "data-table", "geochart"] + "core": [ + "layers", + "data-table", + "geochart" + ] }, "selectedTab": "geochart" }, "corePackages": [], + "theme": "geo.ca", "corePackagesConfig": [ { "geochart": { @@ -62,9 +93,9 @@ "whereClauses": [ { "field": "Station", - "prefix": "\u0027", + "prefix": "'", "valueFrom": "Station", - "suffix": "\u0027" + "suffix": "'" } ], "orderByField": "ShippingDate_DateExpedition" diff --git a/packages/geoview-core/public/configs/geo-discovery/GV_685257af-5592-49de-8726-90090c6c3061_en.json b/packages/geoview-core/public/configs/geo-discovery/GV_685257af-5592-49de-8726-90090c6c3061_en.json index 7059def4658..ed5d4185afa 100644 --- a/packages/geoview-core/public/configs/geo-discovery/GV_685257af-5592-49de-8726-90090c6c3061_en.json +++ b/packages/geoview-core/public/configs/geo-discovery/GV_685257af-5592-49de-8726-90090c6c3061_en.json @@ -34,14 +34,45 @@ } ] }, - "theme": "geo.ca", + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { + "tabs": { + "core": [ + "geolocator", + "legend", + "details", + "export" + ] + } + }, "footerBar": { "tabs": { - "core": ["legend", "layers", "details", "data-table", "geochart"] + "core": [ + "layers", + "data-table", + "geochart" + ] }, "selectedTab": "geochart" }, "corePackages": [], + "theme": "geo.ca", "corePackagesConfig": [ { "geochart": { @@ -62,9 +93,9 @@ "whereClauses": [ { "field": "Location_EN", - "prefix": "\u0027", + "prefix": "'", "valueFrom": "Location_EN", - "suffix": "\u0027" + "suffix": "'" } ], "orderByField": "StartDate_DateDebut" diff --git a/packages/geoview-core/public/configs/geo-discovery/GV_685257af-5592-49de-8726-90090c6c3061_fr.json b/packages/geoview-core/public/configs/geo-discovery/GV_685257af-5592-49de-8726-90090c6c3061_fr.json index 5a1dafbf888..baea20bddbf 100644 --- a/packages/geoview-core/public/configs/geo-discovery/GV_685257af-5592-49de-8726-90090c6c3061_fr.json +++ b/packages/geoview-core/public/configs/geo-discovery/GV_685257af-5592-49de-8726-90090c6c3061_fr.json @@ -34,14 +34,45 @@ } ] }, - "theme": "geo.ca", + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { + "tabs": { + "core": [ + "geolocator", + "legend", + "details", + "export" + ] + } + }, "footerBar": { "tabs": { - "core": ["legend", "layers", "details", "data-table", "geochart"] + "core": [ + "layers", + "data-table", + "geochart" + ] }, "selectedTab": "geochart" }, "corePackages": [], + "theme": "geo.ca", "corePackagesConfig": [ { "geochart": { @@ -62,9 +93,9 @@ "whereClauses": [ { "field": "Emplacement_FR", - "prefix": "\u0027", + "prefix": "'", "valueFrom": "Emplacement_FR", - "suffix": "\u0027" + "suffix": "'" } ], "orderByField": "StartDate_DateDebut" diff --git a/packages/geoview-core/public/configs/geo-discovery/GV_a8177faf-6cdd-4afd-83af-331248b3d168_en.json b/packages/geoview-core/public/configs/geo-discovery/GV_a8177faf-6cdd-4afd-83af-331248b3d168_en.json index dd78576e9ae..16568a0d222 100644 --- a/packages/geoview-core/public/configs/geo-discovery/GV_a8177faf-6cdd-4afd-83af-331248b3d168_en.json +++ b/packages/geoview-core/public/configs/geo-discovery/GV_a8177faf-6cdd-4afd-83af-331248b3d168_en.json @@ -23,14 +23,45 @@ } ] }, - "theme": "geo.ca", + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { + "tabs": { + "core": [ + "geolocator", + "legend", + "details", + "export" + ] + } + }, "footerBar": { "tabs": { - "core": ["legend", "layers", "details", "data-table", "geochart"] + "core": [ + "layers", + "data-table", + "geochart" + ] }, "selectedTab": "geochart" }, "corePackages": [], + "theme": "geo.ca", "corePackagesConfig": [ { "geochart": { @@ -51,9 +82,9 @@ "whereClauses": [ { "field": "facility_substance", - "prefix": "\u0027", + "prefix": "'", "valueFrom": "facility_substance", - "suffix": "\u0027" + "suffix": "'" } ], "orderByField": "year" diff --git a/packages/geoview-core/public/configs/geo-discovery/GV_a8177faf-6cdd-4afd-83af-331248b3d168_fr.json b/packages/geoview-core/public/configs/geo-discovery/GV_a8177faf-6cdd-4afd-83af-331248b3d168_fr.json index 87da7c9cab3..960e5f164b5 100644 --- a/packages/geoview-core/public/configs/geo-discovery/GV_a8177faf-6cdd-4afd-83af-331248b3d168_fr.json +++ b/packages/geoview-core/public/configs/geo-discovery/GV_a8177faf-6cdd-4afd-83af-331248b3d168_fr.json @@ -23,14 +23,45 @@ } ] }, - "theme": "geo.ca", + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { + "tabs": { + "core": [ + "geolocator", + "legend", + "details", + "export" + ] + } + }, "footerBar": { "tabs": { - "core": ["legend", "layers", "details", "data-table", "geochart"] + "core": [ + "layers", + "data-table", + "geochart" + ] }, "selectedTab": "geochart" }, "corePackages": [], + "theme": "geo.ca", "corePackagesConfig": [ { "geochart": { @@ -51,9 +82,9 @@ "whereClauses": [ { "field": "installation_substance", - "prefix": "\u0027", + "prefix": "'", "valueFrom": "installation_substance", - "suffix": "\u0027" + "suffix": "'" } ], "orderByField": "annee" diff --git a/packages/geoview-core/public/configs/geo-discovery/GV_c0f487b5-56b7-438d-8ccc-c13a38ab6f2e_en.json b/packages/geoview-core/public/configs/geo-discovery/GV_c0f487b5-56b7-438d-8ccc-c13a38ab6f2e_en.json index 4bd251ee0c6..ea5329887c6 100644 --- a/packages/geoview-core/public/configs/geo-discovery/GV_c0f487b5-56b7-438d-8ccc-c13a38ab6f2e_en.json +++ b/packages/geoview-core/public/configs/geo-discovery/GV_c0f487b5-56b7-438d-8ccc-c13a38ab6f2e_en.json @@ -23,14 +23,45 @@ } ] }, - "theme": "geo.ca", + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { + "tabs": { + "core": [ + "geolocator", + "legend", + "details", + "export" + ] + } + }, "footerBar": { "tabs": { - "core": ["legend", "layers", "details", "data-table", "geochart"] + "core": [ + "layers", + "data-table", + "geochart" + ] }, "selectedTab": "geochart" }, "corePackages": [], + "theme": "geo.ca", "corePackagesConfig": [ { "geochart": { @@ -51,9 +82,9 @@ "whereClauses": [ { "field": "facility_substance", - "prefix": "\u0027", + "prefix": "'", "valueFrom": "facility_substance", - "suffix": "\u0027" + "suffix": "'" } ], "orderByField": "year" diff --git a/packages/geoview-core/public/configs/geo-discovery/GV_c0f487b5-56b7-438d-8ccc-c13a38ab6f2e_fr.json b/packages/geoview-core/public/configs/geo-discovery/GV_c0f487b5-56b7-438d-8ccc-c13a38ab6f2e_fr.json index b8fb94295b1..6c50560538b 100644 --- a/packages/geoview-core/public/configs/geo-discovery/GV_c0f487b5-56b7-438d-8ccc-c13a38ab6f2e_fr.json +++ b/packages/geoview-core/public/configs/geo-discovery/GV_c0f487b5-56b7-438d-8ccc-c13a38ab6f2e_fr.json @@ -23,14 +23,45 @@ } ] }, - "theme": "geo.ca", + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { + "tabs": { + "core": [ + "geolocator", + "legend", + "details", + "export" + ] + } + }, "footerBar": { "tabs": { - "core": ["legend", "layers", "details", "data-table", "geochart"] + "core": [ + "layers", + "data-table", + "geochart" + ] }, "selectedTab": "geochart" }, "corePackages": [], + "theme": "geo.ca", "corePackagesConfig": [ { "geochart": { @@ -51,9 +82,9 @@ "whereClauses": [ { "field": "installation_substance", - "prefix": "\u0027", + "prefix": "'", "valueFrom": "installation_substance", - "suffix": "\u0027" + "suffix": "'" } ], "orderByField": "annee" diff --git a/packages/geoview-core/public/configs/geo-discovery/GV_c25c2a90-9a96-4bcf-924a-3aba0755cc21_en.json b/packages/geoview-core/public/configs/geo-discovery/GV_c25c2a90-9a96-4bcf-924a-3aba0755cc21_en.json index dcb7a6d927f..b5c84beda10 100644 --- a/packages/geoview-core/public/configs/geo-discovery/GV_c25c2a90-9a96-4bcf-924a-3aba0755cc21_en.json +++ b/packages/geoview-core/public/configs/geo-discovery/GV_c25c2a90-9a96-4bcf-924a-3aba0755cc21_en.json @@ -34,14 +34,45 @@ } ] }, - "theme": "geo.ca", + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { + "tabs": { + "core": [ + "geolocator", + "legend", + "details", + "export" + ] + } + }, "footerBar": { "tabs": { - "core": ["legend", "layers", "details", "data-table", "geochart"] + "core": [ + "layers", + "data-table", + "geochart" + ] }, "selectedTab": "geochart" }, "corePackages": [], + "theme": "geo.ca", "corePackagesConfig": [ { "geochart": { @@ -62,9 +93,9 @@ "whereClauses": [ { "field": "Station_Sample_Substance", - "prefix": "\u0027", + "prefix": "'", "valueFrom": "Station_Sample_Substance", - "suffix": "\u0027" + "suffix": "'" } ], "orderByField": "Year" diff --git a/packages/geoview-core/public/configs/geo-discovery/GV_c25c2a90-9a96-4bcf-924a-3aba0755cc21_fr.json b/packages/geoview-core/public/configs/geo-discovery/GV_c25c2a90-9a96-4bcf-924a-3aba0755cc21_fr.json index b9c45c07fb2..7231c4b53a4 100644 --- a/packages/geoview-core/public/configs/geo-discovery/GV_c25c2a90-9a96-4bcf-924a-3aba0755cc21_fr.json +++ b/packages/geoview-core/public/configs/geo-discovery/GV_c25c2a90-9a96-4bcf-924a-3aba0755cc21_fr.json @@ -34,14 +34,45 @@ } ] }, - "theme": "geo.ca", + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { + "tabs": { + "core": [ + "geolocator", + "legend", + "details", + "export" + ] + } + }, "footerBar": { "tabs": { - "core": ["legend", "layers", "details", "data-table", "geochart"] + "core": [ + "layers", + "data-table", + "geochart" + ] }, "selectedTab": "geochart" }, "corePackages": [], + "theme": "geo.ca", "corePackagesConfig": [ { "geochart": { @@ -62,9 +93,9 @@ "whereClauses": [ { "field": "Station_echantillon_substance", - "prefix": "\u0027", + "prefix": "'", "valueFrom": "Station_echantillon_substance", - "suffix": "\u0027" + "suffix": "'" } ], "orderByField": "Annee" diff --git a/packages/geoview-core/public/configs/geo-discovery/GV_eaf01a95-a241-445e-b1a9-ff2256b59f98_en.json b/packages/geoview-core/public/configs/geo-discovery/GV_eaf01a95-a241-445e-b1a9-ff2256b59f98_en.json index ff09f1dc318..dab78b5da28 100644 --- a/packages/geoview-core/public/configs/geo-discovery/GV_eaf01a95-a241-445e-b1a9-ff2256b59f98_en.json +++ b/packages/geoview-core/public/configs/geo-discovery/GV_eaf01a95-a241-445e-b1a9-ff2256b59f98_en.json @@ -23,14 +23,45 @@ } ] }, - "theme": "geo.ca", + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { + "tabs": { + "core": [ + "geolocator", + "legend", + "details", + "export" + ] + } + }, "footerBar": { "tabs": { - "core": ["legend", "layers", "details", "data-table", "geochart"] + "core": [ + "layers", + "data-table", + "geochart" + ] }, "selectedTab": "geochart" }, "corePackages": [], + "theme": "geo.ca", "corePackagesConfig": [ { "geochart": { @@ -51,9 +82,9 @@ "whereClauses": [ { "field": "facility_substance", - "prefix": "\u0027", + "prefix": "'", "valueFrom": "facility_substance", - "suffix": "\u0027" + "suffix": "'" } ], "orderByField": "year" diff --git a/packages/geoview-core/public/configs/geo-discovery/GV_eaf01a95-a241-445e-b1a9-ff2256b59f98_fr.json b/packages/geoview-core/public/configs/geo-discovery/GV_eaf01a95-a241-445e-b1a9-ff2256b59f98_fr.json index d4827a5ced7..e45925d5de7 100644 --- a/packages/geoview-core/public/configs/geo-discovery/GV_eaf01a95-a241-445e-b1a9-ff2256b59f98_fr.json +++ b/packages/geoview-core/public/configs/geo-discovery/GV_eaf01a95-a241-445e-b1a9-ff2256b59f98_fr.json @@ -23,14 +23,45 @@ } ] }, - "theme": "geo.ca", + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { + "tabs": { + "core": [ + "geolocator", + "legend", + "details", + "export" + ] + } + }, "footerBar": { "tabs": { - "core": ["legend", "layers", "details", "data-table", "geochart"] + "core": [ + "layers", + "data-table", + "geochart" + ] }, "selectedTab": "geochart" }, "corePackages": [], + "theme": "geo.ca", "corePackagesConfig": [ { "geochart": { @@ -51,9 +82,9 @@ "whereClauses": [ { "field": "installation_substance", - "prefix": "\u0027", + "prefix": "'", "valueFrom": "installation_substance", - "suffix": "\u0027" + "suffix": "'" } ], "orderByField": "annee" diff --git a/packages/geoview-core/public/configs/geo-discovery/GV_f0d1c3a9-cf78-4b07-af55-9e8d4303449e_en.json b/packages/geoview-core/public/configs/geo-discovery/GV_f0d1c3a9-cf78-4b07-af55-9e8d4303449e_en.json index f5e7caa07bb..56283df8c38 100644 --- a/packages/geoview-core/public/configs/geo-discovery/GV_f0d1c3a9-cf78-4b07-af55-9e8d4303449e_en.json +++ b/packages/geoview-core/public/configs/geo-discovery/GV_f0d1c3a9-cf78-4b07-af55-9e8d4303449e_en.json @@ -34,14 +34,45 @@ } ] }, - "theme": "geo.ca", + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { + "tabs": { + "core": [ + "geolocator", + "legend", + "details", + "export" + ] + } + }, "footerBar": { "tabs": { - "core": ["legend", "layers", "details", "data-table", "geochart"] + "core": [ + "layers", + "data-table", + "geochart" + ] }, "selectedTab": "geochart" }, "corePackages": [], + "theme": "geo.ca", "corePackagesConfig": [ { "geochart": { @@ -62,9 +93,9 @@ "whereClauses": [ { "field": "location_name", - "prefix": "\u0027", + "prefix": "'", "valueFrom": "location_name", - "suffix": "\u0027" + "suffix": "'" } ], "orderByField": "end_time" diff --git a/packages/geoview-core/public/configs/geo-discovery/GV_f0d1c3a9-cf78-4b07-af55-9e8d4303449e_fr.json b/packages/geoview-core/public/configs/geo-discovery/GV_f0d1c3a9-cf78-4b07-af55-9e8d4303449e_fr.json index 4397efa2551..e7b53b180e6 100644 --- a/packages/geoview-core/public/configs/geo-discovery/GV_f0d1c3a9-cf78-4b07-af55-9e8d4303449e_fr.json +++ b/packages/geoview-core/public/configs/geo-discovery/GV_f0d1c3a9-cf78-4b07-af55-9e8d4303449e_fr.json @@ -34,14 +34,45 @@ } ] }, - "theme": "geo.ca", + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { + "tabs": { + "core": [ + "geolocator", + "legend", + "details", + "export" + ] + } + }, "footerBar": { "tabs": { - "core": ["legend", "layers", "details", "data-table", "geochart"] + "core": [ + "layers", + "data-table", + "geochart" + ] }, "selectedTab": "geochart" }, "corePackages": [], + "theme": "geo.ca", "corePackagesConfig": [ { "geochart": { @@ -62,9 +93,9 @@ "whereClauses": [ { "field": "nom_emplacement", - "prefix": "\u0027", + "prefix": "'", "valueFrom": "nom_emplacement", - "suffix": "\u0027" + "suffix": "'" } ], "orderByField": "heure_fin" diff --git a/packages/geoview-core/public/configs/geo-discovery/GV_particulate_en.json b/packages/geoview-core/public/configs/geo-discovery/GV_particulate_en.json index bed0341cc9e..82e15902087 100644 --- a/packages/geoview-core/public/configs/geo-discovery/GV_particulate_en.json +++ b/packages/geoview-core/public/configs/geo-discovery/GV_particulate_en.json @@ -45,14 +45,45 @@ } ] }, - "theme": "geo.ca", - "components": ["overview-map", "north-arrow"], - "footerBar": { + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { "tabs": { - "core": ["layers", "data-table", "geochart"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] } }, + "footerBar": { + "tabs": { + "core": [ + "layers", + "data-table", + "geochart" + ] + }, + "selectedTab": "geochart" + }, "corePackages": [], + "theme": "geo.ca", "corePackagesConfig": [ { "geochart": { @@ -66,7 +97,9 @@ } ], "chart": "line", - "chartjsOptions": { "radius": 2 }, + "chartjsOptions": { + "radius": 2 + }, "query": { "type": "esriRegular", "url": "https://maps-cartes.services.geo.ca/server_serveur/rest/services/HC/arc_en/MapServer/4", @@ -74,9 +107,9 @@ "whereClauses": [ { "field": "station_name", - "prefix": "\u0027", + "prefix": "'", "valueFrom": "station_name", - "suffix": "\u0027" + "suffix": "'" } ], "orderByField": "start_time" @@ -108,7 +141,10 @@ "ySlider": { "display": false }, - "scalesSwitcher": ["linear", "logarithmic"], + "scalesSwitcher": [ + "linear", + "logarithmic" + ], "stepsSwitcher": false, "resetStates": true, "description": "Airborne Radionuclide Concentrations", @@ -124,7 +160,9 @@ } ], "chart": "line", - "chartjsOptions": { "radius": 2 }, + "chartjsOptions": { + "radius": 2 + }, "query": { "type": "esriRegular", "url": "https://maps-cartes.services.geo.ca/server_serveur/rest/services/HC/arc_en/MapServer/4", @@ -132,9 +170,9 @@ "whereClauses": [ { "field": "station_name", - "prefix": "\u0027", + "prefix": "'", "valueFrom": "station_name", - "suffix": "\u0027" + "suffix": "'" } ], "orderByField": "start_time" @@ -166,7 +204,10 @@ "ySlider": { "display": false }, - "scalesSwitcher": ["linear", "logarithmic"], + "scalesSwitcher": [ + "linear", + "logarithmic" + ], "stepsSwitcher": false, "resetStates": true, "description": "Airborne Radionuclide Concentrations", @@ -176,11 +217,5 @@ ] } } - ], - "externalPackages": [], - "appBar": { - "tabs": { - "core": ["legend", "details"] - } - } + ] } diff --git a/packages/geoview-core/public/configs/geo-discovery/GV_particulate_fr.json b/packages/geoview-core/public/configs/geo-discovery/GV_particulate_fr.json index 02ea81f0ee7..7e374dbd506 100644 --- a/packages/geoview-core/public/configs/geo-discovery/GV_particulate_fr.json +++ b/packages/geoview-core/public/configs/geo-discovery/GV_particulate_fr.json @@ -45,14 +45,45 @@ } ] }, - "theme": "geo.ca", - "components": ["overview-map", "north-arrow"], - "footerBar": { + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { "tabs": { - "core": ["layers", "data-table", "geochart"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] } }, + "footerBar": { + "tabs": { + "core": [ + "layers", + "data-table", + "geochart" + ] + }, + "selectedTab": "geochart" + }, "corePackages": [], + "theme": "geo.ca", "corePackagesConfig": [ { "geochart": { @@ -66,7 +97,9 @@ } ], "chart": "line", - "chartjsOptions": { "radius": 2 }, + "chartjsOptions": { + "radius": 2 + }, "query": { "type": "esriRegular", "url": "https://maps-cartes.services.geo.ca/server_serveur/rest/services/HC/arc_fr/MapServer/4", @@ -74,9 +107,9 @@ "whereClauses": [ { "field": "nom_station", - "prefix": "\u0027", + "prefix": "'", "valueFrom": "nom_station", - "suffix": "\u0027" + "suffix": "'" } ], "orderByField": "heure_debut" @@ -92,7 +125,7 @@ "yAxis": { "type": "logarithmic", "property": "mesure", - "label": "Concentration de radionucléides dans l\u0027air (Bq/m³)", + "label": "Concentration de radionucléides dans l'air (Bq/m³)", "tooltipSuffix": "Bq/m³" }, "borderWidth": 2 @@ -108,10 +141,13 @@ "ySlider": { "display": false }, - "scalesSwitcher": ["linear", "logarithmic"], + "scalesSwitcher": [ + "linear", + "logarithmic" + ], "stepsSwitcher": false, "resetStates": true, - "description": "Concentrations de radionucléides dans l\u0027air", + "description": "Concentrations de radionucléides dans l'air", "download": true } }, @@ -124,7 +160,9 @@ } ], "chart": "line", - "chartjsOptions": { "radius": 2 }, + "chartjsOptions": { + "radius": 2 + }, "query": { "type": "esriRegular", "url": "https://maps-cartes.services.geo.ca/server_serveur/rest/services/HC/arc_fr/MapServer/4", @@ -132,9 +170,9 @@ "whereClauses": [ { "field": "nom_station", - "prefix": "\u0027", + "prefix": "'", "valueFrom": "nom_station", - "suffix": "\u0027" + "suffix": "'" } ], "orderByField": "heure_debut" @@ -150,7 +188,7 @@ "yAxis": { "type": "logarithmic", "property": "mesure", - "label": "Concentration de radionucléides dans l\u0027air (Bq/m³)", + "label": "Concentration de radionucléides dans l'air (Bq/m³)", "tooltipSuffix": "Bq/m³" }, "borderWidth": 2 @@ -166,21 +204,18 @@ "ySlider": { "display": false }, - "scalesSwitcher": ["linear", "logarithmic"], + "scalesSwitcher": [ + "linear", + "logarithmic" + ], "stepsSwitcher": false, "resetStates": true, - "description": "Concentrations de radionucléides dans l\u0027air", + "description": "Concentrations de radionucléides dans l'air", "download": true } } ] } } - ], - "externalPackages": [], - "appBar": { - "tabs": { - "core": ["legend", "details"] - } - } + ] } diff --git a/packages/geoview-core/public/configs/geojson-inject.json b/packages/geoview-core/public/configs/geojson-inject.json index a434386de46..e0c761af97b 100644 --- a/packages/geoview-core/public/configs/geojson-inject.json +++ b/packages/geoview-core/public/configs/geojson-inject.json @@ -23,19 +23,35 @@ } ] }, - "components": ["overview-map"], + "components": [ + "overview-map" + ], "overviewMap": { "hideOnZoom": 7 }, + "navBar": [ + "zoom", + "fullscreen", + "home", + "basemap-select", + "drawer" + ], "appBar": { "tabs": { - "core": ["geolocator", "export", "legend", "details"] + "core": [ + "geolocator", + "export", + "legend", + "details" + ] } }, - "navBar": ["zoom", "fullscreen", "home","basemap-select", "drawer"], "footerBar": { "tabs": { - "core": ["layers", "data-table"], + "core": [ + "layers", + "data-table" + ], "custom": [ { "id": "download-map-data", diff --git a/packages/geoview-core/public/configs/loading-packages-config.json b/packages/geoview-core/public/configs/loading-packages-config.json index 9bb541760b6..8006dbcc4d3 100644 --- a/packages/geoview-core/public/configs/loading-packages-config.json +++ b/packages/geoview-core/public/configs/loading-packages-config.json @@ -10,13 +10,28 @@ "labeled": true } }, - "theme": "geo.ca", - "components": ["north-arrow", "overview-map"], - "corePackages": [], + "components": [ + "north-arrow", + "overview-map" + ], + "navBar": [ + "drawer" + ], "appBar": { "tabs": { - "core": ["geolocator", "export", "about-panel", "aoi-panel", "custom-legend", "guide", "details", "data-table", "layers"] + "core": [ + "geolocator", + "export", + "about-panel", + "aoi-panel", + "custom-legend", + "guide", + "details", + "data-table", + "layers" + ] } }, - "navBar": ["drawer"] + "corePackages": [], + "theme": "geo.ca" } diff --git a/packages/geoview-core/public/configs/many-groups.json b/packages/geoview-core/public/configs/many-groups.json index 058ea800604..bc7e7fb8a4c 100644 --- a/packages/geoview-core/public/configs/many-groups.json +++ b/packages/geoview-core/public/configs/many-groups.json @@ -16,18 +16,31 @@ } ] }, - "components": ["overview-map", "north-arrow"], + "components": [ + "overview-map", + "north-arrow" + ], "overviewMap": { "hideOnZoom": 7 }, "appBar": { "tabs": { - "core": ["export", "legend", "details", "geolocator"] + "core": [ + "export", + "legend", + "details", + "geolocator" + ] } }, "footerBar": { "tabs": { - "core": ["layers", "geochart", "time-slider", "data-table"] + "core": [ + "layers", + "geochart", + "time-slider", + "data-table" + ] } }, "corePackages": [], diff --git a/packages/geoview-core/public/configs/max-record-count.json b/packages/geoview-core/public/configs/max-record-count.json index aa357ed9028..c9600142504 100644 --- a/packages/geoview-core/public/configs/max-record-count.json +++ b/packages/geoview-core/public/configs/max-record-count.json @@ -3,7 +3,13 @@ "interaction": "dynamic", "viewSettings": { "initialView": { - "zoomAndCenter": [4, [-100, 60]] + "zoomAndCenter": [ + 4, + [ + -100, + 60 + ] + ] }, "projection": 3978 }, @@ -37,16 +43,32 @@ } ] }, - "components": ["north-arrow", "overview-map"], - "navBar": ["zoom", "fullscreen", "location", "home"], + "components": [ + "north-arrow", + "overview-map" + ], + "navBar": [ + "zoom", + "fullscreen", + "location", + "home" + ], "appBar": { "tabs": { - "core": ["geolocator", "legend", "details", "export"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] } }, "footerBar": { "tabs": { - "core": ["layers", "data-table"] + "core": [ + "layers", + "data-table" + ] } }, "theme": "geo.ca" diff --git a/packages/geoview-core/public/configs/my-config.json b/packages/geoview-core/public/configs/my-config.json index 9864c7c1e1f..51f99b2c2fa 100644 --- a/packages/geoview-core/public/configs/my-config.json +++ b/packages/geoview-core/public/configs/my-config.json @@ -1,4 +1,8 @@ { + "configMeta": { + "version": "1.0", + "description": "Simple configuration file used in the default-config.html demo page." + }, "map": { "interaction": "static", "viewSettings": { @@ -52,7 +56,7 @@ } ] }, - "theme": "geo.ca", "components": [], - "corePackages": [] + "corePackages": [], + "theme": "geo.ca" } diff --git a/packages/geoview-core/public/configs/navigator/demos/00-basic-footer-appbar-combo.json b/packages/geoview-core/public/configs/navigator/demos/00-basic-footer-appbar-combo.json index 44010f83af7..0c1ea2e5818 100644 --- a/packages/geoview-core/public/configs/navigator/demos/00-basic-footer-appbar-combo.json +++ b/packages/geoview-core/public/configs/navigator/demos/00-basic-footer-appbar-combo.json @@ -1,4 +1,7 @@ { + "configMeta": { + "description": "FooterBar and appBar combo with multiple layer types, overlay markers, uniqueValue styles, and canRemoveSublayers disabled." + }, "map": { "interaction": "dynamic", "viewSettings": { @@ -37,13 +40,17 @@ "layerStyle": { "Polygon": { "type": "uniqueValue", - "fields": ["STATE_NAME"], + "fields": [ + "STATE_NAME" + ], "hasDefault": true, "info": [ { "label": "Alabama", "visible": true, - "values": ["Alabama"], + "values": [ + "Alabama" + ], "settings": { "type": "filledPolygon", "color": "rgba(237,81,81,1)", @@ -58,7 +65,9 @@ { "label": "California", "visible": true, - "values": ["California"], + "values": [ + "California" + ], "settings": { "type": "filledPolygon", "color": "rgba(252,146,31,1)", @@ -119,13 +128,17 @@ "layerStyle": { "Point": { "type": "uniqueValue", - "fields": ["Province | Province"], + "fields": [ + "Province | Province" + ], "hasDefault": true, "info": [ { "label": "NL", "visible": true, - "values": ["NL"], + "values": [ + "NL" + ], "settings": { "type": "simpleSymbol", "rotation": 0, @@ -137,13 +150,18 @@ }, "size": 4.002000000000001, "symbol": "circle", - "offset": [0, 0] + "offset": [ + 0, + 0 + ] } }, { "label": "NB", "visible": true, - "values": ["NB"], + "values": [ + "NB" + ], "settings": { "type": "simpleSymbol", "rotation": 0, @@ -155,7 +173,10 @@ }, "size": 4.002000000000001, "symbol": "circle", - "offset": [0, 0] + "offset": [ + 0, + 0 + ] } }, { @@ -173,7 +194,10 @@ }, "size": 4.002000000000001, "symbol": "circle", - "offset": [0, 0] + "offset": [ + 0, + 0 + ] } } ] @@ -193,13 +217,17 @@ "layerStyle": { "Polygon": { "type": "uniqueValue", - "fields": ["name"], + "fields": [ + "name" + ], "hasDefault": true, "info": [ { "label": "Lake Superior", "visible": true, - "values": ["Lake Superior"], + "values": [ + "Lake Superior" + ], "settings": { "type": "filledPolygon", "color": "rgba(237,81,81,1)", @@ -214,7 +242,9 @@ { "label": "L. Ontario", "visible": true, - "values": ["L. Ontario"], + "values": [ + "L. Ontario" + ], "settings": { "type": "filledPolygon", "color": "rgba(252,146,31,1)", @@ -249,20 +279,37 @@ } ] }, - "theme": "geo.ca", - "footerBar": { - "tabs": { - "core": ["layers", "data-table"] - } - }, + "components": [ + "north-arrow", + "overview-map" + ], + "navBar": [ + "zoom", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select" + ], "appBar": { "tabs": { - "core": ["geolocator", "legend", "details", "export"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] }, "selectedTab": "legend" }, - "navBar": ["zoom", "fullscreen", "home", "location", "measurement", "basemap-select"], - "components": ["north-arrow", "overview-map"], + "footerBar": { + "tabs": { + "core": [ + "layers", + "data-table" + ] + } + }, "corePackages": [], - "externalPackages": [] + "theme": "geo.ca" } diff --git a/packages/geoview-core/public/configs/navigator/demos/01-basemap-LCC-TLS.json b/packages/geoview-core/public/configs/navigator/demos/01-basemap-LCC-TLS.json index 2617b427956..4943f7a476f 100644 --- a/packages/geoview-core/public/configs/navigator/demos/01-basemap-LCC-TLS.json +++ b/packages/geoview-core/public/configs/navigator/demos/01-basemap-LCC-TLS.json @@ -1,11 +1,24 @@ { + "configMeta": { + "description": "LCC projection (3978) with transport basemap, maxExtent, custom initialView extent (projected values)." + }, "map": { "interaction": "dynamic", "viewSettings": { "projection": 3978, - "maxExtent": [-125, 30, -60, 89], + "maxExtent": [ + -110, + 30, + -60, + 80 + ], "initialView": { - "extent": [618157.4086582607, -950073.2626501226, 2039609.776216048, 476729.6157014831] + "extent": [ + 618157.4086582607, + -950073.2626501226, + 2039609.776216048, + 476729.6157014831 + ] } }, "basemapOptions": { @@ -15,11 +28,16 @@ "labelZIndex": 20 } }, - "navBar": ["measurement"], - "components": ["overview-map", "north-arrow"], + "components": [ + "overview-map", + "north-arrow" + ], "overviewMap": { "hideOnZoom": 7 }, + "navBar": [ + "measurement" + ], "corePackages": [], "theme": "geo.ca" } diff --git a/packages/geoview-core/public/configs/navigator/demos/02-basemap-LCC-SL.json b/packages/geoview-core/public/configs/navigator/demos/02-basemap-LCC-SL.json index 6a402f1145a..c0ad1ea15ca 100644 --- a/packages/geoview-core/public/configs/navigator/demos/02-basemap-LCC-SL.json +++ b/packages/geoview-core/public/configs/navigator/demos/02-basemap-LCC-SL.json @@ -1,4 +1,7 @@ { + "configMeta": { + "description": "LCC projection (3978) with simple basemap. Minimal config (default appBar, footerBar and navBar)." + }, "map": { "interaction": "dynamic", "viewSettings": { @@ -11,7 +14,10 @@ "labelZIndex": 20 } }, - "components": ["overview-map", "north-arrow"], + "components": [ + "overview-map", + "north-arrow" + ], "overviewMap": { "hideOnZoom": 7 }, diff --git a/packages/geoview-core/public/configs/navigator/demos/03-projection-WM.json b/packages/geoview-core/public/configs/navigator/demos/03-projection-WM.json index 9060532d037..1bfd00ba673 100644 --- a/packages/geoview-core/public/configs/navigator/demos/03-projection-WM.json +++ b/packages/geoview-core/public/configs/navigator/demos/03-projection-WM.json @@ -1,4 +1,7 @@ { + "configMeta": { + "description": "Web Mercator projection (3857) with transport basemap and measurement navBar." + }, "map": { "interaction": "dynamic", "viewSettings": { @@ -10,8 +13,13 @@ "labeled": true } }, - "navBar": ["measurement"], - "components": ["overview-map", "north-arrow"], + "components": [ + "overview-map", + "north-arrow" + ], + "navBar": [ + "measurement" + ], "corePackages": [], "theme": "geo.ca" } diff --git a/packages/geoview-core/public/configs/navigator/demos/04-restrict-zoom.json b/packages/geoview-core/public/configs/navigator/demos/04-restrict-zoom.json index f79d43caa07..efa484da0f9 100644 --- a/packages/geoview-core/public/configs/navigator/demos/04-restrict-zoom.json +++ b/packages/geoview-core/public/configs/navigator/demos/04-restrict-zoom.json @@ -1,4 +1,7 @@ { + "configMeta": { + "description": "Restricted zoom range with minZoom 6 and maxZoom 8 on LCC projection." + }, "map": { "interaction": "dynamic", "viewSettings": { @@ -12,7 +15,10 @@ "labeled": true } }, - "components": ["overview-map", "north-arrow"], + "components": [ + "overview-map", + "north-arrow" + ], "corePackages": [], "theme": "geo.ca" } diff --git a/packages/geoview-core/public/configs/navigator/demos/05-max-extent-override.json b/packages/geoview-core/public/configs/navigator/demos/05-max-extent-override.json index 1cc03e19e8e..9896af64a30 100644 --- a/packages/geoview-core/public/configs/navigator/demos/05-max-extent-override.json +++ b/packages/geoview-core/public/configs/navigator/demos/05-max-extent-override.json @@ -1,8 +1,16 @@ { + "configMeta": { + "description": "maxExtent override on Web Mercator to allow full world extent." + }, "map": { "interaction": "dynamic", "viewSettings": { - "maxExtent": [-180, -50, 180, 89], + "maxExtent": [ + -180, + -50, + 180, + 89 + ], "projection": 3857 }, "basemapOptions": { @@ -17,11 +25,22 @@ } ] }, - "components": ["overview-map", "north-arrow"], - "navBar": ["home", "projection"], + "components": [ + "overview-map", + "north-arrow" + ], + "navBar": [ + "home", + "projection" + ], "footerBar": { "tabs": { - "core": ["legend", "layers", "details", "data-table"] + "core": [ + "legend", + "layers", + "details", + "data-table" + ] } }, "corePackages": [], diff --git a/packages/geoview-core/public/configs/navigator/demos/06-zoom-layer.json b/packages/geoview-core/public/configs/navigator/demos/06-zoom-layer.json index ab0ea9ec0fc..ae3ba8d68a9 100644 --- a/packages/geoview-core/public/configs/navigator/demos/06-zoom-layer.json +++ b/packages/geoview-core/public/configs/navigator/demos/06-zoom-layer.json @@ -1,9 +1,15 @@ { + "configMeta": { + "description": "initialView.layerIds to zoom to layer extents on load and highlightColor red instead of default." + }, "map": { "interaction": "dynamic", "viewSettings": { "initialView": { - "layerIds": ["geojsonLYR1/base-group/polygons.json", "geojsonLYR1/base-group/lines.json"] + "layerIds": [ + "geojsonLYR1/base-group/polygons.json", + "geojsonLYR1/base-group/lines.json" + ] }, "projection": 3978 }, @@ -65,19 +71,34 @@ } ] }, - "theme": "geo.ca", + "components": [ + "overview-map", + "north-arrow" + ], + "navBar": [ + "zoom", + "fullscreen", + "home", + "location" + ], "appBar": { "tabs": { - "core": ["geolocator", "legend", "details", "export"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] } }, - "navBar": ["zoom", "fullscreen", "home", "location"], "footerBar": { "tabs": { - "core": ["layers", "data-table"] + "core": [ + "layers", + "data-table" + ] } }, - "components": ["overview-map", "north-arrow"], "corePackages": [], - "externalPackages": [] + "theme": "geo.ca" } diff --git a/packages/geoview-core/public/configs/navigator/demos/07-layer-zoom-levels.json b/packages/geoview-core/public/configs/navigator/demos/07-layer-zoom-levels.json index ec9a2305088..9e2d6c97cb1 100644 --- a/packages/geoview-core/public/configs/navigator/demos/07-layer-zoom-levels.json +++ b/packages/geoview-core/public/configs/navigator/demos/07-layer-zoom-levels.json @@ -1,4 +1,7 @@ { + "configMeta": { + "description": "Per-layer zoom and scale limits via minScale, initialSettings minZoom and maxZoom at group and child levels." + }, "map": { "interaction": "dynamic", "viewSettings": { @@ -70,15 +73,26 @@ } ] }, - "components": ["overview-map", "north-arrow"], - "footerBar": { + "components": [ + "overview-map", + "north-arrow" + ], + "appBar": { "tabs": { - "core": ["layers", "data-table"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] } }, - "appBar": { + "footerBar": { "tabs": { - "core": ["geolocator", "legend", "details", "export"] + "core": [ + "layers", + "data-table" + ] } }, "corePackages": [], diff --git a/packages/geoview-core/public/configs/navigator/demos/08-all-layer-zoom-levels.json b/packages/geoview-core/public/configs/navigator/demos/08-all-layer-zoom-levels.json index 35bfcda8d70..b43190345fd 100644 --- a/packages/geoview-core/public/configs/navigator/demos/08-all-layer-zoom-levels.json +++ b/packages/geoview-core/public/configs/navigator/demos/08-all-layer-zoom-levels.json @@ -1,4 +1,7 @@ { + "configMeta": { + "description": "Comprehensive zoom and scale test covering all layer types. Each layer sets both initialSettings.maxZoom (zoom-level cap, discrete 0-18) and minScale (denominator-based threshold e.g. 1:10000000). maxZoom hides the layer when the user zooms beyond level 8, while minScale hides it when the map scale denominator drops below 10000000. Both constraints are combined — the most restrictive wins." + }, "map": { "interaction": "dynamic", "viewSettings": { @@ -171,7 +174,12 @@ }, "source": { "dataAccessPath": "https://datacube-prod-data-public.s3.ca-central-1.amazonaws.com/store/imagery/aerial/napl/napl-ring-of-fire/napl-ring-of-fire-1954-08-07-60k-thumbnail.png", - "extent": [-87.77486341686723, 51.62285357468582, -84.57727128084842, 53.833354975551075], + "extent": [ + -87.77486341686723, + 51.62285357468582, + -84.57727128084842, + 53.833354975551075 + ], "projection": 4326 }, "minScale": 10000000 @@ -259,18 +267,29 @@ } ] }, - "components": ["overview-map", "north-arrow"], + "components": [ + "overview-map", + "north-arrow" + ], "overviewMap": { "hideOnZoom": 7 }, - "footerBar": { + "appBar": { "tabs": { - "core": ["layers", "data-table"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] } }, - "appBar": { + "footerBar": { "tabs": { - "core": ["geolocator", "legend", "details", "export"] + "core": [ + "layers", + "data-table" + ] } }, "corePackages": [], diff --git a/packages/geoview-core/public/configs/navigator/demos/09-basic-footer-layers-tab.json b/packages/geoview-core/public/configs/navigator/demos/09-basic-footer-layers-tab.json index 1c337c1a180..32c3bd58bab 100644 --- a/packages/geoview-core/public/configs/navigator/demos/09-basic-footer-layers-tab.json +++ b/packages/geoview-core/public/configs/navigator/demos/09-basic-footer-layers-tab.json @@ -1,4 +1,7 @@ { + "configMeta": { + "description": "FooterBar with layers tab, overlay markers, intentional bad URL layer, and canRemoveSublayers disabled." + }, "map": { "interaction": "dynamic", "viewSettings": { @@ -9,28 +12,6 @@ "shaded": true, "labeled": true }, - "overlayObjects": { - "pointMarkers": { - "group1": [ - { - "id": "1", - "coordinate": [-100, 60], - "color": "blue", - "opacity": 0.5 - }, - { - "id": "2", - "coordinate": [-80, 65], - "color": "rgb(0, 226, 0)" - }, - { - "id": "3", - "coordinate": [-115, 66], - "color": "#C52022" - } - ] - } - }, "listOfGeoviewLayerConfig": [ { "geoviewLayerId": "airborne_radioactivity", @@ -120,7 +101,9 @@ "layerId": "points_1.json", "layerName": "Points 1", "initialSettings": { - "controls": { "remove": true } + "controls": { + "remove": true + } } }, { @@ -135,25 +118,66 @@ } ] } - ] + ], + "overlayObjects": { + "pointMarkers": { + "group1": [ + { + "id": "1", + "coordinate": [ + -100, + 60 + ], + "color": "blue", + "opacity": 0.5 + }, + { + "id": "2", + "coordinate": [ + -80, + 65 + ], + "color": "rgb(0, 226, 0)" + }, + { + "id": "3", + "coordinate": [ + -115, + 66 + ], + "color": "#C52022" + } + ] + } + } + }, + "components": [ + "north-arrow", + "overview-map" + ], + "appBar": { + "tabs": { + "core": [ + "geolocator", + "export" + ] + } }, - "theme": "geo.ca", - "components": ["north-arrow", "overview-map"], "footerBar": { "tabs": { - "core": ["legend", "details", "layers", "data-table"] + "core": [ + "legend", + "details", + "layers", + "data-table" + ] }, "selectedTab": "layers", "selectedLayersLayerPath": "airborne_radioactivity/1" }, "corePackages": [], - "externalPackages": [], - "appBar": { - "tabs": { - "core": ["geolocator", "export"] - } - }, "globalSettings": { "canRemoveSublayers": false - } + }, + "theme": "geo.ca" } diff --git a/packages/geoview-core/public/configs/navigator/demos/10-basic-appbar-data-table-tab.json b/packages/geoview-core/public/configs/navigator/demos/10-basic-appbar-data-table-tab.json index 007e5b65301..fd802bc7b8f 100644 --- a/packages/geoview-core/public/configs/navigator/demos/10-basic-appbar-data-table-tab.json +++ b/packages/geoview-core/public/configs/navigator/demos/10-basic-appbar-data-table-tab.json @@ -1,4 +1,7 @@ { + "configMeta": { + "description": "All core tabs in appBar including data-table, selectedTab data-table, and selectedDataTableLayerPath. FooterBar is set to [] to remove it from map instead of default tabs, to show that appBar and data-table can work without footerBar." + }, "map": { "interaction": "dynamic", "viewSettings": { @@ -78,10 +81,27 @@ } ] }, - "theme": "geo.ca", + "components": [ + "north-arrow", + "overview-map" + ], + "navBar": [ + "zoom", + "fullscreen", + "home", + "location" + ], "appBar": { "tabs": { - "core": ["geolocator", "export", "guide", "details", "legend", "data-table", "layers"] + "core": [ + "geolocator", + "export", + "guide", + "details", + "legend", + "data-table", + "layers" + ] }, "selectedTab": "data-table", "selectedDataTableLayerPath": "uniqueValueId/1" @@ -91,8 +111,6 @@ "core": [] } }, - "navBar": ["zoom", "fullscreen", "home", "location"], - "components": ["north-arrow", "overview-map"], "corePackages": [], - "externalPackages": [] + "theme": "geo.ca" } diff --git a/packages/geoview-core/public/configs/navigator/demos/11-package-time-slider.json b/packages/geoview-core/public/configs/navigator/demos/11-package-time-slider.json index 23320866797..70a742f3443 100644 --- a/packages/geoview-core/public/configs/navigator/demos/11-package-time-slider.json +++ b/packages/geoview-core/public/configs/navigator/demos/11-package-time-slider.json @@ -1,4 +1,7 @@ { + "configMeta": { + "description": "Time-slider footerBar tab with multiple temporal layers including ESRI Image, WMS, esriDynamic, and esriFeature." + }, "map": { "interaction": "dynamic", "viewSettings": { @@ -76,7 +79,7 @@ } ] }, - { + { "geoviewLayerId": "archive-flood-wms", "geoviewLayerName": "Archive Flood - WMS CDTK", "metadataAccessPath": "https://qgis-stage.cdtk.geogc.ca/ows/nrcan/EGS_Flood_Archive_DEV_en?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities", @@ -113,27 +116,40 @@ { "layerId": "msi-94-or-more", "source": { - "wmsStyle": ["msi-binary"] + "wmsStyle": [ + "msi-binary" + ] } } ] } ] }, - "theme": "geo.ca", + "components": [ + "north-arrow", + "overview-map" + ], "appBar": { "tabs": { - "core": ["geolocator", "legend", "details", "export"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] } }, - "components": ["north-arrow", "overview-map"], "footerBar": { "tabs": { - "core": ["layers", "data-table", "time-slider"] + "core": [ + "layers", + "data-table", + "time-slider" + ] }, "selectedTab": "time-slider", "selectedTimeSliderLayerPath": "historical-flood-dynamic/0" }, "corePackages": [], - "externalPackages": [] + "theme": "geo.ca" } diff --git a/packages/geoview-core/public/configs/navigator/demos/12-package-time-slider-custom.json b/packages/geoview-core/public/configs/navigator/demos/12-package-time-slider-custom.json index adaf5c7958d..14c2d787e2d 100644 --- a/packages/geoview-core/public/configs/navigator/demos/12-package-time-slider-custom.json +++ b/packages/geoview-core/public/configs/navigator/demos/12-package-time-slider-custom.json @@ -1,4 +1,7 @@ { + "configMeta": { + "description": "Multiple custom time-slider configurations: one with multiple layers sharing a slider, one with range, custom displayDateFormat and single handle for the network dataset." + }, "map": { "interaction": "dynamic", "viewSettings": { @@ -91,27 +94,44 @@ } ] }, - "theme": "geo.ca", + "components": [ + "north-arrow", + "overview-map" + ], "appBar": { "tabs": { - "core": ["geolocator", "legend", "details", "export"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] } }, - "components": ["north-arrow", "overview-map"], "footerBar": { "tabs": { - "core": ["layers", "data-table", "time-slider"] + "core": [ + "layers", + "data-table", + "time-slider" + ] }, "selectedTab": "time-slider", "selectedTimeSliderLayerPath": "wmsLYR1-spatiotemporel/RADAR_1KM_RSNO" }, "corePackages": [], + "globalSettings": { + "displayDateMode": "iso" + }, + "theme": "geo.ca", "corePackagesConfig": [ { "time-slider": { "sliders": [ { - "layerPaths": ["wmsLYR1-spatiotemporel/RADAR_1KM_RSNO"], + "layerPaths": [ + "wmsLYR1-spatiotemporel/RADAR_1KM_RSNO" + ], "title": "Spatiotemporel - Custom", "description": "Custom inline description", "locked": true, @@ -124,20 +144,32 @@ } }, { - "layerPaths": ["MSI/msi-94-or-more"], + "layerPaths": [ + "MSI/msi-94-or-more" + ], "timeDimension": { - "default": ["2011-08-15T00:00:00Z"], + "default": [ + "2011-08-15T00:00:00Z" + ], "displayDateTimezone": "UTC" } }, { - "layerPaths": ["fire_progression/0", "fire_perimeters/1", "floods_canada/1", "historical-flood/0"], + "layerPaths": [ + "fire_progression/0", + "fire_perimeters/1", + "floods_canada/1", + "historical-flood/0" + ], "title": "Progression and Perimeters of Fires and Floods", "delay": 5000, "filtering": false, "timeDimension": { "field": "DATE_", - "default": ["2023-04-19T00:00:00Z", "2025-09-15T00:00:00Z"], + "default": [ + "2023-04-19T00:00:00Z", + "2025-09-15T00:00:00Z" + ], "nearestValues": "continuous", "displayDateFormat": { "en": "YYYY-MM-DD", @@ -145,56 +177,55 @@ }, "rangeItems": { "type": "", - "range": ["2023-04-19T00:00:00+00:00", "2025-09-15T00:00:00+00:00"] + "range": [ + "2023-04-19T00:00:00+00:00", + "2025-09-15T00:00:00+00:00" + ] }, "singleHandle": false } }, { "layerPaths": [ - "df168bcf-4abc-4756/0" + "df168bcf-4abc-4756/0" ], "delay": 2000, "fields": [ - "Year" + "Year" ], "filtering": true, "timeDimension": { - "field": "Year", - "default": [ - "2013-01-01T00:00:00Z" - ], - "nearestValues": "discrete", - "displayDateFormat": { - "en": "YYYY", - "fr": "YYYY" - }, - "rangeItems": { - "type": "", - "range": [ - "2013-01-01T00:00:00Z", - "2014-01-01T00:00:00Z", - "2015-01-01T00:00:00Z", - "2016-01-01T00:00:00Z", - "2017-01-01T00:00:00Z", - "2018-01-01T00:00:00Z", - "2019-01-01T00:00:00Z", - "2020-01-01T00:00:00Z", - "2021-01-01T00:00:00Z", - "2022-01-01T00:00:00Z", - "2023-01-01T00:00:00Z", - "2024-01-01T00:00:00Z" - ] - }, - "singleHandle": true + "field": "Year", + "default": [ + "2013-01-01T00:00:00Z" + ], + "nearestValues": "discrete", + "displayDateFormat": { + "en": "YYYY", + "fr": "YYYY" + }, + "rangeItems": { + "type": "", + "range": [ + "2013-01-01T00:00:00Z", + "2014-01-01T00:00:00Z", + "2015-01-01T00:00:00Z", + "2016-01-01T00:00:00Z", + "2017-01-01T00:00:00Z", + "2018-01-01T00:00:00Z", + "2019-01-01T00:00:00Z", + "2020-01-01T00:00:00Z", + "2021-01-01T00:00:00Z", + "2022-01-01T00:00:00Z", + "2023-01-01T00:00:00Z", + "2024-01-01T00:00:00Z" + ] + }, + "singleHandle": true } - } + } ] } } - ], - "externalPackages": [], - "globalSettings": { - "displayDateMode": "iso" - } + ] } diff --git a/packages/geoview-core/public/configs/navigator/demos/13-package-geochart-cdtk.json b/packages/geoview-core/public/configs/navigator/demos/13-package-geochart-cdtk.json index ef110333103..9348a5ee3ec 100644 --- a/packages/geoview-core/public/configs/navigator/demos/13-package-geochart-cdtk.json +++ b/packages/geoview-core/public/configs/navigator/demos/13-package-geochart-cdtk.json @@ -1,4 +1,7 @@ { + "configMeta": { + "description": "Geochart plugin with CDTK/QGIS data sources (WMS, WFS)." + }, "map": { "interaction": "dynamic", "viewSettings": { @@ -51,20 +54,31 @@ } ] }, - "theme": "geo.ca", + "components": [ + "north-arrow", + "overview-map" + ], "appBar": { "tabs": { - "core": ["geolocator", "legend", "details", "export"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] } }, - "components": ["north-arrow", "overview-map"], "footerBar": { "tabs": { - "core": ["layers", "geochart"] + "core": [ + "layers", + "geochart" + ] }, "selectedTab": "geochart" }, "corePackages": [], + "theme": "geo.ca", "corePackagesConfig": [ { "geochart": { diff --git a/packages/geoview-core/public/configs/navigator/demos/13-package-geochart.json b/packages/geoview-core/public/configs/navigator/demos/13-package-geochart.json index 6ddeab5f7df..dd9f0bd04e9 100644 --- a/packages/geoview-core/public/configs/navigator/demos/13-package-geochart.json +++ b/packages/geoview-core/public/configs/navigator/demos/13-package-geochart.json @@ -1,4 +1,7 @@ { + "configMeta": { + "description": "Full geochart with multiple layer types and inline chart definitions with xSlider and ySlider." + }, "map": { "interaction": "dynamic", "viewSettings": { @@ -89,20 +92,31 @@ } ] }, - "theme": "geo.ca", + "components": [ + "north-arrow", + "overview-map" + ], "appBar": { "tabs": { - "core": ["geolocator", "legend", "details", "export"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] } }, - "components": ["north-arrow", "overview-map"], "footerBar": { "tabs": { - "core": ["layers", "geochart"] + "core": [ + "layers", + "geochart" + ] }, "selectedTab": "geochart" }, "corePackages": [], + "theme": "geo.ca", "corePackagesConfig": [ { "geochart": { @@ -134,7 +148,9 @@ "geochart": { "xAxis": { "type": "time", - "grid": { "drawOnChartArea": false }, + "grid": { + "drawOnChartArea": false + }, "property": "CollectionStart_DebutPrelevement", "label": "Collected date", "timeFormat": { @@ -144,7 +160,9 @@ }, "yAxis": { "type": "linear", - "grid": { "drawOnChartArea": false }, + "grid": { + "drawOnChartArea": false + }, "property": "Activity_Activite_mBqm3", "label": "Activity (mBqm3)", "tooltipSuffix": "mBqm3" @@ -163,7 +181,10 @@ "display": true }, "stepsSwitcher": true, - "scalesSwitcher": ["linear", "logarithmic"], + "scalesSwitcher": [ + "linear", + "logarithmic" + ], "description": "This is a description text", "download": true } diff --git a/packages/geoview-core/public/configs/navigator/demos/14-package-swiper.json b/packages/geoview-core/public/configs/navigator/demos/14-package-swiper.json index 9f05d11d9b6..f60becc9140 100644 --- a/packages/geoview-core/public/configs/navigator/demos/14-package-swiper.json +++ b/packages/geoview-core/public/configs/navigator/demos/14-package-swiper.json @@ -1,4 +1,7 @@ { + "configMeta": { + "description": "Swiper plugin with horizontal orientation on esriFeature layer." + }, "map": { "interaction": "dynamic", "viewSettings": { @@ -26,21 +29,30 @@ } ] }, - "theme": "light", - "components": ["north-arrow", "overview-map"], + "components": [ + "north-arrow", + "overview-map" + ], "appBar": { "tabs": { - "core": ["legend", "details"] + "core": [ + "legend", + "details" + ] } }, - "corePackages": ["swiper"], - "externalPackages": [], + "corePackages": [ + "swiper" + ], + "theme": "light", "corePackagesConfig": [ { "swiper": { "orientation": "horizontal", "keyboardOffset": 10, - "layers": ["esriFeatureLYR4/0"] + "layers": [ + "esriFeatureLYR4/0" + ] } } ] diff --git a/packages/geoview-core/public/configs/navigator/demos/15-package-drawer.json b/packages/geoview-core/public/configs/navigator/demos/15-package-drawer.json index 646d8929478..619df33fd28 100644 --- a/packages/geoview-core/public/configs/navigator/demos/15-package-drawer.json +++ b/packages/geoview-core/public/configs/navigator/demos/15-package-drawer.json @@ -1,4 +1,7 @@ { + "configMeta": { + "description": "Drawer plugin with custom fill and stroke style, all geometry types, and measurements hidden by default." + }, "map": { "interaction": "dynamic", "viewSettings": { @@ -38,11 +41,16 @@ } ] }, - "theme": "light", "components": [ "north-arrow", "overview-map" ], + "navBar": [ + "drawer", + "basemap-select", + "projection", + "fullscreen" + ], "appBar": { "tabs": { "core": [ @@ -52,23 +60,17 @@ ] } }, - "navBar": [ - "drawer", - "basemap-select", - "projection", - "fullscreen" - ], "corePackages": [], - "externalPackages": [], + "theme": "light", "corePackagesConfig": [ { "drawer": { "style": { - "fillColor": "rgba(252, 241, 0, 0.3)", - "strokeColor": "#000000", - "strokeWidth": 1.3 + "fillColor": "rgba(0, 255, 255, 0.3)", + "strokeColor": "#0000ff", + "strokeWidth": 3 }, - "activeGeom": "LineString", + "activeGeom": "Star", "geomTypes": [ "Point", "Text", @@ -78,8 +80,8 @@ "Circle", "Star" ], - "hideMeasurements": false + "hideMeasurements": true } } ] -} \ No newline at end of file +} diff --git a/packages/geoview-core/public/configs/navigator/demos/16-package-area-of-interest.json b/packages/geoview-core/public/configs/navigator/demos/16-package-area-of-interest.json index 99cffdfdd69..4651f6599c2 100644 --- a/packages/geoview-core/public/configs/navigator/demos/16-package-area-of-interest.json +++ b/packages/geoview-core/public/configs/navigator/demos/16-package-area-of-interest.json @@ -1,4 +1,7 @@ { + "configMeta": { + "description": "AOI panel plugin in appBar with 2 areas of interest." + }, "map": { "interaction": "dynamic", "viewSettings": { @@ -10,14 +13,19 @@ "labeled": true } }, - "theme": "geo.ca", - "components": ["north-arrow", "overview-map"], - "corePackages": [], + "components": [ + "north-arrow", + "overview-map" + ], "appBar": { "tabs": { - "core": ["aoi-panel"] + "core": [ + "aoi-panel" + ] } }, + "corePackages": [], + "theme": "geo.ca", "corePackagesConfig": [ { "aoi-panel": { @@ -26,12 +34,22 @@ { "imageUrl": "https://encrypted-tbn1.gstatic.com/licensed-image?q=tbn:ANd9GcSbleN5tjC2Dilx77SCBJD9f3CxlnDEEGx5qY786BpVlu4JLzUd1ixjIOfO1WX5mJjUQLmSSg4JFuNWgqGZJZDV7LBH8y3QBz3KrjuHdg", "aoiTitle": "CN Tower", - "extent": [-79.3881, 43.6416, -79.3861, 43.6436] + "extent": [ + -79.3881, + 43.6416, + -79.3861, + 43.6436 + ] }, { "imageUrl": "https://encrypted-tbn0.gstatic.com/licensed-image?q=tbn:ANd9GcTCSU8D4pV4fY9MfYa6NZvpcMrCDhxE-ySOSzbxqSCC67_loNeJ9WI-2Ki7zCfU36M0Iwt7-4aw0y3_Vg8t_8sxo86xS6HVewQdYjOOXA", "aoiTitle": "Parliament Hill", - "extent": [-75.7019, 45.4226, -75.6999, 45.4246] + "extent": [ + -75.7019, + 45.4226, + -75.6999, + 45.4246 + ] } ], "version": "1.0" diff --git a/packages/geoview-core/public/configs/navigator/demos/17-package-custom-legend.json b/packages/geoview-core/public/configs/navigator/demos/17-package-custom-legend.json index 3b76bcfb3fa..d1a33926ba9 100644 --- a/packages/geoview-core/public/configs/navigator/demos/17-package-custom-legend.json +++ b/packages/geoview-core/public/configs/navigator/demos/17-package-custom-legend.json @@ -1,4 +1,7 @@ { + "configMeta": { + "description": "Custom-legend plugin with structured legendList, headers, and groups with collapsed states." + }, "map": { "interaction": "dynamic", "viewSettings": { @@ -64,14 +67,19 @@ } ] }, - "theme": "geo.ca", - "components": ["north-arrow", "overview-map"], - "corePackages": [], + "components": [ + "north-arrow", + "overview-map" + ], "appBar": { "tabs": { - "core": ["custom-legend"] + "core": [ + "custom-legend" + ] } }, + "corePackages": [], + "theme": "geo.ca", "corePackagesConfig": [ { "custom-legend": { diff --git a/packages/geoview-core/public/configs/navigator/demos/18-package-about-panel-md-strings.json b/packages/geoview-core/public/configs/navigator/demos/18-package-about-panel-md-strings.json index 8d43e213be7..f087d341eb5 100644 --- a/packages/geoview-core/public/configs/navigator/demos/18-package-about-panel-md-strings.json +++ b/packages/geoview-core/public/configs/navigator/demos/18-package-about-panel-md-strings.json @@ -1,4 +1,7 @@ { + "configMeta": { + "description": "About-panel plugin using inline mdContent array." + }, "map": { "interaction": "dynamic", "viewSettings": { @@ -10,14 +13,19 @@ "labeled": true } }, - "theme": "geo.ca", - "components": ["north-arrow", "overview-map"], - "corePackages": [], + "components": [ + "north-arrow", + "overview-map" + ], "appBar": { "tabs": { - "core": ["about-panel"] + "core": [ + "about-panel" + ] } }, + "corePackages": [], + "theme": "geo.ca", "corePackagesConfig": [ { "about-panel": { diff --git a/packages/geoview-core/public/configs/navigator/demos/18-package-about-panel-md.json b/packages/geoview-core/public/configs/navigator/demos/18-package-about-panel-md.json index 679b67cd892..aebf33ca03d 100644 --- a/packages/geoview-core/public/configs/navigator/demos/18-package-about-panel-md.json +++ b/packages/geoview-core/public/configs/navigator/demos/18-package-about-panel-md.json @@ -1,4 +1,7 @@ { + "configMeta": { + "description": "About-panel plugin using external mdPath file reference." + }, "map": { "interaction": "dynamic", "viewSettings": { @@ -10,14 +13,19 @@ "labeled": true } }, - "theme": "geo.ca", - "components": ["north-arrow", "overview-map"], - "corePackages": [], + "components": [ + "north-arrow", + "overview-map" + ], "appBar": { "tabs": { - "core": ["about-panel"] + "core": [ + "about-panel" + ] } }, + "corePackages": [], + "theme": "geo.ca", "corePackagesConfig": [ { "about-panel": { diff --git a/packages/geoview-core/public/configs/navigator/demos/18-package-about-panel.json b/packages/geoview-core/public/configs/navigator/demos/18-package-about-panel.json index 9dadc9527f6..a29ad9602d2 100644 --- a/packages/geoview-core/public/configs/navigator/demos/18-package-about-panel.json +++ b/packages/geoview-core/public/configs/navigator/demos/18-package-about-panel.json @@ -1,4 +1,7 @@ { + "configMeta": { + "description": "About-panel plugin using title, logoPath, description, and link." + }, "map": { "interaction": "dynamic", "viewSettings": { @@ -10,14 +13,19 @@ "labeled": true } }, - "theme": "geo.ca", - "components": ["north-arrow", "overview-map"], - "corePackages": [], + "components": [ + "north-arrow", + "overview-map" + ], "appBar": { "tabs": { - "core": ["about-panel"] + "core": [ + "about-panel" + ] } }, + "corePackages": [], + "theme": "geo.ca", "corePackagesConfig": [ { "about-panel": { diff --git a/packages/geoview-core/public/configs/navigator/demos/19-global-settings.json b/packages/geoview-core/public/configs/navigator/demos/19-global-settings.json index 52efb752eda..deb5761d195 100644 --- a/packages/geoview-core/public/configs/navigator/demos/19-global-settings.json +++ b/packages/geoview-core/public/configs/navigator/demos/19-global-settings.json @@ -1,4 +1,7 @@ { + "configMeta": { + "description": "globalSettings with canRemoveSublayers, disabledLayerTypes, showUnsymbolizedFeatures (visible in data table for permafrost features with no style), highlightLayer with no bbox, and hideCoordinateInfoSwitch that removes coordinate info from the details panel." + }, "map": { "interaction": "dynamic", "viewSettings": { @@ -65,16 +68,26 @@ } ] }, - "theme": "geo.ca", - "components": ["north-arrow", "overview-map"], + "components": [ + "north-arrow", + "overview-map" + ], "appBar": { "tabs": { - "core": ["geolocator", "legend", "details", "export"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] } }, "footerBar": { "tabs": { - "core": ["layers", "data-table"] + "core": [ + "layers", + "data-table" + ] }, "selectedTab": "layers" }, @@ -99,6 +112,7 @@ "showUnsymbolizedFeatures": true, "showLayerHighlightLayerBbox": false, "coordinateInfoEnabled": true, - "hideCoordinateInfoSwitch": false - } + "hideCoordinateInfoSwitch": true + }, + "theme": "geo.ca" } diff --git a/packages/geoview-core/public/configs/navigator/demos/20-export-map-large-legend.json b/packages/geoview-core/public/configs/navigator/demos/20-export-map-large-legend.json index e4f2b0a4c40..503fcfa595b 100644 --- a/packages/geoview-core/public/configs/navigator/demos/20-export-map-large-legend.json +++ b/packages/geoview-core/public/configs/navigator/demos/20-export-map-large-legend.json @@ -1,4 +1,7 @@ { + "configMeta": { + "description": "Map export with large legend and many layers on imagery basemap." + }, "map": { "interaction": "dynamic", "viewSettings": { @@ -114,7 +117,7 @@ } }, { - "layerId": "GDPS.ETA_ICEC", + "layerId": "RADAR_1KM_RSNO", "layerName": "Ice Cover", "source": { "wmsStyle": "SEA_ICECONC" @@ -206,10 +209,27 @@ } ] }, - "theme": "geo.ca", + "components": [ + "north-arrow", + "overview-map" + ], + "navBar": [ + "zoom", + "fullscreen", + "home", + "location" + ], "appBar": { "tabs": { - "core": ["geolocator", "export", "guide", "details", "legend", "data-table", "layers"] + "core": [ + "geolocator", + "export", + "guide", + "details", + "legend", + "data-table", + "layers" + ] } }, "footerBar": { @@ -217,8 +237,6 @@ "core": [] } }, - "navBar": ["zoom", "fullscreen", "home", "location"], - "components": ["north-arrow", "overview-map"], "corePackages": [], - "externalPackages": [] + "theme": "geo.ca" } diff --git a/packages/geoview-core/public/configs/navigator/demos/21-export-map-bad-legend.json b/packages/geoview-core/public/configs/navigator/demos/21-export-map-bad-legend.json index 50d53efe326..7e7d33b7f12 100644 --- a/packages/geoview-core/public/configs/navigator/demos/21-export-map-bad-legend.json +++ b/packages/geoview-core/public/configs/navigator/demos/21-export-map-bad-legend.json @@ -1,4 +1,7 @@ { + "configMeta": { + "description": "Map export with problematic legend entries for edge-case legend rendering." + }, "map": { "interaction": "dynamic", "viewSettings": { @@ -66,15 +69,24 @@ } ] }, - "components": ["overview-map", "north-arrow"], - "footerBar": { + "components": [ + "overview-map", + "north-arrow" + ], + "appBar": { "tabs": { - "core": ["layers"] + "core": [ + "geolocator", + "export", + "legend" + ] } }, - "appBar": { + "footerBar": { "tabs": { - "core": ["geolocator", "export", "legend"] + "core": [ + "layers" + ] } }, "corePackages": [], diff --git a/packages/geoview-core/public/configs/navigator/demos/22-circumpolar.json b/packages/geoview-core/public/configs/navigator/demos/22-circumpolar.json index 14d7eb531a2..674c83405ad 100644 --- a/packages/geoview-core/public/configs/navigator/demos/22-circumpolar.json +++ b/packages/geoview-core/public/configs/navigator/demos/22-circumpolar.json @@ -1,9 +1,18 @@ { + "configMeta": { + "description": "Circumpolar arctic projection (EPSG:3573) with arctic-sdi WMTS as basemap." + }, "map": { "interaction": "dynamic", "viewSettings": { "initialView": { - "zoomAndCenter": [3, [-110, 80]] + "zoomAndCenter": [ + 3, + [ + -110, + 80 + ] + ] }, "projection": 3573 }, @@ -37,7 +46,12 @@ "layerId": "arctic_cascading", "tileMatrixSet": "3573", "source": { - "extent": [-4889334.802955, -4889334.802955, 4889334.802955, 4889334.802955], + "extent": [ + -4889334.802955, + -4889334.802955, + 4889334.802955, + 4889334.802955 + ], "resolutionLevels": 11, "projection": 3573, "dataAccessPath": "https://basemap.arctic-sdi.org/mapcache/wmts" @@ -47,18 +61,30 @@ } ] }, - "components": ["north-arrow"], - "navBar": ["zoom"], - "footerBar": { + "components": [ + "north-arrow" + ], + "navBar": [ + "zoom" + ], + "appBar": { "tabs": { - "core": ["layers", "data-table"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] } }, - "corePackages": [], - "theme": "geo.ca", - "appBar": { + "footerBar": { "tabs": { - "core": ["geolocator", "legend", "details", "export"] + "core": [ + "layers", + "data-table" + ] } - } + }, + "corePackages": [], + "theme": "geo.ca" } diff --git a/packages/geoview-core/public/configs/navigator/demos/23-initial-settings.json b/packages/geoview-core/public/configs/navigator/demos/23-initial-settings.json index b5c5a3645b6..9e2ec411298 100644 --- a/packages/geoview-core/public/configs/navigator/demos/23-initial-settings.json +++ b/packages/geoview-core/public/configs/navigator/demos/23-initial-settings.json @@ -1,4 +1,7 @@ { + "configMeta": { + "description": "Combined initialSettings demo with all categories: filters, states, controls, cascading settings, and layer-specific config. See 23a through 23d for individual focused demos." + }, "map": { "interaction": "dynamic", "viewSettings": { @@ -58,7 +61,7 @@ } ] }, - { + { "geoviewLayerId": "wfsLYR1", "geoviewLayerName": "US States", "metadataAccessPath": "https://ahocevar.com/geoserver/wfs", @@ -70,7 +73,7 @@ } ] }, - { + { "geoviewLayerId": "LYR15-qgis", "geoviewLayerName": "Cities Experimental", "metadataAccessPath": "https://demo.mapserver.org/cgi-bin/wfs", @@ -103,11 +106,8 @@ "layerId": "CURRENT_CONDITIONS" }, { - "layerId": "GDPS.ETA_ICEC", - "layerName": "Ice Cover", - "source": { - "wmsStyle": "SEA_ICECONC" - } + "layerId": "RADAR_1KM_RSNO", + "layerName": "Radar Snow" } ] } @@ -153,11 +153,36 @@ "queryable": true, "nameField": "Tour", "outfields": [ - { "name": "Venue", "alias": "Venue Set", "type": "string", "domain": null }, - { "name": "Event", "alias": "Event Set", "type": "string", "domain": null }, - { "name": "Tour", "alias": "Tour Set", "type": "string", "domain": null }, - { "name": "City", "alias": "City Set", "type": "string", "domain": null }, - { "name": "Date", "alias": "Date Set", "type": "date", "domain": null } + { + "name": "Venue", + "alias": "Venue Set", + "type": "string", + "domain": null + }, + { + "name": "Event", + "alias": "Event Set", + "type": "string", + "domain": null + }, + { + "name": "Tour", + "alias": "Tour Set", + "type": "string", + "domain": null + }, + { + "name": "City", + "alias": "City Set", + "type": "string", + "domain": null + }, + { + "name": "Date", + "alias": "Date Set", + "type": "date", + "domain": null + } ] } } @@ -356,20 +381,32 @@ } ] }, - "components": ["overview-map", "north-arrow"], + "components": [ + "overview-map", + "north-arrow" + ], "overviewMap": { "hideOnZoom": 7 }, - "footerBar": { + "appBar": { "tabs": { - "core": ["layers", "data-table", "time-slider"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] } }, - "corePackages": [], - "theme": "geo.ca", - "appBar": { + "footerBar": { "tabs": { - "core": ["geolocator", "legend", "details", "export"] + "core": [ + "layers", + "data-table", + "time-slider" + ] } - } + }, + "corePackages": [], + "theme": "geo.ca" } diff --git a/packages/geoview-core/public/configs/navigator/demos/23a-initial-settings-filters.json b/packages/geoview-core/public/configs/navigator/demos/23a-initial-settings-filters.json new file mode 100644 index 00000000000..69ccccb6e24 --- /dev/null +++ b/packages/geoview-core/public/configs/navigator/demos/23a-initial-settings-filters.json @@ -0,0 +1,124 @@ +{ + "configMeta": { + "description": "initialSettings for layer filters using layerFilter on multiple layer types: ogcFeature, ogcWfs, esriDynamic, esriFeature, and GeoJSON." + }, + "map": { + "interaction": "dynamic", + "viewSettings": { + "projection": 3857 + }, + "basemapOptions": { + "basemapId": "transport", + "shaded": true, + "labeled": true + }, + "listOfGeoviewLayerConfig": [ + { + "geoviewLayerId": "ogcFeatureLYR1", + "geoviewLayerName": "OGC Feature - Large Lakes", + "metadataAccessPath": "https://b6ryuvakk5.execute-api.us-east-1.amazonaws.com/dev", + "geoviewLayerType": "ogcFeature", + "listOfLayerEntryConfig": [ + { + "layerId": "lakes", + "layerFilter": "name in ('Lake Victoria', 'Lake Superior', 'L. Erie', 'L. Ontario')" + } + ] + }, + { + "geoviewLayerId": "wfsLYR1", + "geoviewLayerName": "OGC WFS - US States", + "metadataAccessPath": "https://ahocevar.com/geoserver/wfs", + "geoviewLayerType": "ogcWfs", + "listOfLayerEntryConfig": [ + { + "layerId": "usa:states", + "layerFilter": "STATE_ABBR = 'NY'" + } + ] + }, + { + "geoviewLayerId": "LYR15-qgis", + "geoviewLayerName": "OGC WFS - Cities Experimental", + "metadataAccessPath": "https://demo.mapserver.org/cgi-bin/wfs", + "geoviewLayerType": "ogcWfs", + "listOfLayerEntryConfig": [ + { + "layerId": "ms:cities", + "layerFilter": "POPULATION >= 500000", + "wmsLayerId": "cities", + "source": { + "featureInfo": { + "nameField": "NAME" + } + } + } + ] + }, + { + "geoviewLayerId": "esriDynamicLYR1", + "geoviewLayerName": "ESRI Dynamic - Water Quantity", + "metadataAccessPath": "https://maps-cartes.ec.gc.ca/arcgis/rest/services/CESI/MapServer/", + "geoviewLayerType": "esriDynamic", + "listOfLayerEntryConfig": [ + { + "layerId": "5", + "layerFilter": "E_Province = 'Manitoba'" + } + ] + }, + { + "geoviewLayerId": "esriFeatureLYR1", + "geoviewLayerName": "ESRI Feature - Historical Flood Events", + "metadataAccessPath": "https://maps-cartes.services.geo.ca/server_serveur/rest/services/NRCan/historical_flood_event_en/MapServer", + "geoviewLayerType": "esriFeature", + "listOfLayerEntryConfig": [ + { + "layerId": "0", + "layerFilter": "death = 'yes'" + } + ] + }, + { + "geoviewLayerId": "geojsonLYR1", + "geoviewLayerName": "GeoJSON - Polygons", + "metadataAccessPath": "./datasets/geojson/metadata.meta", + "geoviewLayerType": "GeoJSON", + "serviceDateFormat": "DD/MM/YYYYTHH:mm:ss", + "listOfLayerEntryConfig": [ + { + "layerId": "polygons.json", + "layerFilter": "Province = 'Quebec'" + } + ] + } + ] + }, + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "appBar": { + "tabs": { + "core": [ + "geolocator", + "legend", + "details", + "export" + ] + } + }, + "footerBar": { + "tabs": { + "core": [ + "layers", + "data-table" + ] + } + }, + "corePackages": [], + "theme": "geo.ca" +} diff --git a/packages/geoview-core/public/configs/navigator/demos/23b-initial-settings-states-controls.json b/packages/geoview-core/public/configs/navigator/demos/23b-initial-settings-states-controls.json new file mode 100644 index 00000000000..4b9a25f8e36 --- /dev/null +++ b/packages/geoview-core/public/configs/navigator/demos/23b-initial-settings-states-controls.json @@ -0,0 +1,197 @@ +{ + "configMeta": { + "description": "initialSettings testing all controls (highlight, hover, opacity, query, remove, table, visibility, zoom) and all states (visible, legendCollapsed, opacity, hoverable, queryable) across multiple layer types." + }, + "map": { + "interaction": "dynamic", + "viewSettings": { + "projection": 3857 + }, + "basemapOptions": { + "basemapId": "transport", + "shaded": true, + "labeled": true + }, + "listOfGeoviewLayerConfig": [ + { + "geoviewLayerId": "historical-flood", + "geoviewLayerName": "ESRI Dynamic - Controls query/hover, States queryable/hoverable off", + "metadataAccessPath": "https://maps-cartes.services.geo.ca/server_serveur/rest/services/NRCan/historical_flood_event_en/MapServer", + "geoviewLayerType": "esriDynamic", + "listOfLayerEntryConfig": [ + { + "layerId": "0", + "initialSettings": { + "controls": { + "query": true, + "hover": true + }, + "states": { + "queryable": false, + "hoverable": false, + "opacity": 0.5 + } + } + } + ] + }, + { + "geoviewLayerId": "esriFeatureLYR1", + "geoviewLayerName": "ESRI Feature - Controls highlight/zoom off, remove on", + "metadataAccessPath": "https://maps-cartes.services.geo.ca/server_serveur/rest/services/NRCan/historical_flood_event_en/MapServer", + "geoviewLayerType": "esriFeature", + "listOfLayerEntryConfig": [ + { + "layerId": "0", + "initialSettings": { + "controls": { + "highlight": false, + "zoom": false, + "remove": true + } + } + } + ] + }, + { + "geoviewLayerId": "wmsLYR1-msi", + "geoviewLayerName": "OGC WMS - Controls opacity/table/visibility off", + "metadataAccessPath": "https://datacube.services.geo.ca/ows/msi", + "geoviewLayerType": "ogcWms", + "listOfLayerEntryConfig": [ + { + "layerId": "msi-94-or-more", + "initialSettings": { + "controls": { + "opacity": false, + "table": false, + "visibility": false + } + }, + "source": { + "wmsStyle": "msi-binary" + } + } + ] + }, + { + "geoviewLayerId": "geojsonLYR2", + "geoviewLayerName": "GeoJSON Group - States visible off, legendCollapsed on", + "metadataAccessPath": "./datasets/geojson/metadata.meta", + "geoviewLayerType": "GeoJSON", + "serviceDateFormat": "DD/MM/YYYYTHH:mm:ss", + "listOfLayerEntryConfig": [ + { + "entryType": "group", + "layerId": "collapsed-group", + "layerName": "Collapsed Group", + "initialSettings": { + "states": { + "visible": false, + "legendCollapsed": true + } + }, + "listOfLayerEntryConfig": [ + { + "layerId": "lines.json", + "layerName": "Lines" + }, + { + "layerId": "polygons.json", + "layerName": "Polygons" + } + ] + } + ] + }, + { + "geoviewLayerId": "geojsonLYR1", + "geoviewLayerName": "GeoJSON - States opacity 0.3, minScale 10000000", + "metadataAccessPath": "./datasets/geojson/metadata.meta", + "geoviewLayerType": "GeoJSON", + "serviceDateFormat": "DD/MM/YYYYTHH:mm:ss", + "listOfLayerEntryConfig": [ + { + "layerId": "polygons.json", + "initialSettings": { + "states": { + "opacity": 0.3 + } + }, + "minScale": 10000000 + } + ] + }, + { + "geoviewLayerId": "wfsLYR1", + "geoviewLayerName": "OGC WFS - All controls off", + "metadataAccessPath": "https://ahocevar.com/geoserver/wfs", + "geoviewLayerType": "ogcWfs", + "listOfLayerEntryConfig": [ + { + "layerId": "usa:states", + "initialSettings": { + "controls": { + "highlight": false, + "hover": false, + "opacity": false, + "query": false, + "remove": false, + "table": false, + "visibility": false, + "zoom": false + } + } + } + ] + }, + { + "geoviewLayerId": "ESRIImageLYR1", + "geoviewLayerName": "ESRI Image - All states set", + "geoviewLayerType": "esriImage", + "metadataAccessPath": "https://agriculture.canada.ca/imagery-images/rest/services/annual_crop_inventory/2022/ImageServer", + "listOfLayerEntryConfig": [ + { + "layerId": "annual_crop_inventory_2022", + "initialSettings": { + "states": { + "visible": true, + "legendCollapsed": false, + "opacity": 0.7, + "hoverable": true, + "queryable": true + } + } + } + ] + } + ] + }, + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "appBar": { + "tabs": { + "core": [ + "geolocator", + "legend", + "details", + "export" + ] + } + }, + "footerBar": { + "tabs": { + "core": [ + "layers", + "data-table" + ] + } + }, + "corePackages": [], + "theme": "geo.ca" +} diff --git a/packages/geoview-core/public/configs/navigator/demos/23c-initial-settings-cascading.json b/packages/geoview-core/public/configs/navigator/demos/23c-initial-settings-cascading.json new file mode 100644 index 00000000000..ff7fa731b07 --- /dev/null +++ b/packages/geoview-core/public/configs/navigator/demos/23c-initial-settings-cascading.json @@ -0,0 +1,234 @@ +{ + "configMeta": { + "description": "initialSettings cascading at three levels: root-level settings (geojsonLYR1 sets controls and states on the geoviewLayer), group-level settings (geojsonLYR2 sets controls on groups), and child-level overrides (geojsonLYR3 sets controls on individual sublayers). Demonstrates how controls like highlight, zoom, and remove propagate from parent to child." + }, + "map": { + "interaction": "dynamic", + "viewSettings": { + "projection": 3857 + }, + "basemapOptions": { + "basemapId": "transport", + "shaded": true, + "labeled": true + }, + "listOfGeoviewLayerConfig": [ + { + "geoviewLayerId": "geojsonLYR1", + "geoviewLayerName": "Root Settings Layer", + "metadataAccessPath": "./datasets/geojson/metadata.meta", + "geoviewLayerType": "GeoJSON", + "serviceDateFormat": "DD/MM/YYYYTHH:mm:ss", + "initialSettings": { + "controls": { + "highlight": false, + "zoom": false + }, + "states": { + "visible": false, + "opacity": 0.5 + } + }, + "listOfLayerEntryConfig": [ + { + "entryType": "group", + "layerId": "line-polygon-group", + "layerName": "Line Polygon Group", + "listOfLayerEntryConfig": [ + { + "layerId": "lines.json", + "layerName": "Lines" + }, + { + "layerId": "polygons.json", + "layerName": "Polygons" + } + ] + }, + { + "entryType": "group", + "layerId": "point-feature-group", + "layerName": "point-feature-group", + "listOfLayerEntryConfig": [ + { + "layerId": "icon_points.json", + "layerName": "Icons", + "initialSettings": { + "controls": { + "remove": false + } + } + }, + { + "layerId": "points.json", + "layerName": "Points" + }, + { + "layerId": "points_1.json", + "layerName": "Points 1" + }, + { + "layerId": "points_2.json", + "layerName": "Points 2" + }, + { + "layerId": "points_3.json", + "layerName": "Points 3" + } + ] + } + ] + }, + { + "geoviewLayerId": "geojsonLYR2", + "geoviewLayerName": "Group Layer Setting Sample", + "metadataAccessPath": "./datasets/geojson/metadata.meta", + "geoviewLayerType": "GeoJSON", + "serviceDateFormat": "DD/MM/YYYYTHH:mm:ss", + "listOfLayerEntryConfig": [ + { + "entryType": "group", + "layerId": "line-polygon-group", + "layerName": "Line Polygon Group", + "initialSettings": { + "controls": { + "highlight": false, + "zoom": false + } + }, + "listOfLayerEntryConfig": [ + { + "layerId": "lines.json", + "layerName": "Lines" + }, + { + "layerId": "polygons.json", + "layerName": "Polygons" + } + ] + }, + { + "entryType": "group", + "layerId": "point-feature-group", + "layerName": "point-feature-group", + "initialSettings": { + "controls": { + "remove": false + } + }, + "listOfLayerEntryConfig": [ + { + "layerId": "icon_points.json", + "layerName": "Icons" + }, + { + "layerId": "points.json", + "layerName": "Points" + }, + { + "layerId": "points_1.json", + "layerName": "Points 1" + }, + { + "layerId": "points_2.json", + "layerName": "Points 2" + }, + { + "layerId": "points_3.json", + "layerName": "Points 3" + } + ] + } + ] + }, + { + "geoviewLayerId": "geojsonLYR3", + "geoviewLayerName": "SubLayer Setting Sample", + "metadataAccessPath": "./datasets/geojson/metadata.meta", + "geoviewLayerType": "GeoJSON", + "serviceDateFormat": "DD/MM/YYYYTHH:mm:ss", + "initialSettings": { + "controls": { + "remove": false + } + }, + "listOfLayerEntryConfig": [ + { + "entryType": "group", + "layerId": "line-polygon-group", + "layerName": "Line Polygon Group", + "listOfLayerEntryConfig": [ + { + "layerId": "lines.json", + "layerName": "Lines", + "initialSettings": { + "controls": { + "highlight": false, + "zoom": false + } + } + }, + { + "layerId": "polygons.json", + "layerName": "Polygons" + } + ] + }, + { + "entryType": "group", + "layerId": "point-feature-group", + "layerName": "point-feature-group", + "listOfLayerEntryConfig": [ + { + "layerId": "icon_points.json", + "layerName": "Icons" + }, + { + "layerId": "points.json", + "layerName": "Points" + }, + { + "layerId": "points_1.json", + "layerName": "Points 1" + }, + { + "layerId": "points_2.json", + "layerName": "Points 2" + }, + { + "layerId": "points_3.json", + "layerName": "Points 3" + } + ] + } + ] + } + ] + }, + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "appBar": { + "tabs": { + "core": [ + "geolocator", + "legend", + "details", + "export" + ] + } + }, + "footerBar": { + "tabs": { + "core": [ + "layers" + ] + } + }, + "corePackages": [], + "theme": "geo.ca" +} diff --git a/packages/geoview-core/public/configs/navigator/demos/23d-initial-settings-layer-config.json b/packages/geoview-core/public/configs/navigator/demos/23d-initial-settings-layer-config.json new file mode 100644 index 00000000000..3203e0dd2e2 --- /dev/null +++ b/packages/geoview-core/public/configs/navigator/demos/23d-initial-settings-layer-config.json @@ -0,0 +1,191 @@ +{ + "configMeta": { + "description": "Layer-specific source settings: rasterFunction on esriImage (Dry Spell ds_30), wmsStyle on ogcWms, featureInfo with custom outfields including codedValue and range domains, nameField, and WMS group with nested sublayers." + }, + "map": { + "interaction": "dynamic", + "viewSettings": { + "projection": 3857 + }, + "basemapOptions": { + "basemapId": "transport", + "shaded": true, + "labeled": true + }, + "listOfGeoviewLayerConfig": [ + { + "geoviewLayerId": "ESRIImageLYR1", + "geoviewLayerName": "Dry Spell", + "geoviewLayerType": "esriImage", + "metadataAccessPath": "https://agriculture.canada.ca/imagery-images/rest/services/agclimate/dry_spell/ImageServer", + "listOfLayerEntryConfig": [ + { + "layerId": "dry_spell", + "source": { + "rasterFunction": "ds_30" + } + } + ] + }, + { + "geoviewLayerId": "wmsLYR1-Root", + "geoviewLayerName": "Weather Group", + "metadataAccessPath": "https://geo.weather.gc.ca/geomet", + "geoviewLayerType": "ogcWms", + "listOfLayerEntryConfig": [ + { + "entryType": "group", + "layerId": "wmsLYR1-Group", + "layerName": "Group", + "listOfLayerEntryConfig": [ + { + "layerId": "CURRENT_CONDITIONS" + }, + { + "layerId": "RADAR_1KM_RSNO", + "layerName": "Radar Snow" + } + ] + } + ] + }, + { + "geoviewLayerId": "wmsLYR1-msi", + "geoviewLayerName": "MSI", + "metadataAccessPath": "https://datacube.services.geo.ca/ows/msi", + "geoviewLayerType": "ogcWms", + "listOfLayerEntryConfig": [ + { + "layerId": "msi-94-or-more", + "layerName": "Permanent Snow", + "source": { + "wmsStyle": "msi-binary", + "featureInfo": { + "queryable": true, + "nameField": "band-0-pixel-value", + "outfields": [ + { + "name": "band-0-pixel-value", + "alias": "Pixel value", + "type": "number", + "domain": null + } + ] + } + } + } + ] + }, + { + "geoviewLayerId": "FeatureServerLyr2", + "metadataAccessPath": "https://services.arcgis.com/V6ZHFr6zdgNZuVG0/ArcGIS/rest/services/U2/FeatureServer/", + "geoviewLayerType": "esriFeature", + "listOfLayerEntryConfig": [ + { + "layerId": "0", + "layerName": "U2 Tour Locations", + "source": { + "featureInfo": { + "queryable": true, + "nameField": "Tour", + "outfields": [ + { + "name": "Venue", + "alias": "Venue Set", + "type": "string", + "domain": null + }, + { + "name": "Event", + "alias": "Event Set", + "type": "string", + "domain": null + }, + { + "name": "Tour", + "alias": "Tour Name", + "type": "string", + "domain": { + "type": "codedValue", + "name": "TourDomain", + "description": "Translates tour codes to display names", + "codedValues": [ + { + "name": "Zoo TV Tour Domain", + "code": "Zoo tv 1st Leg" + }, + { + "name": "Zoo TV Outside Broadcast Domain", + "code": "Zoo tv Outside Broadcast" + }, + { + "name": "Elevation Tour Domain", + "code": "Elevation 1st Leg" + }, + { + "name": "U2 360° Tour Domain", + "code": "U2 360 Tour 2nd Leg" + }, + { + "name": "Vertigo Tour Domain", + "code": "Vertigo Tour 1st Leg" + }, + { + "name": "Joshua Tree Tour Domain", + "code": "Joshua Tree 1st Leg" + }, + { + "name": "Popmart Tour Domain", + "code": "Popmart 1st Leg" + } + ] + } + }, + { + "name": "City", + "alias": "City Set", + "type": "string", + "domain": null + }, + { + "name": "Date", + "alias": "Date Set", + "type": "date", + "domain": null + } + ] + } + } + } + ] + } + ] + }, + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "appBar": { + "tabs": { + "core": [ + "geolocator", + "legend", + "details", + "export" + ] + } + }, + "footerBar": { + "tabs": { + "core": [ + "layers", + "data-table" + ] + } + }, + "corePackages": [], + "theme": "geo.ca" +} diff --git a/packages/geoview-core/public/configs/navigator/demos/24-configured-feature-labels.json b/packages/geoview-core/public/configs/navigator/demos/24-configured-feature-labels.json index 39d6350f1b0..ee8b7f0d1f7 100644 --- a/packages/geoview-core/public/configs/navigator/demos/24-configured-feature-labels.json +++ b/packages/geoview-core/public/configs/navigator/demos/24-configured-feature-labels.json @@ -1,4 +1,7 @@ { + "configMeta": { + "description": "layerText config for feature labels with rich text options and multi-segment text arrays." + }, "map": { "interaction": "dynamic", "viewSettings": { @@ -50,7 +53,12 @@ "backgroundFill": "rgba(150, 150, 200, 0.7)", "backgroundStrokeColor": "#000000", "backgroundStrokeWidth": 1, - "padding": [2, 4, 2, 4], + "padding": [ + 2, + 4, + 2, + 4 + ], "declutterMode": "declutter", "minZoomLevel": 5, "maxZoomLevel": 19, @@ -74,19 +82,47 @@ "queryable": true, "nameField": "Venue", "outfields": [ - { "name": "Venue", "alias": "Venue", "type": "string", "domain": null }, - { "name": "Event", "alias": "Event", "type": "string", "domain": null }, - { "name": "Tour", "alias": "Tour", "type": "string", "domain": null }, - { "name": "City", "alias": "City", "type": "string", "domain": null }, - { "name": "Date", "alias": "Date", "type": "date", "domain": null } + { + "name": "Venue", + "alias": "Venue", + "type": "string", + "domain": null + }, + { + "name": "Event", + "alias": "Event", + "type": "string", + "domain": null + }, + { + "name": "Tour", + "alias": "Tour", + "type": "string", + "domain": null + }, + { + "name": "City", + "alias": "City", + "type": "string", + "domain": null + }, + { + "name": "Date", + "alias": "Date", + "type": "date", + "domain": null + } ] } }, "layerText": { "text": [ - "{Tour}", "bold 14px sans-serif", - "\n", "", - "{Date:YYYY-MM}", "12px sans-serif" + "{Tour}", + "bold 14px sans-serif", + "\n", + "", + "{Date:YYYY-MM}", + "12px sans-serif" ], "fontSize": 12, "offsetY": -15, @@ -149,17 +185,25 @@ "Point": { "type": "classBreaks", "hasDefault": true, - "fields": ["Total_CSO_Volume"], + "fields": [ + "Total_CSO_Volume" + ], "info": [ { "label": "0 m3", - "values": [0, 0], + "values": [ + 0, + 0 + ], "visible": true, "settings": { "symbol": "circle", "type": "simpleSymbol", "color": "rgba(76,230,0,1)", - "offset": [0, 0], + "offset": [ + 0, + 0 + ], "rotation": 0, "size": 2.6679999999999997, "stroke": { @@ -180,13 +224,19 @@ }, { "label": "0.0001 - ≤ 5,000,000 m3", - "values": [0.0001, 5000000], + "values": [ + 0.0001, + 5000000 + ], "visible": true, "settings": { "symbol": "circle", "type": "simpleSymbol", "color": "rgba(226,176,255,1)", - "offset": [0, 0], + "offset": [ + 0, + 0 + ], "rotation": 0, "size": 5.114407777777778, "stroke": { @@ -198,13 +248,19 @@ }, { "label": "> 5,000,000 - ≤ 10,000,000 m3", - "values": [5000000, 10000000], + "values": [ + 5000000, + 10000000 + ], "visible": true, "settings": { "symbol": "circle", "type": "simpleSymbol", "color": "rgba(217,151,255,1)", - "offset": [0, 0], + "offset": [ + 0, + 0 + ], "rotation": 0, "size": 7.560815555555555, "stroke": { @@ -216,13 +272,19 @@ }, { "label": "> 10,000,000 - ≤ 15,000,000 m3", - "values": [10000000, 15000000], + "values": [ + 10000000, + 15000000 + ], "visible": true, "settings": { "symbol": "circle", "type": "simpleSymbol", "color": "rgba(207,125,255,1)", - "offset": [0, 0], + "offset": [ + 0, + 0 + ], "rotation": 0, "size": 10.007223333333332, "stroke": { @@ -234,13 +296,19 @@ }, { "label": "> 15,000,000 - ≤ 20,000,000 m3", - "values": [15000000, 20000000], + "values": [ + 15000000, + 20000000 + ], "visible": true, "settings": { "symbol": "circle", "type": "simpleSymbol", "color": "rgba(200,105,255,1)", - "offset": [0, 0], + "offset": [ + 0, + 0 + ], "rotation": 0, "size": 12.453631111111111, "stroke": { @@ -252,13 +320,19 @@ }, { "label": "> 20,000,000 - ≤ 25,000,000 m3", - "values": [20000000, 25000000], + "values": [ + 20000000, + 25000000 + ], "visible": true, "settings": { "symbol": "circle", "type": "simpleSymbol", "color": "rgba(190,80,255,1)", - "offset": [0, 0], + "offset": [ + 0, + 0 + ], "rotation": 0, "size": 14.90003888888889, "stroke": { @@ -270,13 +344,19 @@ }, { "label": "> 25,000,000 - ≤ 30,000,000 m3", - "values": [25000000, 30000000], + "values": [ + 25000000, + 30000000 + ], "visible": true, "settings": { "symbol": "circle", "type": "simpleSymbol", "color": "rgba(183,58,255,1)", - "offset": [0, 0], + "offset": [ + 0, + 0 + ], "rotation": 0, "size": 17.346446666666665, "stroke": { @@ -288,13 +368,19 @@ }, { "label": "> 30,000,000 - ≤ 35,000,000 m3", - "values": [30000000, 35000000], + "values": [ + 30000000, + 35000000 + ], "visible": true, "settings": { "symbol": "circle", "type": "simpleSymbol", "color": "rgba(175,37,255,1)", - "offset": [0, 0], + "offset": [ + 0, + 0 + ], "rotation": 0, "size": 19.792854444444444, "stroke": { @@ -306,13 +392,19 @@ }, { "label": "> 35,000,000 m3", - "values": [35000000, 999000000], + "values": [ + 35000000, + 999000000 + ], "visible": true, "settings": { "symbol": "circle", "type": "simpleSymbol", "color": "rgba(165,11,255,1)", - "offset": [0, 0], + "offset": [ + 0, + 0 + ], "rotation": 0, "size": 22.239262222222223, "stroke": { @@ -330,7 +422,10 @@ "symbol": "circle", "type": "simpleSymbol", "color": "rgba(255,127,127,1)", - "offset": [0, 0], + "offset": [ + 0, + 0 + ], "rotation": 0, "size": 2.0010000000000003, "stroke": { @@ -360,18 +455,31 @@ } ] }, - "components": ["overview-map", "north-arrow"], - "overviewMap": { "hideOnZoom": 7 }, - "footerBar": { + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "appBar": { "tabs": { - "core": ["layers", "data-table"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] } }, - "corePackages": [], - "theme": "geo.ca", - "appBar": { + "footerBar": { "tabs": { - "core": ["geolocator", "legend", "details", "export"] + "core": [ + "layers", + "data-table" + ] } - } + }, + "corePackages": [], + "theme": "geo.ca" } diff --git a/packages/geoview-core/public/configs/navigator/demos/25-feature-visual-variables.json b/packages/geoview-core/public/configs/navigator/demos/25-feature-visual-variables.json index f1d77608502..1c26c07f396 100644 --- a/packages/geoview-core/public/configs/navigator/demos/25-feature-visual-variables.json +++ b/packages/geoview-core/public/configs/navigator/demos/25-feature-visual-variables.json @@ -1,4 +1,7 @@ { + "configMeta": { + "description": "visualVariables on esriFeature with colorInfo, sizeInfo, and opacityInfo." + }, "map": { "interaction": "dynamic", "viewSettings": { @@ -11,13 +14,13 @@ }, "listOfGeoviewLayerConfig": [ { - "geoviewLayerId":"WindDirection", - "geoviewLayerName":"Wind Direction with rotation", - "metadataAccessPath":"https://services9.arcgis.com/RHVPKKiFTONKtxq3/ArcGIS/rest/services/NOAA_METAR_current_wind_speed_direction_v1/FeatureServer", - "geoviewLayerType":"esriFeature", + "geoviewLayerId": "WindDirection", + "geoviewLayerName": "Wind Direction with rotation", + "metadataAccessPath": "https://services9.arcgis.com/RHVPKKiFTONKtxq3/ArcGIS/rest/services/NOAA_METAR_current_wind_speed_direction_v1/FeatureServer", + "geoviewLayerType": "esriFeature", "listOfLayerEntryConfig": [ { - "layerId":"0" + "layerId": "0" } ] }, @@ -117,18 +120,31 @@ } ] }, - "components": ["overview-map", "north-arrow"], - "overviewMap": { "hideOnZoom": 7 }, - "footerBar": { + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "appBar": { "tabs": { - "core": ["layers", "data-table"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] } }, - "corePackages": [], - "theme": "geo.ca", - "appBar": { + "footerBar": { "tabs": { - "core": ["geolocator", "legend", "details", "export"] + "core": [ + "layers", + "data-table" + ] } - } + }, + "corePackages": [], + "theme": "geo.ca" } diff --git a/packages/geoview-core/public/configs/navigator/demos/26-complex-classifications.json b/packages/geoview-core/public/configs/navigator/demos/26-complex-classifications.json index 06afebf80eb..00918f29fa2 100644 --- a/packages/geoview-core/public/configs/navigator/demos/26-complex-classifications.json +++ b/packages/geoview-core/public/configs/navigator/demos/26-complex-classifications.json @@ -1,4 +1,7 @@ { + "configMeta": { + "description": "Complex classification styles with WMS/WFS concatenate filters, ESRI valueExpression, and multi-type style definitions." + }, "map": { "interaction": "dynamic", "viewSettings": { @@ -199,16 +202,6 @@ "overviewMap": { "hideOnZoom": 7 }, - "footerBar": { - "tabs": { - "core": [ - "layers", - "data-table" - ] - } - }, - "corePackages": [], - "theme": "geo.ca", "appBar": { "tabs": { "core": [ @@ -218,5 +211,15 @@ "export" ] } - } -} \ No newline at end of file + }, + "footerBar": { + "tabs": { + "core": [ + "layers", + "data-table" + ] + } + }, + "corePackages": [], + "theme": "geo.ca" +} diff --git a/packages/geoview-core/public/configs/navigator/demos/27-view-settings-rotation-home.json b/packages/geoview-core/public/configs/navigator/demos/27-view-settings-rotation-home.json new file mode 100644 index 00000000000..0e4f5be847a --- /dev/null +++ b/packages/geoview-core/public/configs/navigator/demos/27-view-settings-rotation-home.json @@ -0,0 +1,93 @@ +{ + "configMeta": { + "description": "viewSettings with homeView (custom home button extent), rotation (45°), enableRotation, and serviceUrls overrides for geocoreUrl and geolocatorUrl." + }, + "map": { + "interaction": "dynamic", + "viewSettings": { + "initialView": { + "zoomAndCenter": [ + 7, + [ + -75.7, + 45.4 + ] + ] + }, + "homeView": { + "zoomAndCenter": [ + 4, + [ + -95, + 60 + ] + ] + }, + "enableRotation": true, + "rotation": 45, + "projection": 3857 + }, + "basemapOptions": { + "basemapId": "transport", + "shaded": false, + "labeled": true + }, + "listOfGeoviewLayerConfig": [ + { + "geoviewLayerId": "geojsonLYR1", + "geoviewLayerName": "GeoJSON Sample", + "metadataAccessPath": "./datasets/geojson/metadata.meta", + "geoviewLayerType": "GeoJSON", + "listOfLayerEntryConfig": [ + { + "layerId": "polygons.json", + "layerName": "Polygons" + }, + { + "layerId": "lines.json", + "layerName": "Lines" + }, + { + "layerId": "points.json", + "layerName": "Points" + } + ] + } + ] + }, + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "fullscreen", + "home", + "basemap-select", + "rotation" + ], + "appBar": { + "tabs": { + "core": [ + "geolocator", + "legend" + ] + } + }, + "footerBar": { + "tabs": { + "core": [ + "layers" + ] + } + }, + "corePackages": [], + "serviceUrls": { + "geocoreUrl": "https://geocore.api.geo.ca", + "geolocatorUrl": "https://geolocator.api.geo.ca?keys=nominatim" + }, + "theme": "geo.ca" +} diff --git a/packages/geoview-core/public/configs/navigator/demos/28-symbol-shapes-fill-patterns.json b/packages/geoview-core/public/configs/navigator/demos/28-symbol-shapes-fill-patterns.json new file mode 100644 index 00000000000..eed514c0e7d --- /dev/null +++ b/packages/geoview-core/public/configs/navigator/demos/28-symbol-shapes-fill-patterns.json @@ -0,0 +1,596 @@ +{ + "configMeta": { + "description": "All symbol shapes (circle, +, diamond, square, triangle, X, star), all fill patterns (solid, null, backwardDiagonal, cross, diagonalCross, forwardDiagonal, horizontal, vertical), lineString vector settings with various line styles, and iconSymbol vector settings." + }, + "map": { + "interaction": "dynamic", + "viewSettings": { + "initialView": { + "zoomAndCenter": [ + 4, + [ + -90, + 55 + ] + ] + }, + "projection": 3978 + }, + "basemapOptions": { + "basemapId": "transport", + "shaded": false, + "labeled": true + }, + "listOfGeoviewLayerConfig": [ + { + "geoviewLayerId": "symbolShapesLYR", + "geoviewLayerName": "All Symbol Shapes (Points)", + "metadataAccessPath": "./datasets/geojson", + "geoviewLayerType": "GeoJSON", + "listOfLayerEntryConfig": [ + { + "layerId": "points.json", + "layerName": "Symbol Shapes by Red Value", + "source": { + "dataAccessPath": "./datasets/geojson/points.json" + }, + "layerStyle": { + "Point": { + "type": "classBreaks", + "fields": [ + "Red" + ], + "hasDefault": true, + "defaultLabel": "Other", + "defaultVisible": true, + "defaultSettings": { + "type": "simpleSymbol", + "color": "rgba(180,180,180,1)", + "stroke": { + "color": "rgba(0,0,0,1)", + "lineStyle": "solid", + "width": 1 + }, + "size": 12, + "symbol": "circle", + "offset": [ + 0, + 0 + ] + }, + "info": [ + { + "label": "Circle (Red < 100)", + "visible": true, + "values": [ + 0, + 99 + ], + "settings": { + "type": "simpleSymbol", + "color": "rgba(255,0,0,1)", + "stroke": { + "color": "rgba(0,0,0,1)", + "lineStyle": "solid", + "width": 1 + }, + "size": 14, + "symbol": "circle", + "offset": [ + 0, + 0 + ] + } + }, + { + "label": "Diamond (100-299)", + "visible": true, + "values": [ + 100, + 299 + ], + "settings": { + "type": "simpleSymbol", + "color": "rgba(0,128,255,1)", + "stroke": { + "color": "rgba(0,0,0,1)", + "lineStyle": "dash", + "width": 1 + }, + "size": 14, + "symbol": "diamond", + "offset": [ + 0, + 0 + ] + } + }, + { + "label": "Square (300-599)", + "visible": true, + "values": [ + 300, + 599 + ], + "settings": { + "type": "simpleSymbol", + "color": "rgba(0,200,0,1)", + "stroke": { + "color": "rgba(0,0,0,1)", + "lineStyle": "dot", + "width": 1.5 + }, + "size": 14, + "symbol": "square", + "offset": [ + 0, + 0 + ] + } + } + ] + } + } + } + ] + }, + { + "geoviewLayerId": "moreSymbolsLYR", + "geoviewLayerName": "More Symbol Shapes (Points)", + "metadataAccessPath": "./datasets/geojson", + "geoviewLayerType": "GeoJSON", + "listOfLayerEntryConfig": [ + { + "layerId": "points.json", + "layerName": "Triangle, Star, +, X Symbols", + "source": { + "dataAccessPath": "./datasets/geojson/points.json" + }, + "layerStyle": { + "Point": { + "type": "simple", + "fields": [], + "hasDefault": false, + "info": [ + { + "visible": true, + "values": [], + "label": "Triangle", + "settings": { + "type": "simpleSymbol", + "color": "rgba(255,165,0,1)", + "stroke": { + "color": "rgba(100,50,0,1)", + "lineStyle": "dash-dot", + "width": 1 + }, + "size": 14, + "symbol": "triangle", + "offset": [ + 0, + 0 + ] + } + } + ] + } + } + }, + { + "layerId": "points_1.json", + "layerName": "Star Symbols", + "source": { + "dataAccessPath": "./datasets/geojson/points_1.json" + }, + "layerStyle": { + "Point": { + "type": "simple", + "fields": [], + "hasDefault": false, + "info": [ + { + "visible": true, + "values": [], + "label": "Star", + "settings": { + "type": "simpleSymbol", + "color": "rgba(255,215,0,1)", + "stroke": { + "color": "rgba(0,0,0,1)", + "lineStyle": "dash-dot-dot", + "width": 1.5 + }, + "size": 16, + "symbol": "star", + "offset": [ + 0, + 0 + ] + } + } + ] + } + } + }, + { + "layerId": "points_2.json", + "layerName": "Plus (+) Symbols", + "source": { + "dataAccessPath": "./datasets/geojson/points_2.json" + }, + "layerStyle": { + "Point": { + "type": "simple", + "fields": [], + "hasDefault": false, + "info": [ + { + "visible": true, + "values": [], + "label": "Plus", + "settings": { + "type": "simpleSymbol", + "color": "rgba(128,0,128,1)", + "stroke": { + "color": "rgba(50,0,50,1)", + "lineStyle": "longDash", + "width": 2 + }, + "size": 14, + "symbol": "+", + "offset": [ + 0, + 0 + ] + } + } + ] + } + } + }, + { + "layerId": "points_3.json", + "layerName": "X Symbols", + "source": { + "dataAccessPath": "./datasets/geojson/points_3.json" + }, + "layerStyle": { + "Point": { + "type": "simple", + "fields": [], + "hasDefault": false, + "info": [ + { + "visible": true, + "values": [], + "label": "X Mark", + "settings": { + "type": "simpleSymbol", + "color": "rgba(0,128,128,1)", + "stroke": { + "color": "rgba(0,0,0,1)", + "lineStyle": "longDash-dot", + "width": 1 + }, + "size": 14, + "symbol": "X", + "offset": [ + 0, + 0 + ] + } + } + ] + } + } + } + ] + }, + { + "geoviewLayerId": "iconSymbolLYR", + "geoviewLayerName": "Icon Symbol (Points)", + "metadataAccessPath": "./datasets/geojson", + "geoviewLayerType": "GeoJSON", + "listOfLayerEntryConfig": [ + { + "layerId": "icon_points.json", + "layerName": "Custom Icon Markers", + "source": { + "dataAccessPath": "./datasets/geojson/icon_points.json" + }, + "layerStyle": { + "Point": { + "type": "simple", + "fields": [], + "hasDefault": false, + "info": [ + { + "visible": true, + "values": [], + "label": "Pin Icon", + "settings": { + "type": "iconSymbol", + "mimeType": "image/png", + "src": "iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IB2cksfwAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAcNJREFUKJFjYSATsCBz/v//z/Tp8+fwO/cf273/+FmckZHxn6iQwBMVJbldXJyc27Bq/P//v8jVm3cmtUxf7rX+3nN+ZEVJ+srhd+8/3KikIFfMyMj4Fa7x////zBeu3JjuXDM55Ou//xjOmnfxrsS+8t7Uze1FLAwMDClwjU+fv0irmLzYH5smGHjw/TdTz7yVIe/ef9wiJMi/gYWBgYHhxp2HXgeev2dFVtjhb8Pw7dtPhqbdp+FiCy894E+4cz+IgYEBovHDp88qyJpmxngwxIf5wfnImt+9f68Ed+rff3/ZkTVycnDA2dxcHMhSDH/+/WeHa+Tm5HzJwMCgCJMsW7SZgYmZkeHHj18M5RsPo2jk4eJ+DdcoKSZyQoeX0+LK5+8MDAwMDC9+/WWImbkeI4D85MUZJMWED8A1qirKVjUlBvgETVqugqEa5mQmRoacKO9zWurKPXCNfHx8389evha5Njd8bfPCLXIXPn1F0eQgLshQGut7XUREOJCRkfEfXCMDAwODsa7WmQOnT+t150VMevn6ne33bz+kGBgZ/3FzcTyUEBXZxcb4p0RbTek3TD1KWnUwNf3IwMAQj8u5yAAAupehfivnXOEAAAAASUVORK5CYII=", + "width": 14, + "height": 14, + "rotation": 0, + "opacity": 1, + "offset": [ + 0, + 0 + ] + } + } + ] + } + } + } + ] + }, + { + "geoviewLayerId": "lineStylesLYR", + "geoviewLayerName": "Line Styles (Lines)", + "metadataAccessPath": "./datasets/geojson", + "geoviewLayerType": "GeoJSON", + "listOfLayerEntryConfig": [ + { + "layerId": "lines.json", + "layerName": "Lines with Various Styles", + "source": { + "dataAccessPath": "./datasets/geojson/lines.json" + }, + "layerStyle": { + "LineString": { + "type": "uniqueValue", + "fields": [ + "Province" + ], + "hasDefault": true, + "defaultLabel": "Other Province", + "defaultVisible": true, + "defaultSettings": { + "type": "lineString", + "stroke": { + "color": "rgba(128,128,128,1)", + "lineStyle": "solid", + "width": 3 + } + }, + "info": [ + { + "label": "Quebec - Dash-dot-dot", + "visible": true, + "values": [ + "Quebec" + ], + "settings": { + "type": "lineString", + "stroke": { + "color": "rgba(0,0,255,1)", + "lineStyle": "dash-dot-dot", + "width": 3 + } + } + }, + { + "label": "Ontario - ShortDash", + "visible": true, + "values": [ + "Ontario" + ], + "settings": { + "type": "lineString", + "stroke": { + "color": "rgba(255,0,0,1)", + "lineStyle": "shortDash", + "width": 3 + } + } + } + ] + } + } + } + ] + }, + { + "geoviewLayerId": "fillPatternsLYR", + "geoviewLayerName": "Fill Patterns (Polygons)", + "metadataAccessPath": "./datasets/geojson", + "geoviewLayerType": "GeoJSON", + "listOfLayerEntryConfig": [ + { + "layerId": "polygons.json", + "layerName": "Polygons with Fill Patterns", + "source": { + "dataAccessPath": "./datasets/geojson/polygons.json" + }, + "layerStyle": { + "Polygon": { + "type": "uniqueValue", + "fields": [ + "Province" + ], + "hasDefault": true, + "defaultLabel": "Other", + "defaultVisible": true, + "defaultSettings": { + "type": "filledPolygon", + "color": "rgba(200,200,200,0.5)", + "fillStyle": "solid", + "stroke": { + "color": "rgba(0,0,0,1)", + "lineStyle": "solid", + "width": 1 + } + }, + "info": [ + { + "label": "Quebec - BackwardDiagonal", + "visible": true, + "values": [ + "Quebec" + ], + "settings": { + "type": "filledPolygon", + "color": "rgba(0,0,255,0.6)", + "fillStyle": "backwardDiagonal", + "patternSize": 10, + "patternWidth": 2, + "stroke": { + "color": "rgba(0,0,180,1)", + "lineStyle": "solid", + "width": 2 + } + } + }, + { + "label": "Ontario - Cross", + "visible": true, + "values": [ + "Ontario" + ], + "settings": { + "type": "filledPolygon", + "color": "rgba(255,0,0,0.6)", + "fillStyle": "cross", + "patternSize": 8, + "patternWidth": 1, + "stroke": { + "color": "rgba(180,0,0,1)", + "lineStyle": "dash", + "width": 2 + } + } + }, + { + "label": "Alberta - DiagonalCross", + "visible": true, + "values": [ + "Alberta" + ], + "settings": { + "type": "filledPolygon", + "color": "rgba(0,180,0,0.6)", + "fillStyle": "diagonalCross", + "patternSize": 12, + "patternWidth": 2, + "stroke": { + "color": "rgba(0,120,0,1)", + "lineStyle": "dot", + "width": 2 + } + } + }, + { + "label": "Manitoba - ForwardDiagonal", + "visible": true, + "values": [ + "Manitoba" + ], + "settings": { + "type": "filledPolygon", + "color": "rgba(255,165,0,0.6)", + "fillStyle": "forwardDiagonal", + "patternSize": 10, + "patternWidth": 2, + "stroke": { + "color": "rgba(200,120,0,1)", + "lineStyle": "longDash", + "width": 2 + } + } + }, + { + "label": "Saskatchewan - Horizontal", + "visible": true, + "values": [ + "Saskatchewan" + ], + "settings": { + "type": "filledPolygon", + "color": "rgba(128,0,128,0.6)", + "fillStyle": "horizontal", + "patternSize": 8, + "patternWidth": 1, + "stroke": { + "color": "rgba(100,0,100,1)", + "lineStyle": "shortDash-dot", + "width": 2 + } + } + }, + { + "label": "BC - Vertical", + "visible": true, + "values": [ + "British Columbia" + ], + "settings": { + "type": "filledPolygon", + "color": "rgba(0,128,128,0.6)", + "fillStyle": "vertical", + "patternSize": 8, + "patternWidth": 1, + "stroke": { + "color": "rgba(0,100,100,1)", + "lineStyle": "shortDash-dot-dot", + "width": 2 + } + } + }, + { + "label": "Nova Scotia - Null Fill", + "visible": true, + "values": [ + "Nova Scotia" + ], + "settings": { + "type": "filledPolygon", + "color": "rgba(0,0,0,0)", + "fillStyle": "null", + "stroke": { + "color": "rgba(0,0,0,1)", + "lineStyle": "solid", + "width": 3 + }, + "zIndex": 10 + } + } + ] + } + } + } + ] + } + ] + }, + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "appBar": { + "tabs": { + "core": [ + "geolocator", + "legend", + "details", + "export" + ] + } + }, + "footerBar": { + "tabs": { + "core": [ + "layers", + "data-table" + ] + } + }, + "corePackages": [], + "theme": "geo.ca" +} diff --git a/packages/geoview-core/public/configs/navigator/layers/all-layers.json b/packages/geoview-core/public/configs/navigator/layers/all-layers.json index c3d0d2d2d0c..73fd65f1cd0 100644 --- a/packages/geoview-core/public/configs/navigator/layers/all-layers.json +++ b/packages/geoview-core/public/configs/navigator/layers/all-layers.json @@ -84,7 +84,7 @@ } ] }, - { + { "geoviewLayerId": "historical-flood-dynamic", "geoviewLayerName": "Historical Flood Events (HFE) - esriDynamic", "metadataAccessPath": "https://maps-cartes.services.geo.ca/server_serveur/rest/services/NRCan/historical_flood_event_en/MapServer", @@ -130,7 +130,12 @@ "layerName": "Static Image - imageStatic", "source": { "dataAccessPath": "https://datacube-prod-data-public.s3.ca-central-1.amazonaws.com/store/imagery/aerial/napl/napl-ring-of-fire/napl-ring-of-fire-1954-08-07-60k-thumbnail.png", - "extent": [-87.77486341686723, 51.62285357468582, -84.57727128084842, 53.833354975551075], + "extent": [ + -87.77486341686723, + 51.62285357468582, + -84.57727128084842, + 53.833354975551075 + ], "projection": 4326 } } @@ -249,19 +254,41 @@ } ] }, - "components": ["overview-map", "north-arrow"], - "overviewMap": { "hideOnZoom": 7 }, - "footerBar": { + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { "tabs": { - "core": ["layers", "data-table"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] } }, - "corePackages": [], - "theme": "geo.ca", - "appBar": { + "footerBar": { "tabs": { - "core": ["geolocator", "legend", "details", "export"] + "core": [ + "layers", + "data-table" + ] } }, - "navBar": ["zoom", "rotation", "fullscreen", "home", "location", "measurement", "basemap-select", "projection"] + "corePackages": [], + "theme": "geo.ca" } diff --git a/packages/geoview-core/public/configs/navigator/layers/csv.json b/packages/geoview-core/public/configs/navigator/layers/csv.json index 5812ab5b95e..be9483e3196 100644 --- a/packages/geoview-core/public/configs/navigator/layers/csv.json +++ b/packages/geoview-core/public/configs/navigator/layers/csv.json @@ -41,19 +41,41 @@ } ] }, - "components": ["overview-map", "north-arrow"], - "overviewMap": { "hideOnZoom": 7 }, - "footerBar": { + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { "tabs": { - "core": ["layers", "data-table"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] } }, - "corePackages": [], - "theme": "geo.ca", - "appBar": { + "footerBar": { "tabs": { - "core": ["geolocator", "legend", "details", "export"] + "core": [ + "layers", + "data-table" + ] } }, - "navBar": ["zoom", "rotation", "fullscreen", "home", "location", "measurement", "basemap-select", "projection"] + "corePackages": [], + "theme": "geo.ca" } diff --git a/packages/geoview-core/public/configs/navigator/layers/esri-dynamic-errors.json b/packages/geoview-core/public/configs/navigator/layers/esri-dynamic-errors.json index 1301a2868e0..3cdd28fe128 100644 --- a/packages/geoview-core/public/configs/navigator/layers/esri-dynamic-errors.json +++ b/packages/geoview-core/public/configs/navigator/layers/esri-dynamic-errors.json @@ -34,19 +34,41 @@ } ] }, - "components": ["overview-map", "north-arrow"], - "overviewMap": { "hideOnZoom": 7 }, - "footerBar": { + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { "tabs": { - "core": ["layers", "data-table"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] } }, - "corePackages": [], - "theme": "geo.ca", - "appBar": { + "footerBar": { "tabs": { - "core": ["geolocator", "legend", "details", "export"] + "core": [ + "layers", + "data-table" + ] } }, - "navBar": ["zoom", "rotation", "fullscreen", "home", "location", "measurement", "basemap-select", "projection"] + "corePackages": [], + "theme": "geo.ca" } diff --git a/packages/geoview-core/public/configs/navigator/layers/esri-dynamic-group-of-groups.json b/packages/geoview-core/public/configs/navigator/layers/esri-dynamic-group-of-groups.json index 6b7f7975c8e..18576067e2a 100644 --- a/packages/geoview-core/public/configs/navigator/layers/esri-dynamic-group-of-groups.json +++ b/packages/geoview-core/public/configs/navigator/layers/esri-dynamic-group-of-groups.json @@ -2,7 +2,15 @@ "map": { "interaction": "dynamic", "viewSettings": { - "initialView": { "zoomAndCenter": [10, [-75.370748, 45.001058]] }, + "initialView": { + "zoomAndCenter": [ + 10, + [ + -75.370748, + 45.001058 + ] + ] + }, "projection": 3857 }, "basemapOptions": { @@ -37,19 +45,41 @@ } ] }, - "components": ["overview-map", "north-arrow"], - "overviewMap": { "hideOnZoom": 7 }, - "footerBar": { + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { "tabs": { - "core": ["layers", "data-table"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] } }, - "corePackages": [], - "theme": "geo.ca", - "appBar": { + "footerBar": { "tabs": { - "core": ["geolocator", "legend", "details", "export"] + "core": [ + "layers", + "data-table" + ] } }, - "navBar": ["zoom", "rotation", "fullscreen", "home", "location", "measurement", "basemap-select", "projection"] + "corePackages": [], + "theme": "geo.ca" } diff --git a/packages/geoview-core/public/configs/navigator/layers/esri-dynamic-projections.json b/packages/geoview-core/public/configs/navigator/layers/esri-dynamic-projections.json index 01beb1b4379..4a4173657a2 100644 --- a/packages/geoview-core/public/configs/navigator/layers/esri-dynamic-projections.json +++ b/packages/geoview-core/public/configs/navigator/layers/esri-dynamic-projections.json @@ -6,7 +6,15 @@ "map": { "interaction": "dynamic", "viewSettings": { - "initialView": { "zoomAndCenter": [5, [-90, 50]] }, + "initialView": { + "zoomAndCenter": [ + 5, + [ + -90, + 50 + ] + ] + }, "projection": 3857 }, "basemapOptions": { @@ -92,19 +100,41 @@ } ] }, - "components": ["overview-map", "north-arrow"], - "overviewMap": { "hideOnZoom": 7 }, - "footerBar": { + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { "tabs": { - "core": ["layers", "data-table"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] } }, - "corePackages": [], - "theme": "geo.ca", - "appBar": { + "footerBar": { "tabs": { - "core": ["geolocator", "legend", "details", "export"] + "core": [ + "layers", + "data-table" + ] } }, - "navBar": ["zoom", "rotation", "fullscreen", "home", "location", "measurement", "basemap-select", "projection"] + "corePackages": [], + "theme": "geo.ca" } diff --git a/packages/geoview-core/public/configs/navigator/layers/esri-dynamic.json b/packages/geoview-core/public/configs/navigator/layers/esri-dynamic.json index c64c7ff295f..f19380ea7af 100644 --- a/packages/geoview-core/public/configs/navigator/layers/esri-dynamic.json +++ b/packages/geoview-core/public/configs/navigator/layers/esri-dynamic.json @@ -49,15 +49,26 @@ "Point": { "type": "uniqueValue", "hasDefault": false, - "fields": ["E_Regulated", "E_SampleType", "E_Overall_Condition"], + "fields": [ + "E_Regulated", + "E_SampleType", + "E_Overall_Condition" + ], "info": [ { "visible": true, "label": "Natural, Seasonal, High", - "values": ["Natural", "Seasonal", "High"], + "values": [ + "Natural", + "Seasonal", + "High" + ], "settings": { "mimeType": "image/png", - "offset": [0, 0], + "offset": [ + 0, + 0 + ], "opacity": 1, "rotation": 0, "src": "iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IB2cksfwAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAcNJREFUKJFjYSATsCBz/v//z/Tp8+fwO/cf273/+FmckZHxn6iQwBMVJbldXJyc27Bq/P//v8jVm3cmtUxf7rX+3nN+ZEVJ+srhd+8/3KikIFfMyMj4Fa7x////zBeu3JjuXDM55Ou//xjOmnfxrsS+8t7Uze1FLAwMDClwjU+fv0irmLzYH5smGHjw/TdTz7yVIe/ef9wiJMi/gYWBgYHhxp2HXgeev2dFVtjhb8Pw7dtPhqbdp+FiCy894E+4cz+IgYEBovHDp88qyJpmxngwxIf5wfnImt+9f68Ed+rff3/ZkTVycnDA2dxcHMhSDH/+/WeHa+Tm5HzJwMCgCJMsW7SZgYmZkeHHj18M5RsPo2jk4eJ+DdcoKSZyQoeX0+LK5+8MDAwMDC9+/WWImbkeI4D85MUZJMWED8A1qirKVjUlBvgETVqugqEa5mQmRoacKO9zWurKPXCNfHx8389evha5Njd8bfPCLXIXPn1F0eQgLshQGut7XUREOJCRkfEfXCMDAwODsa7WmQOnT+t150VMevn6ne33bz+kGBgZ/3FzcTyUEBXZxcb4p0RbTek3TD1KWnUwNf3IwMAQj8u5yAAAupehfivnXOEAAAAASUVORK5CYII=", @@ -67,10 +78,17 @@ { "visible": false, "label": "Natural, Seasonal, Low", - "values": ["Natural", "Seasonal", "Low"], + "values": [ + "Natural", + "Seasonal", + "Low" + ], "settings": { "mimeType": "image/png", - "offset": [0, 0], + "offset": [ + 0, + 0 + ], "opacity": 1, "rotation": 0, "src": "iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABw0lEQVQ4jWNhoBJgGRoG/f//n+nry8fhzy4ft/v2/pU4IxPDPx5RmSfSBva7OPiFthFl0P///0UeHNk86fSCFq/vH97wI8vxSsiFPzl3cKO0oV0xIyPjV5wG/f//n/nOgXXTj00tC2H4/x/D1s8vHkns70hNdSidxsLAwJCC06BXN8+mnZnX5I/NEBj49/cP06l5LSGfnt3ZwielsgGrQc8vHfX69e0zK7KYlL4tw5+f3xhe3TgLF/vy6hH/k7NHgxgYGLAb9P39GxVkvqKNL4NtwQQGBgYGhh01YSiGfX37RAmn1/7//cuOIsnBjZUN9SKqWmQOGzfvSwYGBkUY/86+1QyMTEwMf35+Z3h24RCKQRy8gq9xGsQvpXiCmZXd4u/vnxAX/vvLcGvXMgZ0wMEvzMAnrXIAp0EqGtZVn7zjfa5smIUSViiAkZFByyf5nIKVZw9OgxhlZb/f3bUmUss3ee3NnUvl/v76gWIGGxcvg5ZP0nUuOelARkbGfzgNYmBgYFB2CzlzZtVMPYPwgkmfXz60/fP9mxQDI8M/Vi6+h7wS8ru+S/4uUTbx/Y2uD2teMwlL/8jAwBCP03tYwOArRgCKzaW6FXcnxAAAAABJRU5ErkJggg==", @@ -80,10 +98,17 @@ { "visible": false, "label": "Natural, Seasonal, Normal", - "values": ["Natural", "Seasonal", "Normal"], + "values": [ + "Natural", + "Seasonal", + "Normal" + ], "settings": { "mimeType": "image/png", - "offset": [0, 0], + "offset": [ + 0, + 0 + ], "opacity": 1, "rotation": 0, "src": "iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IB2cksfwAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAcdJREFUKJFjYSATsCBz/v//z/Tt++fwZ6/v2X359lGckZHxHx+34BNJMZVdnOyc27Bq/P//v8iDZzcm7Tg+yev915v8yIokhMzCn768v1FKTKGYkZHxK1zj////me8+vjx99YHikP///2I468W7UxJLd11NjXTtZ2FgYEiBa3zz4WnaluO9/tg0wcCff1+Zdp+aFfLpy/stfDyCG1gYGBgYnry46/Xtx2NWZIW6CmEMP39/Y7j1dAvC5vdn+J+8uh3EwMAA0fjl+0cVZE1mGqkMzmYRDAwMDAxr9zKgaP785Z0Skh//siNrZGPhgLPZWblRnPz3/z92uEZ2Ns6XDAwMijDJo9dmMTAyMjH8/vOD4fKDlSgaOdm5X8M1CvJKnGBl4bf4/ecjAwMDA8P/fz8ZDl+eiBFAAtyqDIK84gfgGiWElKrs9TJ99pzrUMFQDQWMjMwMNnpx5+Sl1HvgGvn4+L7ffnA50tmwbO3hK7Plfv1+j6KJi0OawV4v+bogr2ggIyPjP7hGBgYGBlUF3TNX7x3QczMtnvTh82vb37+/STEwMv7jYOV+KMArtusbN1OJrKTab5h6lLSqreTwkYGBIR6Xc5EBAG+8pa3DWR79AAAAAElFTkSuQmCC", @@ -93,10 +118,17 @@ { "visible": true, "label": "Natural, Yearly, High", - "values": ["Natural", "Yearly", "High"], + "values": [ + "Natural", + "Yearly", + "High" + ], "settings": { "mimeType": "image/png", - "offset": [0, 0], + "offset": [ + 0, + 0 + ], "opacity": 1, "rotation": 0, "src": "iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAAXNSR0IB2cksfwAAAAlwSFlzAAAOxAAADsQBlSsOGwAAARhJREFUKJGNjzFLQlEYhp8OR45xaUgiIqcgEhpqb2toaFAbpTEuQTch15qD5ooEwR/QrnDr+gPammsMg7hgDsHBjtm5DXrFwbo948fzvnyvJKZUms305g/1gCKCLNABGxhHXXN71Y01CbBaPFppa3wNOcS4Yg3EltJfZfJewTSqD8OA66p2ONOEKMd0FiBqsuNu0qq/ykyYOtBE67/IMRnSqTPAkxoKCTIACvYMeBLI/icALAFCYulMDP2LLmAl2ADEdpLtwJ0BpOl/V1ValBNe+1R9ew4gadU/nN3jgpbWBxanyD2D3X+7rz0NA0DXv3kkf7KhbP/UCIoKloF3BxvMDcTFi197jtNy3NO4DA1UgIoZncxo6SQ//xRZVbXMk6kAAAAASUVORK5CYII=", @@ -106,10 +138,17 @@ { "visible": false, "label": "Natural, Yearly, Low", - "values": ["Natural", "Yearly", "Low"], + "values": [ + "Natural", + "Yearly", + "Low" + ], "settings": { "mimeType": "image/png", - "offset": [0, 0], + "offset": [ + 0, + 0 + ], "opacity": 1, "rotation": 0, "src": "iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAAXNSR0IB2cksfwAAAAlwSFlzAAAOxAAADsQBlSsOGwAAASFJREFUKJGNkb1KA0EURs8Mw0YRLUREDLgIYsBCezsLSxMbgwSUJYiFpLDVWvABBAsLiVaSYGUgIXkAO7E0vbAIyUaMouyQGQt3u/x44MKF73zc4ioirnYZd7R7KCQZDEkIW9ZQdxL+Re6OIPYUwE1maRGtq0AKE0fOspCsa+0WbrNj6f1S8xFA3R+Q+OzoCpCiPzO216sUs6k1r9R8Vd22mxeSlQFyhJ6WVp8CR0pI0sPlPyxsx4WkNSN9MMw1QCoLrf9cgDDYBKMEYd3ibIwuTNQAlHn3L8WUWwCSQ+wfKb/OAJTX4KO4000LM1kFZvvI31aGub2y/wLR47xy8HS9tbCqnM6JhQwwj6RtCevgnHtlvxm3VbzkH57fgONoBvILJileSF2zp2AAAAAASUVORK5CYII=", @@ -119,10 +158,17 @@ { "visible": false, "label": "Natural, Yearly, Normal", - "values": ["Natural", "Yearly", "Normal"], + "values": [ + "Natural", + "Yearly", + "Normal" + ], "settings": { "mimeType": "image/png", - "offset": [0, 0], + "offset": [ + 0, + 0 + ], "opacity": 1, "rotation": 0, "src": "iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAAXNSR0IB2cksfwAAAAlwSFlzAAAOxAAADsQBlSsOGwAAARxJREFUKJGNkS1IQ2EUQM/99u2vioj4ksWBQbuwoLDoZpSB8lgwyIJN3hBEnA6TQTAYZNpNDqZ7UdBm1m5QmQsqvjF57zNsr21uBy5cLuekq+mxe7aajMVeN0RUDgILVNOYoNGJdU728vet0NMABxfpaeG9DirVPSuAGRG1EP9NFA8vM9nSuvsAoI+viHvf0RqQoj/jGL9WqWbmHdt90d7XUgFhdoAcMmaUXwI2NUJ2iNzFsBIGFmakZBIXpTE0R9KhRYZAi9AwhsVhtsANgP4JIqdJ8YuA9Y/fRkXLAHrfdj/L1XRWSaIO/kQf2RMT5J212yfoPW7Hvns8Ol+eC3TbMcbPAVPAh5hIA3TFsevPYa3DZbtw/QZs9WYgf/xmWAwLz4rrAAAAAElFTkSuQmCC", @@ -132,10 +178,17 @@ { "visible": false, "label": "Regulated, Seasonal, High", - "values": ["Regulated", "Seasonal", "High"], + "values": [ + "Regulated", + "Seasonal", + "High" + ], "settings": { "mimeType": "image/png", - "offset": [0, 0], + "offset": [ + 0, + 0 + ], "opacity": 1, "rotation": 0, "src": "iVBORw0KGgoAAAANSUhEUgAAABMAAAAQCAYAAAD0xERiAAAAAXNSR0IB2cksfwAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAf5JREFUOI2t01tI02EYBvDnrT+EmC6KYCRBglFRmJ02VlgRSqAUHUCQZY68GQ2vJGdIkHiRdNE06DAG9u8gxoJpRxJ3EQqaMYpS2VAqaqsVxGyWOmXu6WoyXbFmPXffw8vve/ngU/Afo6QaICnR6Ox1RVlqFhH+EzY9M1P1qLunuKSosBKAumiMpGbIN1putLtyX67PrSDpFJHJRWE/Jybr6mw3DQDQcKVN33rhTA2AxrQxkhvdPf2F7mAoAwDuv/+S+XrYV0zyhogE0sJCY+Hak81tuxM7y6Xbhmf2PCuA6r/GSB5qaW0vCEVjkth7JyKKu3dgB0m9iAykxEgu838KGq2dvdu2ZGXgak0l1uZo0ed5A6PdBaPdZdhn2HkaQGpsNhYzn2tR9QBw3nQYuu35AIDjpUXwDI7A1jcER3tnPskyEXH+ESOZ82rQu/euz78OALKXZ867aPUqDQCgoetFwYmjB4+QfCgiU7/FpiLT1aeaHAfi51sP3Ni6eQM02VkYffcBl7uez83WN6u71CarGYAtCSO5597j7k3eH5EV8e7O8Ec8MZ2FTrsSTwPf5m3p9Pnzakfe6kiuEZHPcxjJJd/D4+UV9o6ShW8YisaSoHhMjdf296sXLQDqEzerCgS/ljotZSn/6oJox8Ljx0h2iIhHAQARcQBwpAkl5ReILNJbf8Z/egAAAABJRU5ErkJggg==", @@ -145,10 +198,17 @@ { "visible": false, "label": "Regulated, Seasonal, Low", - "values": ["Regulated", "Seasonal", "Low"], + "values": [ + "Regulated", + "Seasonal", + "Low" + ], "settings": { "mimeType": "image/png", - "offset": [0, 0], + "offset": [ + 0, + 0 + ], "opacity": 1, "rotation": 0, "src": "iVBORw0KGgoAAAANSUhEUgAAABMAAAAQCAYAAAD0xERiAAAAAXNSR0IB2cksfwAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAf1JREFUOI2t009Ik2EcB/Dvr15o/dOikNKIJA+KJZOwtaKQwkNWJB4KsfAg1SglcJFBhAeRCIqoJhivTA8eQpAOZhCMkQ4Ra2nN0mrQPzdrHZyTNt9qr99OjumKNet7e378+DxfHngU/McoyRZIih6NtixVFIuI8J8w/cf36hFHT0n+gYNVANoXjZFM9795VeGx12Vn5OSeJNkpIpFFYVokfKn/1hUzAAzcbTIdblStABpTxkjmjvU59mpfh5YDQPhj/0rf6IsSkm0i4ksJ+xacvOhurtkdPxu8fcG8sflhPYDav8ZIHnG124zUNYmfRyN+5a3LsYOkSUQGk2Ikl036xyvfP7heqKzaDPP5G1ibuQkfng3AY6+Dx241b91VfBZAcmx2Vrf02RpMALD9RD2yC4sAAMbScgReDiHwpANP76kFJI+JSOcfMZJZn0aG9017nVsAwLA6bd5FhnXrAQA+Z4sxWFZZRrJbRGZ+i/3UtFrXtZr9c+fR7g5k5RVgRVo6Au+8GHe0xnZ77zQUHW1qtQC4mYCR3PO8pytP1/xr5mah14/QdaoXhoxtmPnsntdy2uvMmfCO7SSZKSITMYzkknBoqsLTZi1d+IbUtQQo1u7q6eLj6uNzAC7HN6ue+uI7ZDxjS/pXF2RDOBQsJ3lfRNwKAIiICkBNEUrIL56h1pnX6ksDAAAAAElFTkSuQmCC", @@ -158,10 +218,17 @@ { "visible": false, "label": "Regulated, Seasonal, Normal", - "values": ["Regulated", "Seasonal", "Normal"], + "values": [ + "Regulated", + "Seasonal", + "Normal" + ], "settings": { "mimeType": "image/png", - "offset": [0, 0], + "offset": [ + 0, + 0 + ], "opacity": 1, "rotation": 0, "src": "iVBORw0KGgoAAAANSUhEUgAAABMAAAAQCAYAAAD0xERiAAAAAXNSR0IB2cksfwAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAftJREFUOI2t011I01EYBvDnzX80a2UFRbWKRgVGGQvJsUZSgV2UUkQYEhFh0Ci8iOgDBt10YxG5ootgFwndlCGlq6CCaFsRfiA6RdMoXa7Bhtk+29iHT1eT6Yo167k7Dy+/83LgKPiPUfINkJR0OnWvqEgxiQj/CUukE/Wd/S+rKrbuPwmgec4YyZKxb0N1TpdFu27l5hMkW0Tk55ywWDx6xfb+ugEAXny4oz9VffMCgGsFYyRLe4be7o7Ex4sBIBAdXvTFM1BF8r6IeArCQpHJS6+6G3dld887Gg3rVzdfBtDw1xjJmmdOq45MSnafSgWVvhF7OUm9iHTkxUgu8E96jvePPtwxXylBtcGMFcs0+DjWBYfLAofLYijbaDwLID82NZU2tTlu6QGgsuwMSrXlAACjrgZunwtu3xu87nqwnWStiLT8ESOp+fTVVTkR6tsAAMWqxTMuUquWAwBGPO06/4+jh0naRCT2WyyRjDc8dV7dlzl3DrZCq9kG9cIl8Pg+Y3DcNj3bZr+x8/ShJhOAphyMpPFdb/uWVDq8NNP5g72421oLtWotwrHRGVtOhAY2ub3DFSTXiIh3GiM5LxwN1jldtw/MfkMymQNl8thu3nP+2KNzAMzZm9V/D3gP7tVdzPtXZ2VVJBo4QvKJiHQrACAiVgDWAqGc/ALxctoeg0TwJAAAAABJRU5ErkJggg==", @@ -171,10 +238,17 @@ { "visible": false, "label": "Regulated, Yearly, High", - "values": ["Regulated", "Yearly", "High"], + "values": [ + "Regulated", + "Yearly", + "High" + ], "settings": { "mimeType": "image/png", - "offset": [0, 0], + "offset": [ + 0, + 0 + ], "opacity": 1, "rotation": 0, "src": "iVBORw0KGgoAAAANSUhEUgAAABIAAAAPCAYAAADphp8SAAAAAXNSR0IB2cksfwAAAAlwSFlzAAAOxAAADsQBlSsOGwAAATxJREFUOI2d079LAnEYx/F3p9yFOMS1JK0NztHQUNQmYXHQr61JyPLIwTAIgqShHxQSghZBY3/AF3Ju7X9okLZoOAr6Uhf5vYYTyUo9/WzPl+f7ep7lCRMkyWyUaumtU0u4K7KyGzE+X+5cKzeLKMq+IePjdQeYMJDbLhz0ByXSo+Dl/ULLY6UuEdfPPUOmHjqUeJFGGUXp+4DdE2TO2eMStfbzzYD1kaR9/lgtPwSGpK6KKAZ+9z9p6ghYDgYtZBZR3kybGUumZU86onzfGcpmdWruCWjtlkUqdQpMd4SM2tcWaGNtFT9TWJsW4kL8D61mhnn39rog/kA4duEWqP+F3HoBtKEgEIq4aWVSjqhctUCxRDruKG0jENKIVF4BK3eDKMom5AyGzlBe99trTcxQ/uk0P7qiMt8j0pJvr8JggMSSoswAAAAASUVORK5CYII=", @@ -184,10 +258,17 @@ { "visible": false, "label": "Regulated, Yearly, Low", - "values": ["Regulated", "Yearly", "Low"], + "values": [ + "Regulated", + "Yearly", + "Low" + ], "settings": { "mimeType": "image/png", - "offset": [0, 0], + "offset": [ + 0, + 0 + ], "opacity": 1, "rotation": 0, "src": "iVBORw0KGgoAAAANSUhEUgAAABQAAAATCAYAAACQjC21AAAACXBIWXMAAA7EAAAOxAGVKw4bAAABTklEQVQ4jWNhoDJgGTADV4Vq84StvvqFKgYuDFYx/P7vWz0DA0MAVQxkZPjb95+B0WFBkKJdwrr7hygycHGwcsA/hv8OEIMZuxkYGMzJNnBmmjHrv7fvu5CcarYoRDE0bs391WQZyP72fQ4DA4Mqstj//4xtM9OMN6TPOvubJAPnhMoIMf5jqMUipcLx9l06AwPDFJIMZP3P2sDAwCCIXZaxbq6f+sLkTTc/E2Xg4lBF9X//GDNwWcbAwCDKzPqnnIGBoYYoA//9Y+xhYGBgxWMgAyPD/8LFQfJTY9c9fI7XwAUhSs4M/xl88BkGBVz/GFiaGBgYUnEa2NDAwMR4maGXCMOgzvyfuChQvi9u/cPrWA1UvKKYxMDAoE+0gQwMzP+YmDsZGBj8MAxcFarN8/3f92YSDIM4koHBFzlLwg2EliSSpBqIDgauPCQWAAAl/F2MVoc3hAAAAABJRU5ErkJggg==", @@ -197,10 +278,17 @@ { "visible": true, "label": "Regulated, Yearly, Normal", - "values": ["Regulated", "Yearly", "Normal"], + "values": [ + "Regulated", + "Yearly", + "Normal" + ], "settings": { "mimeType": "image/png", - "offset": [0, 0], + "offset": [ + 0, + 0 + ], "opacity": 1, "rotation": 0, "src": "iVBORw0KGgoAAAANSUhEUgAAABIAAAAPCAYAAADphp8SAAAAAXNSR0IB2cksfwAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAUhJREFUOI2d0z1Lw1AUBuD3hppCLSo4iLg6dFZBEYtZQgeFgB+jrSIEQXSxFUIFg1jTYhBHyWITEVwDOhXUSVz8Bf4DcahgBxtvrkNrIbamSd/tXM557llOBAGiGQtxRb779OuJdEOUm9UY+6o+6KYkZDN2rWdooF7dZ6BTdXzsATjqCSpaqTGXOblGxeVUc/JCzby8hYZc5pwAiDXLOM8GDwFsh4KOy8kJAGueRwK5cDl7nt94eg0MEdJ3BoC09XO8BmAlEFQwhSUCzHf8ANyyVhZnlPXKsy+0a4An4Er/bQoAjNBTAElfaCQq7gB03A8CMKdZgqSkH+2OUMmaHqaMHnRBGlsxrmgYuJVl0DboG/0qAYaCQAAS71FxE6gYHki7SiWY62wFRJqhqm5K19mMXWtBLnN0EuBk/mT093Rag/n0/WJIxJMfY79g/IvbH/IAAAAASUVORK5CYII=", @@ -236,22 +324,45 @@ } ] }, - "components": ["overview-map", "north-arrow"], - "overviewMap": { "hideOnZoom": 7 }, - "footerBar": { + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { "tabs": { - "core": ["layers", "data-table", "time-slider"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] } }, - "corePackages": [], - "theme": "geo.ca", - "appBar": { + "footerBar": { "tabs": { - "core": ["geolocator", "legend", "details", "export"] + "core": [ + "layers", + "data-table", + "time-slider" + ] } }, - "navBar": ["zoom", "rotation", "fullscreen", "home", "location", "measurement", "basemap-select", "projection"], + "corePackages": [], "globalSettings": { "coordinateInfoEnabled": false - } + }, + "theme": "geo.ca" } diff --git a/packages/geoview-core/public/configs/navigator/layers/esri-feature-errors.json b/packages/geoview-core/public/configs/navigator/layers/esri-feature-errors.json index 1eb2367e16d..6270c837b94 100644 --- a/packages/geoview-core/public/configs/navigator/layers/esri-feature-errors.json +++ b/packages/geoview-core/public/configs/navigator/layers/esri-feature-errors.json @@ -46,17 +46,25 @@ "Point": { "type": "classBreaks", "hasDefault": true, - "fields": ["Total_CSO_Volume"], + "fields": [ + "Total_CSO_Volume" + ], "info": [ { "label": "0 m3", - "values": [0, 0], + "values": [ + 0, + 0 + ], "visible": true, "settings": { "symbol": "circle", "type": "simpleSymbol", "color": "rgba(76,230,0,1)", - "offset": [0, 0], + "offset": [ + 0, + 0 + ], "rotation": 0, "size": 2.6679999999999997, "stroke": { @@ -68,13 +76,19 @@ }, { "label": "0.0001 - ≤ 5,000,000 m3", - "values": [0.0001, 5000000], + "values": [ + 0.0001, + 5000000 + ], "visible": true, "settings": { "symbol": "circle", "type": "simpleSymbol", "color": "rgba(226,176,255,1)", - "offset": [0, 0], + "offset": [ + 0, + 0 + ], "rotation": 0, "size": 5.114407777777778, "stroke": { @@ -86,13 +100,19 @@ }, { "label": "> 5,000,000 - ≤ 10,000,000 m3", - "values": [5000000, 10000000], + "values": [ + 5000000, + 10000000 + ], "visible": true, "settings": { "symbol": "circle", "type": "simpleSymbol", "color": "rgba(217,151,255,1)", - "offset": [0, 0], + "offset": [ + 0, + 0 + ], "rotation": 0, "size": 7.560815555555555, "stroke": { @@ -104,13 +124,19 @@ }, { "label": "> 10,000,000 - ≤ 15,000,000 m3", - "values": [10000000, 15000000], + "values": [ + 10000000, + 15000000 + ], "visible": true, "settings": { "symbol": "circle", "type": "simpleSymbol", "color": "rgba(207,125,255,1)", - "offset": [0, 0], + "offset": [ + 0, + 0 + ], "rotation": 0, "size": 10.007223333333332, "stroke": { @@ -122,13 +148,19 @@ }, { "label": "> 15,000,000 - ≤ 20,000,000 m3", - "values": [15000000, 20000000], + "values": [ + 15000000, + 20000000 + ], "visible": true, "settings": { "symbol": "circle", "type": "simpleSymbol", "color": "rgba(200,105,255,1)", - "offset": [0, 0], + "offset": [ + 0, + 0 + ], "rotation": 0, "size": 12.453631111111111, "stroke": { @@ -140,13 +172,19 @@ }, { "label": "> 20,000,000 - ≤ 25,000,000 m3", - "values": [20000000, 25000000], + "values": [ + 20000000, + 25000000 + ], "visible": true, "settings": { "symbol": "circle", "type": "simpleSymbol", "color": "rgba(190,80,255,1)", - "offset": [0, 0], + "offset": [ + 0, + 0 + ], "rotation": 0, "size": 14.90003888888889, "stroke": { @@ -158,13 +196,19 @@ }, { "label": "> 25,000,000 - ≤ 30,000,000 m3", - "values": [25000000, 30000000], + "values": [ + 25000000, + 30000000 + ], "visible": true, "settings": { "symbol": "circle", "type": "simpleSymbol", "color": "rgba(183,58,255,1)", - "offset": [0, 0], + "offset": [ + 0, + 0 + ], "rotation": 0, "size": 17.346446666666665, "stroke": { @@ -176,13 +220,19 @@ }, { "label": "> 30,000,000 - ≤ 35,000,000 m3", - "values": [30000000, 35000000], + "values": [ + 30000000, + 35000000 + ], "visible": true, "settings": { "symbol": "circle", "type": "simpleSymbol", "color": "rgba(175,37,255,1)", - "offset": [0, 0], + "offset": [ + 0, + 0 + ], "rotation": 0, "size": 19.792854444444444, "stroke": { @@ -194,13 +244,19 @@ }, { "label": "> 35,000,000 m3", - "values": [35000000, 999000000], + "values": [ + 35000000, + 999000000 + ], "visible": true, "settings": { "symbol": "circle", "type": "simpleSymbol", "color": "rgba(165,11,255,1)", - "offset": [0, 0], + "offset": [ + 0, + 0 + ], "rotation": 0, "size": 22.239262222222223, "stroke": { @@ -218,7 +274,10 @@ "symbol": "circle", "type": "simpleSymbol", "color": "rgba(255,127,127,1)", - "offset": [0, 0], + "offset": [ + 0, + 0 + ], "rotation": 0, "size": 2.0010000000000003, "stroke": { @@ -236,19 +295,41 @@ } ] }, - "components": ["overview-map", "north-arrow"], - "overviewMap": { "hideOnZoom": 7 }, - "footerBar": { + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { "tabs": { - "core": ["layers", "data-table"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] } }, - "corePackages": [], - "theme": "geo.ca", - "appBar": { + "footerBar": { "tabs": { - "core": ["geolocator", "legend", "details", "export"] + "core": [ + "layers", + "data-table" + ] } }, - "navBar": ["zoom", "rotation", "fullscreen", "home", "location", "measurement", "basemap-select", "projection"] + "corePackages": [], + "theme": "geo.ca" } diff --git a/packages/geoview-core/public/configs/navigator/layers/esri-feature.json b/packages/geoview-core/public/configs/navigator/layers/esri-feature.json index 0c513ade655..930d7c53407 100644 --- a/packages/geoview-core/public/configs/navigator/layers/esri-feature.json +++ b/packages/geoview-core/public/configs/navigator/layers/esri-feature.json @@ -67,17 +67,25 @@ "Point": { "type": "classBreaks", "hasDefault": true, - "fields": ["Total_CSO_Volume"], + "fields": [ + "Total_CSO_Volume" + ], "info": [ { "label": "0 m3", - "values": [0, 0], + "values": [ + 0, + 0 + ], "visible": true, "settings": { "symbol": "circle", "type": "simpleSymbol", "color": "rgba(76,230,0,1)", - "offset": [0, 0], + "offset": [ + 0, + 0 + ], "rotation": 0, "size": 2.6679999999999997, "stroke": { @@ -89,13 +97,19 @@ }, { "label": "0.0001 - ≤ 5,000,000 m3", - "values": [0.0001, 5000000], + "values": [ + 0.0001, + 5000000 + ], "visible": true, "settings": { "symbol": "circle", "type": "simpleSymbol", "color": "rgba(226,176,255,1)", - "offset": [0, 0], + "offset": [ + 0, + 0 + ], "rotation": 0, "size": 5.114407777777778, "stroke": { @@ -107,13 +121,19 @@ }, { "label": "> 5,000,000 - ≤ 10,000,000 m3", - "values": [5000000, 10000000], + "values": [ + 5000000, + 10000000 + ], "visible": true, "settings": { "symbol": "circle", "type": "simpleSymbol", "color": "rgba(217,151,255,1)", - "offset": [0, 0], + "offset": [ + 0, + 0 + ], "rotation": 0, "size": 7.560815555555555, "stroke": { @@ -125,13 +145,19 @@ }, { "label": "> 10,000,000 - ≤ 15,000,000 m3", - "values": [10000000, 15000000], + "values": [ + 10000000, + 15000000 + ], "visible": true, "settings": { "symbol": "circle", "type": "simpleSymbol", "color": "rgba(207,125,255,1)", - "offset": [0, 0], + "offset": [ + 0, + 0 + ], "rotation": 0, "size": 10.007223333333332, "stroke": { @@ -143,13 +169,19 @@ }, { "label": "> 15,000,000 - ≤ 20,000,000 m3", - "values": [15000000, 20000000], + "values": [ + 15000000, + 20000000 + ], "visible": true, "settings": { "symbol": "circle", "type": "simpleSymbol", "color": "rgba(200,105,255,1)", - "offset": [0, 0], + "offset": [ + 0, + 0 + ], "rotation": 0, "size": 12.453631111111111, "stroke": { @@ -161,13 +193,19 @@ }, { "label": "> 20,000,000 - ≤ 25,000,000 m3", - "values": [20000000, 25000000], + "values": [ + 20000000, + 25000000 + ], "visible": true, "settings": { "symbol": "circle", "type": "simpleSymbol", "color": "rgba(190,80,255,1)", - "offset": [0, 0], + "offset": [ + 0, + 0 + ], "rotation": 0, "size": 14.90003888888889, "stroke": { @@ -179,13 +217,19 @@ }, { "label": "> 25,000,000 - ≤ 30,000,000 m3", - "values": [25000000, 30000000], + "values": [ + 25000000, + 30000000 + ], "visible": true, "settings": { "symbol": "circle", "type": "simpleSymbol", "color": "rgba(183,58,255,1)", - "offset": [0, 0], + "offset": [ + 0, + 0 + ], "rotation": 0, "size": 17.346446666666665, "stroke": { @@ -197,13 +241,19 @@ }, { "label": "> 30,000,000 - ≤ 35,000,000 m3", - "values": [30000000, 35000000], + "values": [ + 30000000, + 35000000 + ], "visible": true, "settings": { "symbol": "circle", "type": "simpleSymbol", "color": "rgba(175,37,255,1)", - "offset": [0, 0], + "offset": [ + 0, + 0 + ], "rotation": 0, "size": 19.792854444444444, "stroke": { @@ -215,13 +265,19 @@ }, { "label": "> 35,000,000 m3", - "values": [35000000, 999000000], + "values": [ + 35000000, + 999000000 + ], "visible": true, "settings": { "symbol": "circle", "type": "simpleSymbol", "color": "rgba(165,11,255,1)", - "offset": [0, 0], + "offset": [ + 0, + 0 + ], "rotation": 0, "size": 22.239262222222223, "stroke": { @@ -239,7 +295,10 @@ "symbol": "circle", "type": "simpleSymbol", "color": "rgba(255,127,127,1)", - "offset": [0, 0], + "offset": [ + 0, + 0 + ], "rotation": 0, "size": 2.0010000000000003, "stroke": { @@ -257,19 +316,42 @@ } ] }, - "components": ["overview-map", "north-arrow"], - "overviewMap": { "hideOnZoom": 7 }, - "footerBar": { + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { "tabs": { - "core": ["layers", "data-table", "time-slider"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] } }, - "corePackages": [], - "theme": "geo.ca", - "appBar": { + "footerBar": { "tabs": { - "core": ["geolocator", "legend", "details", "export"] + "core": [ + "layers", + "data-table", + "time-slider" + ] } }, - "navBar": ["zoom", "rotation", "fullscreen", "home", "location", "measurement", "basemap-select", "projection"] + "corePackages": [], + "theme": "geo.ca" } diff --git a/packages/geoview-core/public/configs/navigator/layers/esri-image-errors.json b/packages/geoview-core/public/configs/navigator/layers/esri-image-errors.json index b6ddb938043..0c3a410207b 100644 --- a/packages/geoview-core/public/configs/navigator/layers/esri-image-errors.json +++ b/packages/geoview-core/public/configs/navigator/layers/esri-image-errors.json @@ -36,19 +36,41 @@ } ] }, - "components": ["overview-map", "north-arrow"], - "overviewMap": { "hideOnZoom": 7 }, - "footerBar": { + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { "tabs": { - "core": ["layers", "data-table"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] } }, - "corePackages": [], - "theme": "geo.ca", - "appBar": { + "footerBar": { "tabs": { - "core": ["geolocator", "legend", "details", "export"] + "core": [ + "layers", + "data-table" + ] } }, - "navBar": ["zoom", "rotation", "fullscreen", "home", "location", "measurement", "basemap-select", "projection"] + "corePackages": [], + "theme": "geo.ca" } diff --git a/packages/geoview-core/public/configs/navigator/layers/esri-image.json b/packages/geoview-core/public/configs/navigator/layers/esri-image.json index 65949faac46..d6e51015285 100644 --- a/packages/geoview-core/public/configs/navigator/layers/esri-image.json +++ b/packages/geoview-core/public/configs/navigator/layers/esri-image.json @@ -80,19 +80,42 @@ } ] }, - "components": ["overview-map", "north-arrow"], - "overviewMap": { "hideOnZoom": 7 }, - "footerBar": { + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { "tabs": { - "core": ["layers", "data-table", "time-slider"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] } }, - "corePackages": [], - "theme": "geo.ca", - "appBar": { + "footerBar": { "tabs": { - "core": ["geolocator", "legend", "details", "export"] + "core": [ + "layers", + "data-table", + "time-slider" + ] } }, - "navBar": ["zoom", "rotation", "fullscreen", "home", "location", "measurement", "basemap-select", "projection"] + "corePackages": [], + "theme": "geo.ca" } diff --git a/packages/geoview-core/public/configs/navigator/layers/geocore-custom-inline-config.json b/packages/geoview-core/public/configs/navigator/layers/geocore-custom-inline-config.json index 9f3a544a079..c60e4fc5fdc 100644 --- a/packages/geoview-core/public/configs/navigator/layers/geocore-custom-inline-config.json +++ b/packages/geoview-core/public/configs/navigator/layers/geocore-custom-inline-config.json @@ -134,84 +134,116 @@ "Point": { "type": "uniqueValue", "hasDefault": false, - "fields": ["SYMBOL_EN"], + "fields": [ + "SYMBOL_EN" + ], "info": [ { "label": "Confederation to 1914", "visible": true, - "values": ["Confederation to 1914"], + "values": [ + "Confederation to 1914" + ], "settings": { "type": "iconSymbol", "mimeType": "image/png", "src": "iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IB2cksfwAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAahJREFUKJGd0ksoRFEcBvDvjMvci3E9GkxMxttYIIQo8igWHkmsRikLoSxlbSVZjKasyIIFmhQa5JmFZOGxMHYjeSQLxsw05ozhHgtcMWYWvjqbU7/zP9/pcPhnuN8blDqiGSONBCQHYG8gOPV62ZooijQgpB5XtySxsZvLu+j72weEcApoUzVQJ8TeejyuHkFQWfwgpc6BpwfH+PToCs4Xrn/com6oIKm1q26ZUmc7z0ctypBSZ7qX+sZMg3O42nn067M1cgoffVUYBpomKXXs8rxo5wCAMfQc7VtD/0Jf2TOeoaq5OEabmmgAYOIAgABlZ4e2wE/4GZv1ClqdpkyGAAl/dtGg6KPSCwAWLndkgE2bpS6y4joojE+KAwi5kCEBzKXVeR3rw8cBkSqbhz4/DYzBLEMlH2lOTtHsd07UVsz0bfuhsIQQ9BvbwAv8vCCoDr4nEsJe3O62yoaSVY0lvnB36QjWzUsoxVAU1megpqUU6sTYDUlSdH8dJn+AsIiIe8bs5Zm5ut5Mvc6AIegBvAE4AcGUUhk5SwiR/ODH5BgvAOPnCpp3ofqRTtNnzMYAAAAASUVORK5CYII=", "rotation": 0, "opacity": 1, - "offset": [0, 0] + "offset": [ + 0, + 0 + ] } }, { "label": "First World War", "visible": false, - "values": ["First World War"], + "values": [ + "First World War" + ], "settings": { "type": "iconSymbol", "mimeType": "image/png", "src": "iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IB2cksfwAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAZ5JREFUKJGd0ssvA1EUBvDvjqmZelUH7UwkbZQFQSKqImw8dtLEomFlZ9HY+EssiC07G1IWBInEYyMWgiZeG7owI6lE23REemdavRZqhCqJLzmbm/zuOefm8vhn+O8HlKZrGSNBAtIKsFcQRA2D7TgcDloS0szzFMuz2Xg8XvuUSILjOCiyDElyPmQyz2G7vXqrCFKqz+hpfX5jcweapn2Zoqurs3FkeGiDUn1cFGvWLUip3mwY2dmV1TUkEsmifaLRC+SyOS4YHF2kNH0gio4UDwCMIXx9fWP7CX3k8uoG/p5up6K4JwEs8ABAgL6721jpJyzk/l6FIst9FgRIhWGaf0LTNAGwCmtHBty5XPV+VdV+hXV1EkBIzIIEiHR0tE+cnkZLIkEQ4PM1gTFELCiIVRFFlo9GhgcH9vYPi5DNxiMUGoMgiCt2e/XxZ0dCmPnyEgoE/Nsud0P3yckZVFUDz5ehpcWH3t4AJMm5m89zUx+XWR+gvLLykbFUv9frmfZ6PJMA2gC8AjgHwZIgVC0TQvJF8L2z0wAwV6hf8waIeZGd6U5WcwAAAABJRU5ErkJggg==", "rotation": 0, "opacity": 1, - "offset": [0, 0] + "offset": [ + 0, + 0 + ] } }, { "label": "Second World War", "visible": true, - "values": ["Second World War"], + "values": [ + "Second World War" + ], "settings": { "type": "iconSymbol", "mimeType": "image/png", "src": "iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IB2cksfwAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAZ5JREFUKJGd0EsoRFEYB/D/GZe511zzyhhiMTMiQxI2YsPKMylRSkqKlFhpSspGSRSSjcdOpAalPGJhpUkWrFiI2RiSzDTX454rc48FrhiP8q9TX6d+fQ8O/wz39YPSsJkxUkNAsgAWAcGRorBNk8lEf4RUvmtjqjoa8vvN94FL6LgYmF0uiHZ7QJbvOgQhYT0KUip1y7fBicOhEUgzC5+mSBnuT81pbVmjVGrgeeOKBimV0p+pMnrQ68Hj8nbUPleeQahU0eX3dM1SGt7leVOIAwDG0HGx54v9Dr3nemAEwdpqi9XlaAYwyQEAAYpufPs/n/AtweMTWJ3OIg0CJP5ZCv8JI7IMgMVrOzLgTMzKLPyLGtJSAULONUgAb1pZaWPgF8QV5iApLxeMwatBPS96LQ7nXsbidMlpU3sUinHYkDc1hljBsCQICb6PjoSwp4eH+vTK8g2jb6vAv7oGaWMHxGpEYlUFXHW1EJPt26qqa9MmeC/iDIZrxkLFtmx3p83tbkafxw0gAuAQBHN6vThPCFGj4GtniwJg/O39mhf/K5CfkLtGyAAAAABJRU5ErkJggg==", "rotation": 0, "opacity": 1, - "offset": [0, 0] + "offset": [ + 0, + 0 + ] } }, { "label": "Korean War", "visible": false, - "values": ["Korean War"], + "values": [ + "Korean War" + ], "settings": { "type": "iconSymbol", "mimeType": "image/png", "src": "iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IB2cksfwAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAYtJREFUKJGdz79rU2EUxvHvSa+5N2libixtwEpTEYkZjKBLsItQapfiInYKXTIEQd0U/AdcTKG2a91cxCCoVEEonSTiYkEIVKiIYCQdDEkoeW+09zioVzTGgg+8cHjhc35Y/GesPz+MabmqMifICdA9hE3P02eJRMIMhKbbKeL7Zdl572qzDkNDMHoU20197HY7pUgkvtYHjWlfo/P5jr++CI0Hv6+RuT4uUwuPjWlfcpyDDwNoTPsYPa/sr92E1kbfPbp1G756IZm+smpMa8NxEk0LQJUSb6sH/oYCvL0MJ+eSkkoXgBULQCCvH14NREHqNRibzAcQJKq99v7wiwE0GtyosC0jx89oYx/oHgaRdwEUqGjm3Dy1W4ORnYF0DlUqAbSdWMUbnXxBfmVKX17tR9YhZKYM4ej9SCRe/TVRRHu7uxf93OxTRh6d1jdP4NM6WHFk4jycugBu6rnvh4pBr59FeHi4odo86x3JXpbxbAFuZIE94DXCXduO3RMRvw9+n5z0gKUf75/5BuXZh6Fohy1dAAAAAElFTkSuQmCC", "rotation": 0, "opacity": 1, - "offset": [0, 0] + "offset": [ + 0, + 0 + ] } }, { "label": "Peacekeeping", "visible": true, - "values": ["Peacekeeping"], + "values": [ + "Peacekeeping" + ], "settings": { "type": "iconSymbol", "mimeType": "image/png", "src": "iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IB2cksfwAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAatJREFUKJGd0jFoE1Ecx/HvP7kmd03iJSElwaLYq4OpRSQKFgUFt0IpFNGpkx2Ki1hcHNxdCio6OOjmoBAiiFZwEYTSrRYpioNBtLYErUlzxHuJ5p6D7YnGVPAH/+XB5/3//8cz+M8Yfx4otZHUWsYE2Qe6jbDUbOontm2rrlB57pTv69l3lVpyZb1BOCwMZm1yqfhHz3OnLSvxuAMqVT+/Xv96/crcMjfX3N+muDqc7T97Iv9Qqfpp09xRCqBS9UHVas9eLC1xr+p17DOzXKH5zQ9dGD1wW6mNZ6ZpVw0ArZmef73a8ze0lUtvPjFeqKWcnD0J3DAABEYWyp+7P+FmXn34gpNNjgQQpLfW+v5P6LXagO4NdtTwNp+JH2LV3Rb2p2MgUg6gQPHk/p1neLnWFR2JGBx0+tCaYgCjZrw4kGX+wXHn2MTzcgfaGw5xa3wYK9Jz37ISC786iuhWo3FqtDAwt9iXKJQW3/NoxSVtCGNOmonDe8ilYk99PzS1dVnwASKxWEXr6tGh3ZlzQ7syk5chD7SBFwh3otH4XRHxO+DPzqkmcG2zts0PBFWRZ33W55YAAAAASUVORK5CYII=", "rotation": 0, "opacity": 1, - "offset": [0, 0] + "offset": [ + 0, + 0 + ] } }, { "label": "Afghanistan", "visible": false, - "values": ["Afghanistan"], + "values": [ + "Afghanistan" + ], "settings": { "type": "iconSymbol", "mimeType": "image/png", "src": "iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IB2cksfwAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAadJREFUKJGd0ksoRFEYB/D/MZe5dzzGlccUxjOZsRksyLBRkkghVlZmISWRzSzsWShkFhQ7CzKNyCsbG1KTmBSJvMpzYYaZpjl35B4L44oxlH99m1O/833f6XD4Z7jvB5Q+JzJGGghIIcBeQeCSJLam1WppREgDPossy8OXD1eJ1+57qFQq5KVmQyem3AQCvk5BiF8Jg5R6ex59nrHB9UnY7pxfphgpak7vqGpbotTbyvMJDgVS6s2jweBw/+IQZt2nYfv0HTogvUhRvbWWKUqfN3le6+EAgDF0bh87o39CH7GerKDRVCPm6jLbAYxzAECA8p0LV+QnDOXo5gS5afpyBQJE8/Ti/xMGghQA0yg7MuDMkJxVilvnrzBd1AGEnCuQAPZqg7kNB/MRUZlahCnHCMZgV6Caj7PnpOq3Fyq7zU1btjCUz/GYqLdCiNHMCUL8zmdHQljQ72+pK65e3UvOKHG4NrB8u4skjkdDthlNJbXQiSkbshxl+bhM+QAxsbEPjHkqjPqCLmNmQfsAYADwCmAfBNNqddwMIUQOg++dRQnAaKh+zRtAE5CN4Z5HEQAAAABJRU5ErkJggg==", "rotation": 0, "opacity": 1, - "offset": [0, 0] + "offset": [ + 0, + 0 + ] } } ] @@ -222,19 +254,41 @@ } ] }, - "components": ["overview-map", "north-arrow"], - "overviewMap": { "hideOnZoom": 7 }, - "footerBar": { + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { "tabs": { - "core": ["layers", "data-table"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] } }, - "corePackages": [], - "theme": "geo.ca", - "appBar": { + "footerBar": { "tabs": { - "core": ["geolocator", "legend", "details", "export"] + "core": [ + "layers", + "data-table" + ] } }, - "navBar": ["zoom", "rotation", "fullscreen", "home", "location", "measurement", "basemap-select", "projection"] + "corePackages": [], + "theme": "geo.ca" } diff --git a/packages/geoview-core/public/configs/navigator/layers/geocore-custom.json b/packages/geoview-core/public/configs/navigator/layers/geocore-custom.json index c2a7b70d2f0..bd93fa148a2 100644 --- a/packages/geoview-core/public/configs/navigator/layers/geocore-custom.json +++ b/packages/geoview-core/public/configs/navigator/layers/geocore-custom.json @@ -24,19 +24,41 @@ } ] }, - "components": ["overview-map", "north-arrow"], - "overviewMap": { "hideOnZoom": 7 }, - "footerBar": { + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { "tabs": { - "core": ["layers", "data-table"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] } }, - "corePackages": [], - "theme": "geo.ca", - "appBar": { + "footerBar": { "tabs": { - "core": ["geolocator", "legend", "details", "export"] + "core": [ + "layers", + "data-table" + ] } }, - "navBar": ["zoom", "rotation", "fullscreen", "home", "location", "measurement", "basemap-select", "projection"] + "corePackages": [], + "theme": "geo.ca" } diff --git a/packages/geoview-core/public/configs/navigator/layers/geocore-duplicates.json b/packages/geoview-core/public/configs/navigator/layers/geocore-duplicates.json index b16bda23186..08b0ed88cf8 100644 --- a/packages/geoview-core/public/configs/navigator/layers/geocore-duplicates.json +++ b/packages/geoview-core/public/configs/navigator/layers/geocore-duplicates.json @@ -242,19 +242,48 @@ } ] }, - "components": ["overview-map", "north-arrow"], - "overviewMap": { "hideOnZoom": 7 }, - "footerBar": { + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { "tabs": { - "core": ["layers", "data-table"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] } }, - "appBar": { + "footerBar": { "tabs": { - "core": ["geolocator", "legend", "details", "export"] + "core": [ + "layers", + "data-table" + ] } }, - "corePackages": ["swiper"], + "corePackages": [ + "swiper" + ], + "serviceUrls": { + "metadataUrl": "https://open.canada.ca/data/en/dataset/" + }, + "theme": "geo.ca", "corePackagesConfig": [ { "swiper": { @@ -267,10 +296,5 @@ ] } } - ], - "serviceUrls": { - "metadataUrl": "https://open.canada.ca/data/en/dataset/" - }, - "theme": "geo.ca", - "navBar": ["zoom", "rotation", "fullscreen", "home", "location", "measurement", "basemap-select", "projection"] + ] } diff --git a/packages/geoview-core/public/configs/navigator/layers/geocore-errors.json b/packages/geoview-core/public/configs/navigator/layers/geocore-errors.json index f1268335144..624456e2bd3 100644 --- a/packages/geoview-core/public/configs/navigator/layers/geocore-errors.json +++ b/packages/geoview-core/public/configs/navigator/layers/geocore-errors.json @@ -16,19 +16,41 @@ } ] }, - "components": ["overview-map", "north-arrow"], - "overviewMap": { "hideOnZoom": 7 }, - "footerBar": { + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { "tabs": { - "core": ["layers", "data-table"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] } }, - "corePackages": [], - "theme": "geo.ca", - "appBar": { + "footerBar": { "tabs": { - "core": ["geolocator", "legend", "details", "export"] + "core": [ + "layers", + "data-table" + ] } }, - "navBar": ["zoom", "rotation", "fullscreen", "home", "location", "measurement", "basemap-select", "projection"] + "corePackages": [], + "theme": "geo.ca" } diff --git a/packages/geoview-core/public/configs/navigator/layers/geocore-wms.json b/packages/geoview-core/public/configs/navigator/layers/geocore-wms.json index b061ca95bac..6e1cae45434 100644 --- a/packages/geoview-core/public/configs/navigator/layers/geocore-wms.json +++ b/packages/geoview-core/public/configs/navigator/layers/geocore-wms.json @@ -52,19 +52,42 @@ } ] }, - "components": ["overview-map", "north-arrow"], - "overviewMap": { "hideOnZoom": 7 }, - "footerBar": { + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { "tabs": { - "core": ["layers", "data-table", "time-slider"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] } }, - "corePackages": [], - "theme": "geo.ca", - "appBar": { + "footerBar": { "tabs": { - "core": ["geolocator", "legend", "details", "export"] + "core": [ + "layers", + "data-table", + "time-slider" + ] } }, - "navBar": ["zoom", "rotation", "fullscreen", "home", "location", "measurement", "basemap-select", "projection"] + "corePackages": [], + "theme": "geo.ca" } diff --git a/packages/geoview-core/public/configs/navigator/layers/geocore.json b/packages/geoview-core/public/configs/navigator/layers/geocore.json index c5479c0ec3d..d922fd2511c 100644 --- a/packages/geoview-core/public/configs/navigator/layers/geocore.json +++ b/packages/geoview-core/public/configs/navigator/layers/geocore.json @@ -40,19 +40,42 @@ } ] }, - "components": ["overview-map", "north-arrow"], - "overviewMap": { "hideOnZoom": 7 }, - "footerBar": { + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { "tabs": { - "core": ["layers", "data-table", "time-slider"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] } }, - "corePackages": [], - "theme": "geo.ca", - "appBar": { + "footerBar": { "tabs": { - "core": ["geolocator", "legend", "details", "export"] + "core": [ + "layers", + "data-table", + "time-slider" + ] } }, - "navBar": ["zoom", "rotation", "fullscreen", "home", "location", "measurement", "basemap-select", "projection"] + "corePackages": [], + "theme": "geo.ca" } diff --git a/packages/geoview-core/public/configs/navigator/layers/geojson-errors.json b/packages/geoview-core/public/configs/navigator/layers/geojson-errors.json index 9e0e066291e..03454268219 100644 --- a/packages/geoview-core/public/configs/navigator/layers/geojson-errors.json +++ b/packages/geoview-core/public/configs/navigator/layers/geojson-errors.json @@ -90,19 +90,41 @@ } ] }, - "components": ["overview-map", "north-arrow"], - "overviewMap": { "hideOnZoom": 7 }, - "footerBar": { + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { "tabs": { - "core": ["layers", "data-table"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] } }, - "corePackages": [], - "theme": "geo.ca", - "appBar": { + "footerBar": { "tabs": { - "core": ["geolocator", "legend", "details", "export"] + "core": [ + "layers", + "data-table" + ] } }, - "navBar": ["zoom", "rotation", "fullscreen", "home", "location", "measurement", "basemap-select", "projection"] + "corePackages": [], + "theme": "geo.ca" } diff --git a/packages/geoview-core/public/configs/navigator/layers/geojson-multi.json b/packages/geoview-core/public/configs/navigator/layers/geojson-multi.json index c491141ebc6..ac3641309fd 100644 --- a/packages/geoview-core/public/configs/navigator/layers/geojson-multi.json +++ b/packages/geoview-core/public/configs/navigator/layers/geojson-multi.json @@ -37,19 +37,41 @@ } ] }, - "components": ["overview-map", "north-arrow"], - "overviewMap": { "hideOnZoom": 7 }, - "footerBar": { + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { "tabs": { - "core": ["layers", "data-table"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] } }, - "corePackages": [], - "theme": "geo.ca", - "appBar": { + "footerBar": { "tabs": { - "core": ["geolocator", "legend", "details", "export"] + "core": [ + "layers", + "data-table" + ] } }, - "navBar": ["zoom", "rotation", "fullscreen", "home", "location", "measurement", "basemap-select", "projection"] + "corePackages": [], + "theme": "geo.ca" } diff --git a/packages/geoview-core/public/configs/navigator/layers/geojson.json b/packages/geoview-core/public/configs/navigator/layers/geojson.json index 7ce3f941f05..2aebcce41de 100644 --- a/packages/geoview-core/public/configs/navigator/layers/geojson.json +++ b/packages/geoview-core/public/configs/navigator/layers/geojson.json @@ -58,13 +58,17 @@ "layerStyle": { "GeometryCollection": { "type": "uniqueValue", - "fields": ["status"], + "fields": [ + "status" + ], "hasDefault": true, "info": [ { "label": "Active", "visible": true, - "values": ["active"], + "values": [ + "active" + ], "settings": { "type": "filledPolygon", "color": "rgba(46, 204, 113, 0.35)", @@ -79,7 +83,9 @@ { "label": "Inactive", "visible": true, - "values": ["inactive"], + "values": [ + "inactive" + ], "settings": { "type": "filledPolygon", "color": "rgba(231, 76, 60, 0.35)", @@ -94,7 +100,9 @@ { "label": "Maintenance", "visible": true, - "values": ["maintenance"], + "values": [ + "maintenance" + ], "settings": { "type": "filledPolygon", "color": "rgba(241, 196, 15, 0.35)", @@ -129,19 +137,41 @@ } ] }, - "components": ["overview-map", "north-arrow"], - "overviewMap": { "hideOnZoom": 7 }, - "footerBar": { + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { "tabs": { - "core": ["layers", "data-table"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] } }, - "corePackages": [], - "theme": "geo.ca", - "appBar": { + "footerBar": { "tabs": { - "core": ["geolocator", "legend", "details", "export"] + "core": [ + "layers", + "data-table" + ] } }, - "navBar": ["zoom", "rotation", "fullscreen", "home", "location", "measurement", "basemap-select", "projection"] + "corePackages": [], + "theme": "geo.ca" } diff --git a/packages/geoview-core/public/configs/navigator/layers/geopackages.json b/packages/geoview-core/public/configs/navigator/layers/geopackages.json index d120d48a57c..b8626714070 100644 --- a/packages/geoview-core/public/configs/navigator/layers/geopackages.json +++ b/packages/geoview-core/public/configs/navigator/layers/geopackages.json @@ -69,19 +69,41 @@ } ] }, - "components": ["overview-map", "north-arrow"], - "overviewMap": { "hideOnZoom": 7 }, - "footerBar": { + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { "tabs": { - "core": ["layers", "data-table"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] } }, - "corePackages": [], - "theme": "geo.ca", - "appBar": { + "footerBar": { "tabs": { - "core": ["geolocator", "legend", "details", "export"] + "core": [ + "layers", + "data-table" + ] } }, - "navBar": ["zoom", "rotation", "fullscreen", "home", "location", "measurement", "basemap-select", "projection"] + "corePackages": [], + "theme": "geo.ca" } diff --git a/packages/geoview-core/public/configs/navigator/layers/geotiff-errors.json b/packages/geoview-core/public/configs/navigator/layers/geotiff-errors.json index 04ba45f4234..5b4bf80adee 100644 --- a/packages/geoview-core/public/configs/navigator/layers/geotiff-errors.json +++ b/packages/geoview-core/public/configs/navigator/layers/geotiff-errors.json @@ -48,19 +48,41 @@ } ] }, - "components": ["overview-map", "north-arrow"], - "overviewMap": { "hideOnZoom": 7 }, - "footerBar": { + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { "tabs": { - "core": ["legend", "layers", "details", "data-table"] + "core": [ + "geolocator", + "export" + ] } }, - "corePackages": [], - "theme": "geo.ca", - "appBar": { + "footerBar": { "tabs": { - "core": ["geolocator", "export"] + "core": [ + "legend", + "layers", + "details", + "data-table" + ] } }, - "navBar": ["zoom", "rotation", "fullscreen", "home", "location", "measurement", "basemap-select", "projection"] + "corePackages": [], + "theme": "geo.ca" } diff --git a/packages/geoview-core/public/configs/navigator/layers/geotiff.json b/packages/geoview-core/public/configs/navigator/layers/geotiff.json index f80c4935a5a..9f9e6d7748b 100644 --- a/packages/geoview-core/public/configs/navigator/layers/geotiff.json +++ b/packages/geoview-core/public/configs/navigator/layers/geotiff.json @@ -59,19 +59,42 @@ } ] }, - "components": ["overview-map", "north-arrow"], - "overviewMap": { "hideOnZoom": 7 }, - "footerBar": { + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { "tabs": { - "core": ["layers", "data-table", "time-slider"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] } }, - "corePackages": [], - "theme": "geo.ca", - "appBar": { + "footerBar": { "tabs": { - "core": ["geolocator", "legend", "details", "export"] + "core": [ + "layers", + "data-table", + "time-slider" + ] } }, - "navBar": ["zoom", "rotation", "fullscreen", "home", "location", "measurement", "basemap-select", "projection"] + "corePackages": [], + "theme": "geo.ca" } diff --git a/packages/geoview-core/public/configs/navigator/layers/kml.json b/packages/geoview-core/public/configs/navigator/layers/kml.json index cbed43f0ba0..e495c209830 100644 --- a/packages/geoview-core/public/configs/navigator/layers/kml.json +++ b/packages/geoview-core/public/configs/navigator/layers/kml.json @@ -35,19 +35,41 @@ } ] }, - "components": ["overview-map", "north-arrow"], - "overviewMap": { "hideOnZoom": 7 }, - "footerBar": { + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { "tabs": { - "core": ["layers", "data-table"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] } }, - "corePackages": [], - "theme": "geo.ca", - "appBar": { + "footerBar": { "tabs": { - "core": ["geolocator", "legend", "details", "export"] + "core": [ + "layers", + "data-table" + ] } }, - "navBar": ["zoom", "rotation", "fullscreen", "home", "location", "measurement", "basemap-select", "projection"] + "corePackages": [], + "theme": "geo.ca" } diff --git a/packages/geoview-core/public/configs/navigator/layers/ogc-feature-api-errors.json b/packages/geoview-core/public/configs/navigator/layers/ogc-feature-api-errors.json index d4e51b75018..bf58cdf9802 100644 --- a/packages/geoview-core/public/configs/navigator/layers/ogc-feature-api-errors.json +++ b/packages/geoview-core/public/configs/navigator/layers/ogc-feature-api-errors.json @@ -2,7 +2,15 @@ "map": { "interaction": "dynamic", "viewSettings": { - "initialView": { "zoomAndCenter": [3, [0, 20]] }, + "initialView": { + "zoomAndCenter": [ + 3, + [ + 0, + 20 + ] + ] + }, "projection": 3857 }, "basemapOptions": { @@ -38,19 +46,41 @@ } ] }, - "components": ["overview-map", "north-arrow"], - "overviewMap": { "hideOnZoom": 7 }, - "footerBar": { + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { "tabs": { - "core": ["layers", "data-table"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] } }, - "corePackages": [], - "theme": "geo.ca", - "appBar": { + "footerBar": { "tabs": { - "core": ["geolocator", "legend", "details", "export"] + "core": [ + "layers", + "data-table" + ] } }, - "navBar": ["zoom", "rotation", "fullscreen", "home", "location", "measurement", "basemap-select", "projection"] + "corePackages": [], + "theme": "geo.ca" } diff --git a/packages/geoview-core/public/configs/navigator/layers/ogc-feature-api.json b/packages/geoview-core/public/configs/navigator/layers/ogc-feature-api.json index 1ea06a6d354..1796bde5d2a 100644 --- a/packages/geoview-core/public/configs/navigator/layers/ogc-feature-api.json +++ b/packages/geoview-core/public/configs/navigator/layers/ogc-feature-api.json @@ -2,7 +2,15 @@ "map": { "interaction": "dynamic", "viewSettings": { - "initialView": { "zoomAndCenter": [3, [0, 20]] }, + "initialView": { + "zoomAndCenter": [ + 3, + [ + 0, + 20 + ] + ] + }, "projection": 3857 }, "basemapOptions": { @@ -24,19 +32,41 @@ } ] }, - "components": ["overview-map", "north-arrow"], - "overviewMap": { "hideOnZoom": 7 }, - "footerBar": { + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { "tabs": { - "core": ["layers", "data-table"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] } }, - "corePackages": [], - "theme": "geo.ca", - "appBar": { + "footerBar": { "tabs": { - "core": ["geolocator", "legend", "details", "export"] + "core": [ + "layers", + "data-table" + ] } }, - "navBar": ["zoom", "rotation", "fullscreen", "home", "location", "measurement", "basemap-select", "projection"] + "corePackages": [], + "theme": "geo.ca" } diff --git a/packages/geoview-core/public/configs/navigator/layers/rcs-gcgeo.json b/packages/geoview-core/public/configs/navigator/layers/rcs-gcgeo.json index 1a3591193f6..85e6fecd8a6 100644 --- a/packages/geoview-core/public/configs/navigator/layers/rcs-gcgeo.json +++ b/packages/geoview-core/public/configs/navigator/layers/rcs-gcgeo.json @@ -17,19 +17,41 @@ } ] }, - "components": ["overview-map", "north-arrow"], - "overviewMap": { "hideOnZoom": 7 }, - "footerBar": { + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { "tabs": { - "core": ["layers", "data-table"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] } }, - "corePackages": [], - "theme": "geo.ca", - "appBar": { + "footerBar": { "tabs": { - "core": ["geolocator", "legend", "details", "export"] + "core": [ + "layers", + "data-table" + ] } }, - "navBar": ["zoom", "rotation", "fullscreen", "home", "location", "measurement", "basemap-select", "projection"] + "corePackages": [], + "theme": "geo.ca" } diff --git a/packages/geoview-core/public/configs/navigator/layers/shapefile.json b/packages/geoview-core/public/configs/navigator/layers/shapefile.json index b4592d5eb8c..abce7dd1c08 100644 --- a/packages/geoview-core/public/configs/navigator/layers/shapefile.json +++ b/packages/geoview-core/public/configs/navigator/layers/shapefile.json @@ -38,13 +38,17 @@ "layerStyle": { "Point": { "type": "uniqueValue", - "fields": ["SOURCE"], + "fields": [ + "SOURCE" + ], "hasDefault": true, "info": [ { "label": "NASA3", "visible": true, - "values": ["NASA3"], + "values": [ + "NASA3" + ], "settings": { "type": "simpleSymbol", "rotation": 0, @@ -56,13 +60,18 @@ }, "size": 4.002000000000001, "symbol": "circle", - "offset": [0, 0] + "offset": [ + 0, + 0 + ] } }, { "label": "NASA_Can", "visible": true, - "values": ["NASA_Can"], + "values": [ + "NASA_Can" + ], "settings": { "type": "simpleSymbol", "rotation": 0, @@ -74,7 +83,10 @@ }, "size": 4.002000000000001, "symbol": "circle", - "offset": [0, 0] + "offset": [ + 0, + 0 + ] } }, { @@ -92,7 +104,10 @@ }, "size": 4.002000000000001, "symbol": "circle", - "offset": [0, 0] + "offset": [ + 0, + 0 + ] } } ] @@ -103,19 +118,41 @@ } ] }, - "components": ["overview-map", "north-arrow"], - "overviewMap": { "hideOnZoom": 7 }, - "footerBar": { + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { "tabs": { - "core": ["layers", "data-table"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] } }, - "corePackages": [], - "theme": "geo.ca", - "appBar": { + "footerBar": { "tabs": { - "core": ["geolocator", "legend", "details", "export"] + "core": [ + "layers", + "data-table" + ] } }, - "navBar": ["zoom", "rotation", "fullscreen", "home", "location", "measurement", "basemap-select", "projection"] + "corePackages": [], + "theme": "geo.ca" } diff --git a/packages/geoview-core/public/configs/navigator/layers/static-image-errors.json b/packages/geoview-core/public/configs/navigator/layers/static-image-errors.json index d78314d845c..3e68b0b1c0c 100644 --- a/packages/geoview-core/public/configs/navigator/layers/static-image-errors.json +++ b/packages/geoview-core/public/configs/navigator/layers/static-image-errors.json @@ -2,7 +2,15 @@ "map": { "interaction": "dynamic", "viewSettings": { - "initialView": { "zoomAndCenter": [6, [-90, 50]] }, + "initialView": { + "zoomAndCenter": [ + 6, + [ + -90, + 50 + ] + ] + }, "projection": 3857 }, "basemapOptions": { @@ -21,7 +29,12 @@ "layerId": "napl-ring-of-fire-1954-08-07-60k-thumbnail.png", "layerName": "Static Image", "source": { - "extent": [-87.77486341686723, 51.62285357468582, -84.57727128084842, 53.833354975551075], + "extent": [ + -87.77486341686723, + 51.62285357468582, + -84.57727128084842, + 53.833354975551075 + ], "projection": 4326 } } @@ -37,7 +50,12 @@ "layerId": "ERRORnapl-ring-of-fire-1954-08-07-60k-thumbnail.png", "layerName": "Static Image", "source": { - "extent": [-87.77486341686723, 51.62285357468582, -84.57727128084842, 53.833354975551075], + "extent": [ + -87.77486341686723, + 51.62285357468582, + -84.57727128084842, + 53.833354975551075 + ], "projection": 4326 } } @@ -45,19 +63,41 @@ } ] }, - "components": ["overview-map", "north-arrow"], - "overviewMap": { "hideOnZoom": 7 }, - "footerBar": { + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { "tabs": { - "core": ["layers", "data-table"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] } }, - "corePackages": [], - "theme": "geo.ca", - "appBar": { + "footerBar": { "tabs": { - "core": ["geolocator", "legend", "details", "export"] + "core": [ + "layers", + "data-table" + ] } }, - "navBar": ["zoom", "rotation", "fullscreen", "home", "location", "measurement", "basemap-select", "projection"] + "corePackages": [], + "theme": "geo.ca" } diff --git a/packages/geoview-core/public/configs/navigator/layers/static-image.json b/packages/geoview-core/public/configs/navigator/layers/static-image.json index 66777cc68a3..085868ad815 100644 --- a/packages/geoview-core/public/configs/navigator/layers/static-image.json +++ b/packages/geoview-core/public/configs/navigator/layers/static-image.json @@ -2,7 +2,15 @@ "map": { "interaction": "dynamic", "viewSettings": { - "initialView": { "zoomAndCenter": [6, [-90, 50]] }, + "initialView": { + "zoomAndCenter": [ + 6, + [ + -90, + 50 + ] + ] + }, "projection": 3857 }, "basemapOptions": { @@ -21,7 +29,12 @@ "layerId": "napl-ring-of-fire-1954-08-07-60k-thumbnail.png", "layerName": "Static Image", "source": { - "extent": [-87.77486341686723, 51.62285357468582, -84.57727128084842, 53.833354975551075], + "extent": [ + -87.77486341686723, + 51.62285357468582, + -84.57727128084842, + 53.833354975551075 + ], "projection": 4326 } } @@ -29,19 +42,41 @@ } ] }, - "components": ["overview-map", "north-arrow"], - "overviewMap": { "hideOnZoom": 7 }, - "footerBar": { + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { "tabs": { - "core": ["layers", "data-table"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] } }, - "corePackages": [], - "theme": "geo.ca", - "appBar": { + "footerBar": { "tabs": { - "core": ["geolocator", "legend", "details", "export"] + "core": [ + "layers", + "data-table" + ] } }, - "navBar": ["zoom", "rotation", "fullscreen", "home", "location", "measurement", "basemap-select", "projection"] + "corePackages": [], + "theme": "geo.ca" } diff --git a/packages/geoview-core/public/configs/navigator/layers/vector-tile.json b/packages/geoview-core/public/configs/navigator/layers/vector-tile.json index 96b853766bd..76c37dd28ff 100644 --- a/packages/geoview-core/public/configs/navigator/layers/vector-tile.json +++ b/packages/geoview-core/public/configs/navigator/layers/vector-tile.json @@ -36,19 +36,41 @@ } ] }, - "components": ["overview-map", "north-arrow"], - "overviewMap": { "hideOnZoom": 7 }, - "footerBar": { + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { "tabs": { - "core": ["layers", "data-table"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] } }, - "corePackages": [], - "theme": "geo.ca", - "appBar": { + "footerBar": { "tabs": { - "core": ["geolocator", "legend", "details", "export"] + "core": [ + "layers", + "data-table" + ] } }, - "navBar": ["zoom", "rotation", "fullscreen", "home", "location", "measurement", "basemap-select", "projection"] + "corePackages": [], + "theme": "geo.ca" } diff --git a/packages/geoview-core/public/configs/navigator/layers/wfs-cdtk-basic.json b/packages/geoview-core/public/configs/navigator/layers/wfs-cdtk-basic.json index 8031d171df6..52eac3c8d6c 100644 --- a/packages/geoview-core/public/configs/navigator/layers/wfs-cdtk-basic.json +++ b/packages/geoview-core/public/configs/navigator/layers/wfs-cdtk-basic.json @@ -49,16 +49,23 @@ "layerStyle": { "Point": { "type": "uniqueValue", - "fields": ["project_cat_en"], + "fields": [ + "project_cat_en" + ], "hasDefault": false, "info": [ { "visible": true, "label": "Agriculture", - "values": ["Agriculture"], + "values": [ + "Agriculture" + ], "settings": { "mimeType": "image/png", - "offset": [0, 0], + "offset": [ + 0, + 0 + ], "opacity": 1, "rotation": 0, "src": "iVBORw0KGgoAAAANSUhEUgAAABcAAAAXCAYAAADgKtSgAAAEaElEQVR4AbSTa2yTVRjHf33bde3Kuq7s0jlwEwqK4mQyyIQgDCMYgiiKgh8AdSJRjPESSYwkqKAxATQkJAaHGPGDchcBgwgzLOEmOMyGIg4HG5u7tOvWXbtubT3ntHt3lW+8Oc/z/P/P7Zyc57wat/G7ZfNU5riSmfp1AmO8QgIJZIWF7U4g0+cgZ6+D/OxbnW3E5unk2JKYfDRMR5WDSSvG8fxoNy/Huyk0CGseT2FyMrlLjFBhZ1LJKGalMsI3rHkGM/M66a5NIX9BJo+bE5mIhnlQqQETiYwnkwUmF4/MMuKpdPDQ4kFJgmhC9DWaGXN7CJVkszTJxp26X4Kps7PYV7aase5kSXWxkEYWy0aZsXznJO9FPSCAJkQtJw+PDdF2MIPHrAZxMuWMqRSXja3fP8uE+9PYdfoF7E5LLNJnNFwUmA0YtqUwPa/fG0O9eA5kMM9uEJfAkG/NxgISHdGGzjQbr34wZ0hGlGYw3xrEvzvKiHZKZ8ZkM44H40jq8+vWbDHyxMoHdC7B4sJcLAkmCQeJhpkEsselkr9UBjSpgrSvS2aKwpIPFPfkNIymwSGL1cTdU1wD03TsJJdu/G9Ih6oKEcy3kiH5MPE3dQ3zSceNq03SDBOTOLuG2S0DqrkgiZKMJLXXW7hSWjcodPbEdf5vU5moodmjVmgDxnhi36yFE9hduoqnVuWiqa1h05vHY1HoCYbY8nY/f/SZSRQVL2fZa9P0HCMW+WPYVHmEUECPCHBProv1XyzkaOXrTCvI4reSara+W0w4HGHDKz9SUdaIWzzL/eWr2bxnCdMLsolEIqIyukIEggJ1qOYQahVErcYaHXJHVhLbf14uhpfOzk9OM9f1KYd2/k5yipWik8txi2GrIqHqb/bXhQn7hSv6FAUoD+AVBq5dbiQY6FVYKqPRwIc7F0lIs6dT2TUbCnCmJijcp8rP1SgYJkiYLkXUyQ3Yilr5UwVDvRHkwBSJKXlNsxdNVMyZbuNJ8c4Viam/LtXja4xu3MpV4rDvlyFNqmZ+PdJBdZXcVfLNbx0XyR0S6pKTn6nwfXkZxMWpMsU724NsFHNQRJzZR2lLExc/llzPMjO68F+OqfuorvCxLG8H5edrZY4Se+z3T3JaFZeq+pqPFTO/0vMaKIlYcK4VMTVdvXkTZ09GCL9fww9i7hEaxIBk4XsrD1F5xUtcvEnUQLw1Dk9dO1veOcHTOdvVy5GBBk7RjfcbLxeKJJeiN5ekmdKPwLj+Jnt7QwQIhyIc2VXG4ns/Z9u6X2QKxQeuMG/MZ+zafJZgV6+4iF5qORzuxvNlC2UrVVJMDWoufT7ObzBin1/NvhoflwiJ80i/V5xW2mZvl3jv4vHSg58/qOLbRg3jc6LxSzI+UIY1l8EmzhS38ffYAHWrajhUUsPhG3Uc89dzMlTHT62CV9dy8EwH/6xtoyLdw7k9sm6ojNi8L8nLuR1+Ls/2ceEuD2ccjZwyeTidJHhWC5dnerm4qS93JPsfAAAA//91joJXAAAABklEQVQDAOlHbj5S36UbAAAAAElFTkSuQmCC", @@ -68,10 +75,15 @@ { "visible": true, "label": "Construction", - "values": ["Construction"], + "values": [ + "Construction" + ], "settings": { "mimeType": "image/png", - "offset": [0, 0], + "offset": [ + 0, + 0 + ], "opacity": 1, "rotation": 0, "src": "iVBORw0KGgoAAAANSUhEUgAAABcAAAAXCAYAAADgKtSgAAADo0lEQVR4AbSTb2xTVRjGf73dLvvbdRtzbQbbYAO3hGwM6yibwBiJQ8REExP8k0zj1E8m/vnAF02cIZIYv2pmwvZB/YCAShSNaERZoxPcnInCEiUSNzuKa1fWdYO29N56zmW30O528Qsn97nv+zznfZ972nOOwh0cK5pX0eUq5573i1gTEogVUaeLGC+iJuyk5bgTb/1Ka7M0r6aluIxNX+osTjpp7l3P05WNPL+qkT6biGoDfeXltD1qh4sOmn0lbK/CYiwzd9PpuUZ8ejXevTU8pJayEQU1o9VGHqU0UMPePBe7t9sJXnKy7ZGMIkEUgfRTSUf3DTRfPfvLiqlN6yslBdxFHY+VqBR8VIHnmdtrFZNUsGOtRvSEmz2FNrEyUzdj8xYXnq46A9hM1YwKLnapNmzvrKbdc0tdypIEP3Vzv8Mm/gSyhlpgp6nNxdiZSWamo7R3W++jm57CBJGjZrsik2o6Nqk4t+RTJukytG5bw5MvbmXoTC/9g/u4t8vaXEGliPr1VXj3SxNFvhIsvFbOZiOXPBtNbW4i4euGnEqBq9Z6EbKggjbiRF6SuWGokfAW4pbcEsHLUfq6Pkjjm2MXKHZkniCzMU+sXUFtlNwwF6RUEisUlarGSs3NlFHTUux6uMmq3NAUFIdMDHMb9lXkGJ17Gnj5rd0Mfd+bxsBXT3Cf0HO0YKdA/qxiwzyFFstVuGPfRsup9u51lroUNWIJERcNc9DmBbF8zn17iVbbwWV44cEjbGittuzR0SNyYsmc32OEJM/A3ZurmRi/kqGZZGI8QMvWGpOmo04Cnet+KRjmNooPzzMheQY6ehp49d0HjPMtz3gGxB7I/choEGSeP8jH8YlIb17Hq/z8xSJTk/KrUiwsyTcMe1/x4tlZlxNyP+QHazdUyDYBnTDjc7OMHRLkprlMVCr7LnMqKXMtqTMqrvrRgV8YeMOXE4OHfjDqri3I/YN/8aUKqDggPMRV45b5LD+dTqH3+/k8FY8lea9/+H8jFFgQxsPECX0YYvSwMDcexXgvva4y/ibYX/+H40mN2JK6ctBJMs1JPU5waI7fnrq9OsNcToQ5d9COo2eKj/1hfkUT65F6NjRuEOECkxyZUbA/Loyfza5ZZi4LZhn5Lsqfa2MEnvPzmc/Pyb8DnIpc4bQW4Ot5waemOTGyyF8HolysDnL2mOzLhqW5WRTi7GCE8zvDjK4LMuKcYTgvyI9lgtfNcb4zxNjbZq1V/A8AAP//CbFlAAAAAAZJREFUAwCGIUg+vh52+AAAAABJRU5ErkJggg==", @@ -81,10 +93,15 @@ { "visible": true, "label": "Energy", - "values": ["Energy"], + "values": [ + "Energy" + ], "settings": { "mimeType": "image/png", - "offset": [0, 0], + "offset": [ + 0, + 0 + ], "opacity": 1, "rotation": 0, "src": "iVBORw0KGgoAAAANSUhEUgAAABcAAAAXCAYAAADgKtSgAAADy0lEQVR4AbSTa0ybVRzGf30L5VIopcCA1QnbiG5ZXcZkDLeguOmmRDPndFMT8YLui1HUD/uiZibeo8m+mGjCZjKNl4EDt2mCGjSQiMwx5mVilMgGgwFrKZTb2tL37c55oR2lL/u2k/Occ57/85ynJ33PUbiO7ZrhOVTkZXLr4VRu8Aj4UynQxBxIxem1s7beTlnhtc5mGJ7LWmsGru80pnrtrK5awZNZRexNKqLaJGbLSqozMyl+yAzdNla3plGeg0GLC89nc8k0gYFsyiqd3G9J5yYULDFbTSRQ7CrDSWVCHlvLzbh77Ny2M8YkSEx4Fpu2zKC2FrInw8qNQjbuj7+0kZGhSV1MZgkFPJJmIfkrByVP68W5QZmbcXD7MpWJxnzuSTGJk0XqC2dX6VLWbFjKqOfyPEkhjzstJkwfZlNaEhGi4SHcDflss5mIlljY0uxJHDj6MI2f/L5Q0nk+21OC+I7oRAyKALlsclmwr08kQ9JF8e7nDxJSw5xsPmfoUbCQSuGKHMr2SIMihyCTr2ayTl9LboTHnt9AeWUR9R+fhrCRY7bmoJgAvhcl0wNVgmUp5EtuiJvX5fLyB3ejaWEaD3YaeiLFBHF2BUuR5Hq4IOmSGCE13cKBht0kWsz8c3qQla4llFQUROHItcZtU1BssqiHmzAnsUh78/AOnMvtuipvyaGfq4hgf+19TE8EdG3+YCZZPgyrHh5G9c8XI+tde9ezdeeqCI2Zg/4QNTuO4J8OxdQlUfEHxTylh4M6LkhMTxPXbosI7mjpJQL3xYmo550Xmujp8kT5/IWG5pN8Lpy//MQaJ8cCPHfvF1RXfBrF0IXZM/xQ10VD7Rm5Pw4aQTQu90tBDzdhrR2nS/JFkZ1n5ZaNTgbOj/HaU8cW9Y3zL4nYjkqDIodRfvt2ir5e+auSG2Hb7jXMzGjUPFBn+D/P7tHw0jk2QsfbkuvhcmEhq/oiTfFfR4oCd+1axXs1TXT/MSyYcR+mNZyMY59Q9WcWDR/h1+Yw2uv9HA+HFzxBmyMZn9dP/UfidYqdRn2YFgJ4PvNwqjaiR8NlYZTOt8C8/wL1IZWrt9NV6uSVqm+kJQ4aIQY4oQVwHxrjzyfmG2LCpeDl5BtmbNv7+LrfyxlUcZ72H3vEY5FXVzpmoTKDj7/p5ctLCuZHRfAzs8rVMS5cSiO0/TTBf8v8DD7bz7HWPvX4+UGafEM0q4N8P97Pib4BGtum+H/fBN25btrr5L6FMAyPmDy0H/Rx9g4vp5a7abNfoiXBzS8ZgheMcXazh473I16j+QoAAAD///khHBYAAAAGSURBVAMA7ew7Ps9cKdwAAAAASUVORK5CYII=", @@ -137,13 +154,17 @@ "layerStyle": { "LineString": { "type": "uniqueValue", - "fields": ["final_score"], + "fields": [ + "final_score" + ], "hasDefault": true, "info": [ { "label": "1 = Lowwww", "visible": true, - "values": ["1"], + "values": [ + "1" + ], "settings": { "type": "lineString", "stroke": { @@ -159,7 +180,9 @@ { "label": "2 = Medium Lowww", "visible": true, - "values": ["2"], + "values": [ + "2" + ], "settings": { "type": "lineString", "stroke": { @@ -175,7 +198,9 @@ { "label": "3 = Mediummmm", "visible": true, - "values": ["3"], + "values": [ + "3" + ], "settings": { "type": "lineString", "stroke": { @@ -191,7 +216,9 @@ { "label": "4 = Medium Highhh", "visible": true, - "values": ["4"], + "values": [ + "4" + ], "settings": { "type": "lineString", "stroke": { @@ -207,7 +234,9 @@ { "label": "5 = Highhhh", "visible": true, - "values": ["5"], + "values": [ + "5" + ], "settings": { "type": "lineString", "stroke": { @@ -223,7 +252,9 @@ { "label": "", "visible": true, - "values": [""], + "values": [ + "" + ], "settings": { "type": "lineString", "stroke": { @@ -352,19 +383,41 @@ } ] }, - "components": ["overview-map", "north-arrow"], - "overviewMap": { "hideOnZoom": 7 }, - "footerBar": { + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { "tabs": { - "core": ["layers", "data-table"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] } }, - "corePackages": [], - "theme": "geo.ca", - "appBar": { + "footerBar": { "tabs": { - "core": ["geolocator", "legend", "details", "export"] + "core": [ + "layers", + "data-table" + ] } }, - "navBar": ["zoom", "rotation", "fullscreen", "home", "location", "measurement", "basemap-select", "projection"] + "corePackages": [], + "theme": "geo.ca" } diff --git a/packages/geoview-core/public/configs/navigator/layers/wfs-cdtk.json b/packages/geoview-core/public/configs/navigator/layers/wfs-cdtk.json index e0a6b272e0a..17c6cfa9145 100644 --- a/packages/geoview-core/public/configs/navigator/layers/wfs-cdtk.json +++ b/packages/geoview-core/public/configs/navigator/layers/wfs-cdtk.json @@ -56,16 +56,23 @@ "layerStyle": { "Point": { "type": "uniqueValue", - "fields": ["project_cat_en"], + "fields": [ + "project_cat_en" + ], "hasDefault": true, "info": [ { "visible": true, "label": "Agriculture", - "values": ["Agriculture"], + "values": [ + "Agriculture" + ], "settings": { "mimeType": "image/png", - "offset": [0, 0], + "offset": [ + 0, + 0 + ], "opacity": 1, "rotation": 0, "src": "iVBORw0KGgoAAAANSUhEUgAAABcAAAAXCAYAAADgKtSgAAAEaElEQVR4AbSTa2yTVRjHf33bde3Kuq7s0jlwEwqK4mQyyIQgDCMYgiiKgh8AdSJRjPESSYwkqKAxATQkJAaHGPGDchcBgwgzLOEmOMyGIg4HG5u7tOvWXbtubT3ntHt3lW+8Oc/z/P/P7Zyc57wat/G7ZfNU5riSmfp1AmO8QgIJZIWF7U4g0+cgZ6+D/OxbnW3E5unk2JKYfDRMR5WDSSvG8fxoNy/Huyk0CGseT2FyMrlLjFBhZ1LJKGalMsI3rHkGM/M66a5NIX9BJo+bE5mIhnlQqQETiYwnkwUmF4/MMuKpdPDQ4kFJgmhC9DWaGXN7CJVkszTJxp26X4Kps7PYV7aase5kSXWxkEYWy0aZsXznJO9FPSCAJkQtJw+PDdF2MIPHrAZxMuWMqRSXja3fP8uE+9PYdfoF7E5LLNJnNFwUmA0YtqUwPa/fG0O9eA5kMM9uEJfAkG/NxgISHdGGzjQbr34wZ0hGlGYw3xrEvzvKiHZKZ8ZkM44H40jq8+vWbDHyxMoHdC7B4sJcLAkmCQeJhpkEsselkr9UBjSpgrSvS2aKwpIPFPfkNIymwSGL1cTdU1wD03TsJJdu/G9Ih6oKEcy3kiH5MPE3dQ3zSceNq03SDBOTOLuG2S0DqrkgiZKMJLXXW7hSWjcodPbEdf5vU5moodmjVmgDxnhi36yFE9hduoqnVuWiqa1h05vHY1HoCYbY8nY/f/SZSRQVL2fZa9P0HCMW+WPYVHmEUECPCHBProv1XyzkaOXrTCvI4reSara+W0w4HGHDKz9SUdaIWzzL/eWr2bxnCdMLsolEIqIyukIEggJ1qOYQahVErcYaHXJHVhLbf14uhpfOzk9OM9f1KYd2/k5yipWik8txi2GrIqHqb/bXhQn7hSv6FAUoD+AVBq5dbiQY6FVYKqPRwIc7F0lIs6dT2TUbCnCmJijcp8rP1SgYJkiYLkXUyQ3Yilr5UwVDvRHkwBSJKXlNsxdNVMyZbuNJ8c4Viam/LtXja4xu3MpV4rDvlyFNqmZ+PdJBdZXcVfLNbx0XyR0S6pKTn6nwfXkZxMWpMsU724NsFHNQRJzZR2lLExc/llzPMjO68F+OqfuorvCxLG8H5edrZY4Se+z3T3JaFZeq+pqPFTO/0vMaKIlYcK4VMTVdvXkTZ09GCL9fww9i7hEaxIBk4XsrD1F5xUtcvEnUQLw1Dk9dO1veOcHTOdvVy5GBBk7RjfcbLxeKJJeiN5ekmdKPwLj+Jnt7QwQIhyIc2VXG4ns/Z9u6X2QKxQeuMG/MZ+zafJZgV6+4iF5qORzuxvNlC2UrVVJMDWoufT7ObzBin1/NvhoflwiJ80i/V5xW2mZvl3jv4vHSg58/qOLbRg3jc6LxSzI+UIY1l8EmzhS38ffYAHWrajhUUsPhG3Uc89dzMlTHT62CV9dy8EwH/6xtoyLdw7k9sm6ojNi8L8nLuR1+Ls/2ceEuD2ccjZwyeTidJHhWC5dnerm4qS93JPsfAAAA//91joJXAAAABklEQVQDAOlHbj5S36UbAAAAAElFTkSuQmCC", @@ -75,10 +82,15 @@ { "visible": true, "label": "Construction", - "values": ["Construction"], + "values": [ + "Construction" + ], "settings": { "mimeType": "image/png", - "offset": [0, 0], + "offset": [ + 0, + 0 + ], "opacity": 1, "rotation": 0, "src": "iVBORw0KGgoAAAANSUhEUgAAABcAAAAXCAYAAADgKtSgAAADo0lEQVR4AbSTb2xTVRjGf73dLvvbdRtzbQbbYAO3hGwM6yibwBiJQ8REExP8k0zj1E8m/vnAF02cIZIYv2pmwvZB/YCAShSNaERZoxPcnInCEiUSNzuKa1fWdYO29N56zmW30O528Qsn97nv+zznfZ972nOOwh0cK5pX0eUq5573i1gTEogVUaeLGC+iJuyk5bgTb/1Ka7M0r6aluIxNX+osTjpp7l3P05WNPL+qkT6biGoDfeXltD1qh4sOmn0lbK/CYiwzd9PpuUZ8ejXevTU8pJayEQU1o9VGHqU0UMPePBe7t9sJXnKy7ZGMIkEUgfRTSUf3DTRfPfvLiqlN6yslBdxFHY+VqBR8VIHnmdtrFZNUsGOtRvSEmz2FNrEyUzdj8xYXnq46A9hM1YwKLnapNmzvrKbdc0tdypIEP3Vzv8Mm/gSyhlpgp6nNxdiZSWamo7R3W++jm57CBJGjZrsik2o6Nqk4t+RTJukytG5bw5MvbmXoTC/9g/u4t8vaXEGliPr1VXj3SxNFvhIsvFbOZiOXPBtNbW4i4euGnEqBq9Z6EbKggjbiRF6SuWGokfAW4pbcEsHLUfq6Pkjjm2MXKHZkniCzMU+sXUFtlNwwF6RUEisUlarGSs3NlFHTUux6uMmq3NAUFIdMDHMb9lXkGJ17Gnj5rd0Mfd+bxsBXT3Cf0HO0YKdA/qxiwzyFFstVuGPfRsup9u51lroUNWIJERcNc9DmBbF8zn17iVbbwWV44cEjbGittuzR0SNyYsmc32OEJM/A3ZurmRi/kqGZZGI8QMvWGpOmo04Cnet+KRjmNooPzzMheQY6ehp49d0HjPMtz3gGxB7I/choEGSeP8jH8YlIb17Hq/z8xSJTk/KrUiwsyTcMe1/x4tlZlxNyP+QHazdUyDYBnTDjc7OMHRLkprlMVCr7LnMqKXMtqTMqrvrRgV8YeMOXE4OHfjDqri3I/YN/8aUKqDggPMRV45b5LD+dTqH3+/k8FY8lea9/+H8jFFgQxsPECX0YYvSwMDcexXgvva4y/ibYX/+H40mN2JK6ctBJMs1JPU5waI7fnrq9OsNcToQ5d9COo2eKj/1hfkUT65F6NjRuEOECkxyZUbA/Loyfza5ZZi4LZhn5Lsqfa2MEnvPzmc/Pyb8DnIpc4bQW4Ot5waemOTGyyF8HolysDnL2mOzLhqW5WRTi7GCE8zvDjK4LMuKcYTgvyI9lgtfNcb4zxNjbZq1V/A8AAP//CbFlAAAAAAZJREFUAwCGIUg+vh52+AAAAABJRU5ErkJggg==", @@ -88,10 +100,15 @@ { "visible": true, "label": "Energy", - "values": ["Energy"], + "values": [ + "Energy" + ], "settings": { "mimeType": "image/png", - "offset": [0, 0], + "offset": [ + 0, + 0 + ], "opacity": 1, "rotation": 0, "src": "iVBORw0KGgoAAAANSUhEUgAAABcAAAAXCAYAAADgKtSgAAADy0lEQVR4AbSTa0ybVRzGf30L5VIopcCA1QnbiG5ZXcZkDLeguOmmRDPndFMT8YLui1HUD/uiZibeo8m+mGjCZjKNl4EDt2mCGjSQiMwx5mVilMgGgwFrKZTb2tL37c55oR2lL/u2k/Occ57/85ynJ33PUbiO7ZrhOVTkZXLr4VRu8Aj4UynQxBxIxem1s7beTlnhtc5mGJ7LWmsGru80pnrtrK5awZNZRexNKqLaJGbLSqozMyl+yAzdNla3plGeg0GLC89nc8k0gYFsyiqd3G9J5yYULDFbTSRQ7CrDSWVCHlvLzbh77Ny2M8YkSEx4Fpu2zKC2FrInw8qNQjbuj7+0kZGhSV1MZgkFPJJmIfkrByVP68W5QZmbcXD7MpWJxnzuSTGJk0XqC2dX6VLWbFjKqOfyPEkhjzstJkwfZlNaEhGi4SHcDflss5mIlljY0uxJHDj6MI2f/L5Q0nk+21OC+I7oRAyKALlsclmwr08kQ9JF8e7nDxJSw5xsPmfoUbCQSuGKHMr2SIMihyCTr2ayTl9LboTHnt9AeWUR9R+fhrCRY7bmoJgAvhcl0wNVgmUp5EtuiJvX5fLyB3ejaWEaD3YaeiLFBHF2BUuR5Hq4IOmSGCE13cKBht0kWsz8c3qQla4llFQUROHItcZtU1BssqiHmzAnsUh78/AOnMvtuipvyaGfq4hgf+19TE8EdG3+YCZZPgyrHh5G9c8XI+tde9ezdeeqCI2Zg/4QNTuO4J8OxdQlUfEHxTylh4M6LkhMTxPXbosI7mjpJQL3xYmo550Xmujp8kT5/IWG5pN8Lpy//MQaJ8cCPHfvF1RXfBrF0IXZM/xQ10VD7Rm5Pw4aQTQu90tBDzdhrR2nS/JFkZ1n5ZaNTgbOj/HaU8cW9Y3zL4nYjkqDIodRfvt2ir5e+auSG2Hb7jXMzGjUPFBn+D/P7tHw0jk2QsfbkuvhcmEhq/oiTfFfR4oCd+1axXs1TXT/MSyYcR+mNZyMY59Q9WcWDR/h1+Yw2uv9HA+HFzxBmyMZn9dP/UfidYqdRn2YFgJ4PvNwqjaiR8NlYZTOt8C8/wL1IZWrt9NV6uSVqm+kJQ4aIQY4oQVwHxrjzyfmG2LCpeDl5BtmbNv7+LrfyxlUcZ72H3vEY5FXVzpmoTKDj7/p5ctLCuZHRfAzs8rVMS5cSiO0/TTBf8v8DD7bz7HWPvX4+UGafEM0q4N8P97Pib4BGtum+H/fBN25btrr5L6FMAyPmDy0H/Rx9g4vp5a7abNfoiXBzS8ZgheMcXazh473I16j+QoAAAD///khHBYAAAAGSURBVAMA7ew7Ps9cKdwAAAAASUVORK5CYII=", @@ -104,7 +121,10 @@ "values": [], "settings": { "mimeType": "image/png", - "offset": [0, 0], + "offset": [ + 0, + 0 + ], "opacity": 1, "rotation": 90, "src": "iVBORw0KGgoAAAANSUhEUgAAABcAAAAXCAYAAADgKtSgAAADy0lEQVR4AbSTa0ybVRzGf30L5VIopcCA1QnbiG5ZXcZkDLeguOmmRDPndFMT8YLui1HUD/uiZibeo8m+mGjCZjKNl4EDt2mCGjSQiMwx5mVilMgGgwFrKZTb2tL37c55oR2lL/u2k/Occ57/85ynJ33PUbiO7ZrhOVTkZXLr4VRu8Aj4UynQxBxIxem1s7beTlnhtc5mGJ7LWmsGru80pnrtrK5awZNZRexNKqLaJGbLSqozMyl+yAzdNla3plGeg0GLC89nc8k0gYFsyiqd3G9J5yYULDFbTSRQ7CrDSWVCHlvLzbh77Ny2M8YkSEx4Fpu2zKC2FrInw8qNQjbuj7+0kZGhSV1MZgkFPJJmIfkrByVP68W5QZmbcXD7MpWJxnzuSTGJk0XqC2dX6VLWbFjKqOfyPEkhjzstJkwfZlNaEhGi4SHcDflss5mIlljY0uxJHDj6MI2f/L5Q0nk+21OC+I7oRAyKALlsclmwr08kQ9JF8e7nDxJSw5xsPmfoUbCQSuGKHMr2SIMihyCTr2ayTl9LboTHnt9AeWUR9R+fhrCRY7bmoJgAvhcl0wNVgmUp5EtuiJvX5fLyB3ejaWEaD3YaeiLFBHF2BUuR5Hq4IOmSGCE13cKBht0kWsz8c3qQla4llFQUROHItcZtU1BssqiHmzAnsUh78/AOnMvtuipvyaGfq4hgf+19TE8EdG3+YCZZPgyrHh5G9c8XI+tde9ezdeeqCI2Zg/4QNTuO4J8OxdQlUfEHxTylh4M6LkhMTxPXbosI7mjpJQL3xYmo550Xmujp8kT5/IWG5pN8Lpy//MQaJ8cCPHfvF1RXfBrF0IXZM/xQ10VD7Rm5Pw4aQTQu90tBDzdhrR2nS/JFkZ1n5ZaNTgbOj/HaU8cW9Y3zL4nYjkqDIodRfvt2ir5e+auSG2Hb7jXMzGjUPFBn+D/P7tHw0jk2QsfbkuvhcmEhq/oiTfFfR4oCd+1axXs1TXT/MSyYcR+mNZyMY59Q9WcWDR/h1+Yw2uv9HA+HFzxBmyMZn9dP/UfidYqdRn2YFgJ4PvNwqjaiR8NlYZTOt8C8/wL1IZWrt9NV6uSVqm+kJQ4aIQY4oQVwHxrjzyfmG2LCpeDl5BtmbNv7+LrfyxlUcZ72H3vEY5FXVzpmoTKDj7/p5ctLCuZHRfAzs8rVMS5cSiO0/TTBf8v8DD7bz7HWPvX4+UGafEM0q4N8P97Pib4BGtum+H/fBN25btrr5L6FMAyPmDy0H/Rx9g4vp5a7abNfoiXBzS8ZgheMcXazh473I16j+QoAAAD///khHBYAAAAGSURBVAMA7ew7Ps9cKdwAAAAASUVORK5CYII=", @@ -140,13 +160,17 @@ "layerStyle": { "LineString": { "type": "uniqueValue", - "fields": ["final_score"], + "fields": [ + "final_score" + ], "hasDefault": true, "info": [ { "label": "1 = Lowwww", "visible": true, - "values": ["1"], + "values": [ + "1" + ], "settings": { "type": "lineString", "stroke": { @@ -162,7 +186,9 @@ { "label": "2 = Medium Lowww", "visible": true, - "values": ["2"], + "values": [ + "2" + ], "settings": { "type": "lineString", "stroke": { @@ -178,7 +204,9 @@ { "label": "3 = Mediummmm", "visible": true, - "values": ["3"], + "values": [ + "3" + ], "settings": { "type": "lineString", "stroke": { @@ -194,7 +222,9 @@ { "label": "4 = Medium Highhh", "visible": true, - "values": ["4"], + "values": [ + "4" + ], "settings": { "type": "lineString", "stroke": { @@ -210,7 +240,9 @@ { "label": "5 = Highhhh", "visible": true, - "values": ["5"], + "values": [ + "5" + ], "settings": { "type": "lineString", "stroke": { @@ -226,7 +258,9 @@ { "label": "", "visible": true, - "values": [""], + "values": [ + "" + ], "settings": { "type": "lineString", "stroke": { @@ -365,19 +399,41 @@ } ] }, - "components": ["overview-map", "north-arrow"], - "overviewMap": { "hideOnZoom": 7 }, - "footerBar": { + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { "tabs": { - "core": ["layers", "data-table"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] } }, - "corePackages": [], - "theme": "geo.ca", - "appBar": { + "footerBar": { "tabs": { - "core": ["geolocator", "legend", "details", "export"] + "core": [ + "layers", + "data-table" + ] } }, - "navBar": ["zoom", "rotation", "fullscreen", "home", "location", "measurement", "basemap-select", "projection"] + "corePackages": [], + "theme": "geo.ca" } diff --git a/packages/geoview-core/public/configs/navigator/layers/wfs-errors.json b/packages/geoview-core/public/configs/navigator/layers/wfs-errors.json index 4bdacab838a..df3677ad5a5 100644 --- a/packages/geoview-core/public/configs/navigator/layers/wfs-errors.json +++ b/packages/geoview-core/public/configs/navigator/layers/wfs-errors.json @@ -2,7 +2,15 @@ "map": { "interaction": "dynamic", "viewSettings": { - "initialView": { "zoomAndCenter": [10, [-75.370748, 45.001058]] }, + "initialView": { + "zoomAndCenter": [ + 10, + [ + -75.370748, + 45.001058 + ] + ] + }, "projection": 3857 }, "basemapOptions": { @@ -37,19 +45,41 @@ } ] }, - "components": ["overview-map", "north-arrow"], - "overviewMap": { "hideOnZoom": 7 }, - "footerBar": { + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { "tabs": { - "core": ["layers", "data-table"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] } }, - "corePackages": [], - "theme": "geo.ca", - "appBar": { + "footerBar": { "tabs": { - "core": ["geolocator", "legend", "details", "export"] + "core": [ + "layers", + "data-table" + ] } }, - "navBar": ["zoom", "rotation", "fullscreen", "home", "location", "measurement", "basemap-select", "projection"] + "corePackages": [], + "theme": "geo.ca" } diff --git a/packages/geoview-core/public/configs/navigator/layers/wfs.json b/packages/geoview-core/public/configs/navigator/layers/wfs.json index 3fd67a1d8e4..22c805bbb62 100644 --- a/packages/geoview-core/public/configs/navigator/layers/wfs.json +++ b/packages/geoview-core/public/configs/navigator/layers/wfs.json @@ -2,7 +2,15 @@ "map": { "interaction": "dynamic", "viewSettings": { - "initialView": { "zoomAndCenter": [10, [-75.370748, 45.001058]] }, + "initialView": { + "zoomAndCenter": [ + 10, + [ + -75.370748, + 45.001058 + ] + ] + }, "projection": 3857 }, "basemapOptions": { @@ -41,7 +49,9 @@ "listOfLayerEntryConfig": [ { "layerId": "mrds", - "source": { "strategy": "bbox" } + "source": { + "strategy": "bbox" + } } ] }, @@ -92,19 +102,41 @@ } ] }, - "components": ["overview-map", "north-arrow"], - "overviewMap": { "hideOnZoom": 7 }, - "footerBar": { + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { "tabs": { - "core": ["layers", "data-table"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] } }, - "corePackages": [], - "theme": "geo.ca", - "appBar": { + "footerBar": { "tabs": { - "core": ["geolocator", "legend", "details", "export"] + "core": [ + "layers", + "data-table" + ] } }, - "navBar": ["zoom", "rotation", "fullscreen", "home", "location", "measurement", "basemap-select", "projection"] + "corePackages": [], + "theme": "geo.ca" } diff --git a/packages/geoview-core/public/configs/navigator/layers/wkb.json b/packages/geoview-core/public/configs/navigator/layers/wkb.json index e3afae5f66a..c436a6b3c63 100644 --- a/packages/geoview-core/public/configs/navigator/layers/wkb.json +++ b/packages/geoview-core/public/configs/navigator/layers/wkb.json @@ -3,9 +3,16 @@ "interaction": "dynamic", "viewSettings": { "initialView": { - "layerIds": ["wkbLYR1/1"] + "layerIds": [ + "wkbLYR1/1" + ] }, - "maxExtent": [-180, -90, 180, 90], + "maxExtent": [ + -180, + -90, + 180, + 90 + ], "projection": 3857 }, "basemapOptions": { @@ -40,19 +47,41 @@ } ] }, - "components": ["overview-map", "north-arrow"], - "overviewMap": { "hideOnZoom": 7 }, - "footerBar": { + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { "tabs": { - "core": ["layers", "data-table"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] } }, - "corePackages": [], - "theme": "geo.ca", - "appBar": { + "footerBar": { "tabs": { - "core": ["geolocator", "legend", "details", "export"] + "core": [ + "layers", + "data-table" + ] } }, - "navBar": ["zoom", "rotation", "fullscreen", "home", "location", "measurement", "basemap-select", "projection"] + "corePackages": [], + "theme": "geo.ca" } diff --git a/packages/geoview-core/public/configs/navigator/layers/wms-cdtk-basic.json b/packages/geoview-core/public/configs/navigator/layers/wms-cdtk-basic.json index 736739739fd..c8757143a9f 100644 --- a/packages/geoview-core/public/configs/navigator/layers/wms-cdtk-basic.json +++ b/packages/geoview-core/public/configs/navigator/layers/wms-cdtk-basic.json @@ -196,19 +196,41 @@ } ] }, - "components": ["overview-map", "north-arrow"], - "overviewMap": { "hideOnZoom": 7 }, - "footerBar": { + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { "tabs": { - "core": ["layers", "data-table"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] } }, - "corePackages": [], - "theme": "geo.ca", - "appBar": { + "footerBar": { "tabs": { - "core": ["geolocator", "legend", "details", "export"] + "core": [ + "layers", + "data-table" + ] } }, - "navBar": ["zoom", "rotation", "fullscreen", "home", "location", "measurement", "basemap-select", "projection"] + "corePackages": [], + "theme": "geo.ca" } diff --git a/packages/geoview-core/public/configs/navigator/layers/wms-cdtk.json b/packages/geoview-core/public/configs/navigator/layers/wms-cdtk.json index debf70f13b0..d426b9b40db 100644 --- a/packages/geoview-core/public/configs/navigator/layers/wms-cdtk.json +++ b/packages/geoview-core/public/configs/navigator/layers/wms-cdtk.json @@ -48,16 +48,23 @@ "layerStyle": { "Point": { "type": "uniqueValue", - "fields": ["project_cat_en"], + "fields": [ + "project_cat_en" + ], "hasDefault": true, "info": [ { "visible": true, "label": "Agriculture", - "values": ["Agriculture"], + "values": [ + "Agriculture" + ], "settings": { "mimeType": "image/png", - "offset": [0, 0], + "offset": [ + 0, + 0 + ], "opacity": 1, "rotation": 0, "src": "iVBORw0KGgoAAAANSUhEUgAAABcAAAAXCAYAAADgKtSgAAAEaElEQVR4AbSTa2yTVRjHf33bde3Kuq7s0jlwEwqK4mQyyIQgDCMYgiiKgh8AdSJRjPESSYwkqKAxATQkJAaHGPGDchcBgwgzLOEmOMyGIg4HG5u7tOvWXbtubT3ntHt3lW+8Oc/z/P/P7Zyc57wat/G7ZfNU5riSmfp1AmO8QgIJZIWF7U4g0+cgZ6+D/OxbnW3E5unk2JKYfDRMR5WDSSvG8fxoNy/Huyk0CGseT2FyMrlLjFBhZ1LJKGalMsI3rHkGM/M66a5NIX9BJo+bE5mIhnlQqQETiYwnkwUmF4/MMuKpdPDQ4kFJgmhC9DWaGXN7CJVkszTJxp26X4Kps7PYV7aase5kSXWxkEYWy0aZsXznJO9FPSCAJkQtJw+PDdF2MIPHrAZxMuWMqRSXja3fP8uE+9PYdfoF7E5LLNJnNFwUmA0YtqUwPa/fG0O9eA5kMM9uEJfAkG/NxgISHdGGzjQbr34wZ0hGlGYw3xrEvzvKiHZKZ8ZkM44H40jq8+vWbDHyxMoHdC7B4sJcLAkmCQeJhpkEsselkr9UBjSpgrSvS2aKwpIPFPfkNIymwSGL1cTdU1wD03TsJJdu/G9Ih6oKEcy3kiH5MPE3dQ3zSceNq03SDBOTOLuG2S0DqrkgiZKMJLXXW7hSWjcodPbEdf5vU5moodmjVmgDxnhi36yFE9hduoqnVuWiqa1h05vHY1HoCYbY8nY/f/SZSRQVL2fZa9P0HCMW+WPYVHmEUECPCHBProv1XyzkaOXrTCvI4reSara+W0w4HGHDKz9SUdaIWzzL/eWr2bxnCdMLsolEIqIyukIEggJ1qOYQahVErcYaHXJHVhLbf14uhpfOzk9OM9f1KYd2/k5yipWik8txi2GrIqHqb/bXhQn7hSv6FAUoD+AVBq5dbiQY6FVYKqPRwIc7F0lIs6dT2TUbCnCmJijcp8rP1SgYJkiYLkXUyQ3Yilr5UwVDvRHkwBSJKXlNsxdNVMyZbuNJ8c4Viam/LtXja4xu3MpV4rDvlyFNqmZ+PdJBdZXcVfLNbx0XyR0S6pKTn6nwfXkZxMWpMsU724NsFHNQRJzZR2lLExc/llzPMjO68F+OqfuorvCxLG8H5edrZY4Se+z3T3JaFZeq+pqPFTO/0vMaKIlYcK4VMTVdvXkTZ09GCL9fww9i7hEaxIBk4XsrD1F5xUtcvEnUQLw1Dk9dO1veOcHTOdvVy5GBBk7RjfcbLxeKJJeiN5ekmdKPwLj+Jnt7QwQIhyIc2VXG4ns/Z9u6X2QKxQeuMG/MZ+zafJZgV6+4iF5qORzuxvNlC2UrVVJMDWoufT7ObzBin1/NvhoflwiJ80i/V5xW2mZvl3jv4vHSg58/qOLbRg3jc6LxSzI+UIY1l8EmzhS38ffYAHWrajhUUsPhG3Uc89dzMlTHT62CV9dy8EwH/6xtoyLdw7k9sm6ojNi8L8nLuR1+Ls/2ceEuD2ccjZwyeTidJHhWC5dnerm4qS93JPsfAAAA//91joJXAAAABklEQVQDAOlHbj5S36UbAAAAAElFTkSuQmCC", @@ -67,10 +74,15 @@ { "visible": true, "label": "Construction", - "values": ["Construction"], + "values": [ + "Construction" + ], "settings": { "mimeType": "image/png", - "offset": [0, 0], + "offset": [ + 0, + 0 + ], "opacity": 1, "rotation": 0, "src": "iVBORw0KGgoAAAANSUhEUgAAABcAAAAXCAYAAADgKtSgAAADo0lEQVR4AbSTb2xTVRjGf73dLvvbdRtzbQbbYAO3hGwM6yibwBiJQ8REExP8k0zj1E8m/vnAF02cIZIYv2pmwvZB/YCAShSNaERZoxPcnInCEiUSNzuKa1fWdYO29N56zmW30O528Qsn97nv+zznfZ972nOOwh0cK5pX0eUq5573i1gTEogVUaeLGC+iJuyk5bgTb/1Ka7M0r6aluIxNX+osTjpp7l3P05WNPL+qkT6biGoDfeXltD1qh4sOmn0lbK/CYiwzd9PpuUZ8ejXevTU8pJayEQU1o9VGHqU0UMPePBe7t9sJXnKy7ZGMIkEUgfRTSUf3DTRfPfvLiqlN6yslBdxFHY+VqBR8VIHnmdtrFZNUsGOtRvSEmz2FNrEyUzdj8xYXnq46A9hM1YwKLnapNmzvrKbdc0tdypIEP3Vzv8Mm/gSyhlpgp6nNxdiZSWamo7R3W++jm57CBJGjZrsik2o6Nqk4t+RTJukytG5bw5MvbmXoTC/9g/u4t8vaXEGliPr1VXj3SxNFvhIsvFbOZiOXPBtNbW4i4euGnEqBq9Z6EbKggjbiRF6SuWGokfAW4pbcEsHLUfq6Pkjjm2MXKHZkniCzMU+sXUFtlNwwF6RUEisUlarGSs3NlFHTUux6uMmq3NAUFIdMDHMb9lXkGJ17Gnj5rd0Mfd+bxsBXT3Cf0HO0YKdA/qxiwzyFFstVuGPfRsup9u51lroUNWIJERcNc9DmBbF8zn17iVbbwWV44cEjbGittuzR0SNyYsmc32OEJM/A3ZurmRi/kqGZZGI8QMvWGpOmo04Cnet+KRjmNooPzzMheQY6ehp49d0HjPMtz3gGxB7I/choEGSeP8jH8YlIb17Hq/z8xSJTk/KrUiwsyTcMe1/x4tlZlxNyP+QHazdUyDYBnTDjc7OMHRLkprlMVCr7LnMqKXMtqTMqrvrRgV8YeMOXE4OHfjDqri3I/YN/8aUKqDggPMRV45b5LD+dTqH3+/k8FY8lea9/+H8jFFgQxsPECX0YYvSwMDcexXgvva4y/ibYX/+H40mN2JK6ctBJMs1JPU5waI7fnrq9OsNcToQ5d9COo2eKj/1hfkUT65F6NjRuEOECkxyZUbA/Loyfza5ZZi4LZhn5Lsqfa2MEnvPzmc/Pyb8DnIpc4bQW4Ot5waemOTGyyF8HolysDnL2mOzLhqW5WRTi7GCE8zvDjK4LMuKcYTgvyI9lgtfNcb4zxNjbZq1V/A8AAP//CbFlAAAAAAZJREFUAwCGIUg+vh52+AAAAABJRU5ErkJggg==", @@ -80,10 +92,15 @@ { "visible": true, "label": "Energy", - "values": ["Energy"], + "values": [ + "Energy" + ], "settings": { "mimeType": "image/png", - "offset": [0, 0], + "offset": [ + 0, + 0 + ], "opacity": 1, "rotation": 0, "src": "iVBORw0KGgoAAAANSUhEUgAAABcAAAAXCAYAAADgKtSgAAADy0lEQVR4AbSTa0ybVRzGf30L5VIopcCA1QnbiG5ZXcZkDLeguOmmRDPndFMT8YLui1HUD/uiZibeo8m+mGjCZjKNl4EDt2mCGjSQiMwx5mVilMgGgwFrKZTb2tL37c55oR2lL/u2k/Occ57/85ynJ33PUbiO7ZrhOVTkZXLr4VRu8Aj4UynQxBxIxem1s7beTlnhtc5mGJ7LWmsGru80pnrtrK5awZNZRexNKqLaJGbLSqozMyl+yAzdNla3plGeg0GLC89nc8k0gYFsyiqd3G9J5yYULDFbTSRQ7CrDSWVCHlvLzbh77Ny2M8YkSEx4Fpu2zKC2FrInw8qNQjbuj7+0kZGhSV1MZgkFPJJmIfkrByVP68W5QZmbcXD7MpWJxnzuSTGJk0XqC2dX6VLWbFjKqOfyPEkhjzstJkwfZlNaEhGi4SHcDflss5mIlljY0uxJHDj6MI2f/L5Q0nk+21OC+I7oRAyKALlsclmwr08kQ9JF8e7nDxJSw5xsPmfoUbCQSuGKHMr2SIMihyCTr2ayTl9LboTHnt9AeWUR9R+fhrCRY7bmoJgAvhcl0wNVgmUp5EtuiJvX5fLyB3ejaWEaD3YaeiLFBHF2BUuR5Hq4IOmSGCE13cKBht0kWsz8c3qQla4llFQUROHItcZtU1BssqiHmzAnsUh78/AOnMvtuipvyaGfq4hgf+19TE8EdG3+YCZZPgyrHh5G9c8XI+tde9ezdeeqCI2Zg/4QNTuO4J8OxdQlUfEHxTylh4M6LkhMTxPXbosI7mjpJQL3xYmo550Xmujp8kT5/IWG5pN8Lpy//MQaJ8cCPHfvF1RXfBrF0IXZM/xQ10VD7Rm5Pw4aQTQu90tBDzdhrR2nS/JFkZ1n5ZaNTgbOj/HaU8cW9Y3zL4nYjkqDIodRfvt2ir5e+auSG2Hb7jXMzGjUPFBn+D/P7tHw0jk2QsfbkuvhcmEhq/oiTfFfR4oCd+1axXs1TXT/MSyYcR+mNZyMY59Q9WcWDR/h1+Yw2uv9HA+HFzxBmyMZn9dP/UfidYqdRn2YFgJ4PvNwqjaiR8NlYZTOt8C8/wL1IZWrt9NV6uSVqm+kJQ4aIQY4oQVwHxrjzyfmG2LCpeDl5BtmbNv7+LrfyxlUcZ72H3vEY5FXVzpmoTKDj7/p5ctLCuZHRfAzs8rVMS5cSiO0/TTBf8v8DD7bz7HWPvX4+UGafEM0q4N8P97Pib4BGtum+H/fBN25btrr5L6FMAyPmDy0H/Rx9g4vp5a7abNfoiXBzS8ZgheMcXazh473I16j+QoAAAD///khHBYAAAAGSURBVAMA7ew7Ps9cKdwAAAAASUVORK5CYII=", @@ -96,7 +113,10 @@ "values": [], "settings": { "mimeType": "image/png", - "offset": [0, 0], + "offset": [ + 0, + 0 + ], "opacity": 1, "rotation": 90, "src": "iVBORw0KGgoAAAANSUhEUgAAABcAAAAXCAYAAADgKtSgAAADy0lEQVR4AbSTa0ybVRzGf30L5VIopcCA1QnbiG5ZXcZkDLeguOmmRDPndFMT8YLui1HUD/uiZibeo8m+mGjCZjKNl4EDt2mCGjSQiMwx5mVilMgGgwFrKZTb2tL37c55oR2lL/u2k/Occ57/85ynJ33PUbiO7ZrhOVTkZXLr4VRu8Aj4UynQxBxIxem1s7beTlnhtc5mGJ7LWmsGru80pnrtrK5awZNZRexNKqLaJGbLSqozMyl+yAzdNla3plGeg0GLC89nc8k0gYFsyiqd3G9J5yYULDFbTSRQ7CrDSWVCHlvLzbh77Ny2M8YkSEx4Fpu2zKC2FrInw8qNQjbuj7+0kZGhSV1MZgkFPJJmIfkrByVP68W5QZmbcXD7MpWJxnzuSTGJk0XqC2dX6VLWbFjKqOfyPEkhjzstJkwfZlNaEhGi4SHcDflss5mIlljY0uxJHDj6MI2f/L5Q0nk+21OC+I7oRAyKALlsclmwr08kQ9JF8e7nDxJSw5xsPmfoUbCQSuGKHMr2SIMihyCTr2ayTl9LboTHnt9AeWUR9R+fhrCRY7bmoJgAvhcl0wNVgmUp5EtuiJvX5fLyB3ejaWEaD3YaeiLFBHF2BUuR5Hq4IOmSGCE13cKBht0kWsz8c3qQla4llFQUROHItcZtU1BssqiHmzAnsUh78/AOnMvtuipvyaGfq4hgf+19TE8EdG3+YCZZPgyrHh5G9c8XI+tde9ezdeeqCI2Zg/4QNTuO4J8OxdQlUfEHxTylh4M6LkhMTxPXbosI7mjpJQL3xYmo550Xmujp8kT5/IWG5pN8Lpy//MQaJ8cCPHfvF1RXfBrF0IXZM/xQ10VD7Rm5Pw4aQTQu90tBDzdhrR2nS/JFkZ1n5ZaNTgbOj/HaU8cW9Y3zL4nYjkqDIodRfvt2ir5e+auSG2Hb7jXMzGjUPFBn+D/P7tHw0jk2QsfbkuvhcmEhq/oiTfFfR4oCd+1axXs1TXT/MSyYcR+mNZyMY59Q9WcWDR/h1+Yw2uv9HA+HFzxBmyMZn9dP/UfidYqdRn2YFgJ4PvNwqjaiR8NlYZTOt8C8/wL1IZWrt9NV6uSVqm+kJQ4aIQY4oQVwHxrjzyfmG2LCpeDl5BtmbNv7+LrfyxlUcZ72H3vEY5FXVzpmoTKDj7/p5ctLCuZHRfAzs8rVMS5cSiO0/TTBf8v8DD7bz7HWPvX4+UGafEM0q4N8P97Pib4BGtum+H/fBN25btrr5L6FMAyPmDy0H/Rx9g4vp5a7abNfoiXBzS8ZgheMcXazh473I16j+QoAAAD///khHBYAAAAGSURBVAMA7ew7Ps9cKdwAAAAASUVORK5CYII=", @@ -268,19 +288,41 @@ } ] }, - "components": ["overview-map", "north-arrow"], - "overviewMap": { "hideOnZoom": 7 }, - "footerBar": { + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { "tabs": { - "core": ["layers", "data-table"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] } }, - "corePackages": [], - "theme": "geo.ca", - "appBar": { + "footerBar": { "tabs": { - "core": ["geolocator", "legend", "details", "export"] + "core": [ + "layers", + "data-table" + ] } }, - "navBar": ["zoom", "rotation", "fullscreen", "home", "location", "measurement", "basemap-select", "projection"] + "corePackages": [], + "theme": "geo.ca" } diff --git a/packages/geoview-core/public/configs/navigator/layers/wms-errors.json b/packages/geoview-core/public/configs/navigator/layers/wms-errors.json index 3dc7689d342..b50cf0c433b 100644 --- a/packages/geoview-core/public/configs/navigator/layers/wms-errors.json +++ b/packages/geoview-core/public/configs/navigator/layers/wms-errors.json @@ -58,19 +58,41 @@ } ] }, - "components": ["overview-map", "north-arrow"], - "overviewMap": { "hideOnZoom": 7 }, - "footerBar": { + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { "tabs": { - "core": ["layers", "data-table"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] } }, - "corePackages": [], - "theme": "geo.ca", - "appBar": { + "footerBar": { "tabs": { - "core": ["geolocator", "legend", "details", "export"] + "core": [ + "layers", + "data-table" + ] } }, - "navBar": ["zoom", "rotation", "fullscreen", "home", "location", "measurement", "basemap-select", "projection"] + "corePackages": [], + "theme": "geo.ca" } diff --git a/packages/geoview-core/public/configs/navigator/layers/wms.json b/packages/geoview-core/public/configs/navigator/layers/wms.json index 9fe71d2366a..a297f14e0e1 100644 --- a/packages/geoview-core/public/configs/navigator/layers/wms.json +++ b/packages/geoview-core/public/configs/navigator/layers/wms.json @@ -99,8 +99,8 @@ "layerId": "CURRENT_CONDITIONS" }, { - "layerId": "GDPS.ETA_ICEC", - "layerName": "Ice Cover" + "layerId": "RADAR_1KM_RSNO", + "layerName": "Radar Snow" } ] } @@ -223,19 +223,42 @@ } ] }, - "components": ["overview-map", "north-arrow"], - "overviewMap": { "hideOnZoom": 7 }, - "footerBar": { + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { "tabs": { - "core": ["layers", "data-table", "time-slider"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] } }, - "corePackages": [], - "theme": "geo.ca", - "appBar": { + "footerBar": { "tabs": { - "core": ["geolocator", "legend", "details", "export"] + "core": [ + "layers", + "data-table", + "time-slider" + ] } }, - "navBar": ["zoom", "rotation", "fullscreen", "home", "location", "measurement", "basemap-select", "projection"] + "corePackages": [], + "theme": "geo.ca" } diff --git a/packages/geoview-core/public/configs/navigator/layers/wmts.json b/packages/geoview-core/public/configs/navigator/layers/wmts.json index 03d573f039b..307188d95d8 100644 --- a/packages/geoview-core/public/configs/navigator/layers/wmts.json +++ b/packages/geoview-core/public/configs/navigator/layers/wmts.json @@ -3,7 +3,13 @@ "interaction": "dynamic", "viewSettings": { "initialView": { - "zoomAndCenter": [4, [-100, 55]] + "zoomAndCenter": [ + 4, + [ + -100, + 55 + ] + ] }, "projection": 3857 }, @@ -74,19 +80,41 @@ } ] }, - "components": ["overview-map", "north-arrow"], - "overviewMap": { "hideOnZoom": 7 }, - "footerBar": { + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { "tabs": { - "core": ["layers", "data-table"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] } }, - "corePackages": [], - "theme": "geo.ca", - "appBar": { + "footerBar": { "tabs": { - "core": ["geolocator", "legend", "details", "export"] + "core": [ + "layers", + "data-table" + ] } }, - "navBar": ["zoom", "rotation", "fullscreen", "home", "location", "measurement", "basemap-select", "projection"] + "corePackages": [], + "theme": "geo.ca" } diff --git a/packages/geoview-core/public/configs/navigator/layers/xyz-tile-errors.json b/packages/geoview-core/public/configs/navigator/layers/xyz-tile-errors.json index de4c4d8a26f..8c4bd4bf010 100644 --- a/packages/geoview-core/public/configs/navigator/layers/xyz-tile-errors.json +++ b/packages/geoview-core/public/configs/navigator/layers/xyz-tile-errors.json @@ -39,19 +39,41 @@ } ] }, - "components": ["overview-map", "north-arrow"], - "overviewMap": { "hideOnZoom": 7 }, - "footerBar": { + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { "tabs": { - "core": ["layers", "data-table"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] } }, - "corePackages": [], - "theme": "geo.ca", - "appBar": { + "footerBar": { "tabs": { - "core": ["geolocator", "legend", "details", "export"] + "core": [ + "layers", + "data-table" + ] } }, - "navBar": ["zoom", "rotation", "fullscreen", "home", "location", "measurement", "basemap-select", "projection"] + "corePackages": [], + "theme": "geo.ca" } diff --git a/packages/geoview-core/public/configs/navigator/layers/xyz-tile.json b/packages/geoview-core/public/configs/navigator/layers/xyz-tile.json index b65d9f5987b..d376cd121c6 100644 --- a/packages/geoview-core/public/configs/navigator/layers/xyz-tile.json +++ b/packages/geoview-core/public/configs/navigator/layers/xyz-tile.json @@ -39,19 +39,41 @@ } ] }, - "components": ["overview-map", "north-arrow"], - "overviewMap": { "hideOnZoom": 7 }, - "footerBar": { + "components": [ + "overview-map", + "north-arrow" + ], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": [ + "zoom", + "rotation", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select", + "projection" + ], + "appBar": { "tabs": { - "core": ["layers", "data-table"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] } }, - "corePackages": [], - "theme": "geo.ca", - "appBar": { + "footerBar": { "tabs": { - "core": ["geolocator", "legend", "details", "export"] + "core": [ + "layers", + "data-table" + ] } }, - "navBar": ["zoom", "rotation", "fullscreen", "home", "location", "measurement", "basemap-select", "projection"] + "corePackages": [], + "theme": "geo.ca" } diff --git a/packages/geoview-core/public/configs/open-maps/open-maps-config.json b/packages/geoview-core/public/configs/open-maps/open-maps-config.json index e9cdbe1f804..e5e81009638 100644 --- a/packages/geoview-core/public/configs/open-maps/open-maps-config.json +++ b/packages/geoview-core/public/configs/open-maps/open-maps-config.json @@ -11,20 +11,39 @@ }, "listOfGeoviewLayerConfig": [] }, - "navBar": ["zoom", "fullscreen", "home", "location", "measurement", "basemap-select"], + "components": [ + "north-arrow", + "overview-map" + ], + "navBar": [ + "zoom", + "fullscreen", + "home", + "location", + "measurement", + "basemap-select" + ], "appBar": { "tabs": { - "core": ["geolocator", "legend", "details", "export"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] }, "selectedTab": "legend" }, "footerBar": { "tabs": { - "core": ["layers", "data-table", "geochart", "time-slider"] + "core": [ + "layers", + "data-table", + "geochart", + "time-slider" + ] } }, - "components": ["north-arrow", "overview-map"], - "theme": "geo.ca", "corePackages": [], - "externalPackages": [] + "theme": "geo.ca" } diff --git a/packages/geoview-core/public/configs/package-swiper3-config.json b/packages/geoview-core/public/configs/package-swiper3-config.json index eb20dbacfb3..5581c44ab1f 100644 --- a/packages/geoview-core/public/configs/package-swiper3-config.json +++ b/packages/geoview-core/public/configs/package-swiper3-config.json @@ -17,21 +17,7 @@ "geoviewLayerType": "ogcWms", "listOfLayerEntryConfig": [ { - "layerId": "msi-94-or-more", - "source": { - "featureInfo": { - "queryable": true, - "nameField": "band-0-pixel-value", - "outfields": [ - { - "name": "band-0-pixel-value", - "alias": "Pixel value", - "type": "number", - "domain": null - } - ] - } - } + "layerId": "msi-94-or-more" } ] }, @@ -80,18 +66,18 @@ "geoviewLayerType": "xyzTiles", "listOfLayerEntryConfig": [ { - "layerId": "0", - "initialSettings": { - "minZoom": 3, - "maxZoom": 8 - } + "layerId": "0" } ] } ] }, - "theme": "light", - "components": ["north-arrow", "overview-map"], - "corePackages": ["swiper"], - "externalPackages": [] + "components": [ + "north-arrow", + "overview-map" + ], + "corePackages": [ + "swiper" + ], + "theme": "light" } diff --git a/packages/geoview-core/public/configs/performance.json b/packages/geoview-core/public/configs/performance.json index 2f4adb8facc..db4240f78de 100644 --- a/packages/geoview-core/public/configs/performance.json +++ b/packages/geoview-core/public/configs/performance.json @@ -28,18 +28,30 @@ } ] }, - "components": ["overview-map", "north-arrow"], + "components": [ + "overview-map", + "north-arrow" + ], "overviewMap": { "hideOnZoom": 7 }, "appBar": { "tabs": { - "core": ["geolocator", "legend", "details", "export"] + "core": [ + "geolocator", + "legend", + "details", + "export" + ] } }, "footerBar": { "tabs": { - "core": ["layers", "geochart", "data-table"] + "core": [ + "layers", + "geochart", + "data-table" + ] } }, "corePackages": [], diff --git a/packages/geoview-core/public/index.html b/packages/geoview-core/public/index.html index fb3ed99f1e7..c8ab1ff2bc4 100644 --- a/packages/geoview-core/public/index.html +++ b/packages/geoview-core/public/index.html @@ -41,7 +41,7 @@

    Basic Loading

    diff --git a/packages/geoview-core/public/templates/add-layers.html b/packages/geoview-core/public/templates/add-layers.html index f806a8fbc2c..7c71a2fcbb2 100644 --- a/packages/geoview-core/public/templates/add-layers.html +++ b/packages/geoview-core/public/templates/add-layers.html @@ -73,21 +73,20 @@

    Add Layers Panel

    }, 'listOfGeoviewLayerConfig': [] }, - 'theme': 'geo.ca', 'components': [], + 'navBar': ['home', 'basemap-select', 'projection', 'fullscreen'], + 'appBar': { + 'tabs': { + 'core': ['legend', 'layers', 'details', 'data-table', 'geochart'] + } + }, 'footerBar': { 'tabs': { 'core': ['legend', 'layers', 'details', 'data-table', 'geochart', 'time-slider'] } }, 'corePackages': [], - 'externalPackages': [], - 'navBar': ['home', 'basemap-select', 'projection', 'fullscreen'], - 'appBar': { - 'tabs': { - 'core': ['legend', 'layers', 'details', 'data-table', 'geochart'] - } - } + 'theme': 'geo.ca' }">

    Add Layer Examples

    diff --git a/packages/geoview-core/public/templates/add-panels.html b/packages/geoview-core/public/templates/add-panels.html index 1ab40ca4dd3..b75042a3462 100644 --- a/packages/geoview-core/public/templates/add-panels.html +++ b/packages/geoview-core/public/templates/add-panels.html @@ -48,13 +48,13 @@

    Add Panels

    'labeled': true } }, + 'components': ['overview-map'], 'navBar': ['zoom', 'fullscreen', 'home', 'location'], 'appBar': { 'tabs': { 'core': ['geolocator', 'export'] } }, - 'components': ['overview-map'], 'corePackages': [], 'theme': 'geo.ca' }" diff --git a/packages/geoview-core/public/templates/api-loads.html b/packages/geoview-core/public/templates/api-loads.html index f48e2d53a9c..ce3b77d0ada 100644 --- a/packages/geoview-core/public/templates/api-loads.html +++ b/packages/geoview-core/public/templates/api-loads.html @@ -30,7 +30,7 @@

    API Loads

    id="map1" class="geoview-map" data-lang="en" - data-geometry-endpoint="https://b6ryuvakk5.execute-api.us-east-1.amazonaws.com/dev/collections/canadian-geospatial-platform/items/" + data-geometry-endpoint="https://datacube.services.geo.ca/stac/api/collections/flood-susceptibility/items/" data-config="{ 'map': { 'interaction': 'dynamic', @@ -52,7 +52,7 @@

    API Loads

    This map will call pygeoapi API to gather the geometry from id provided by URL geoms parameter and load them on the map.

    div configuration: data-geometry-endpoint = - "https://b6ryuvakk5.execute-api.us-east-1.amazonaws.com/dev/collections/canadian-geospatial-platform/items/" + "https://datacube.services.geo.ca/stac/api/collections/flood-susceptibility/items/"

    - \ No newline at end of file + diff --git a/packages/geoview-core/public/templates/outliers/outlier-metadata.html b/packages/geoview-core/public/templates/outliers/outlier-metadata.html index a0e8f11978b..ce7bb9a7b6a 100644 --- a/packages/geoview-core/public/templates/outliers/outlier-metadata.html +++ b/packages/geoview-core/public/templates/outliers/outlier-metadata.html @@ -66,12 +66,7 @@

    1. Metadata Issue Layers

    'listOfLayerEntryConfig': [ { 'layerId': '0', - 'layerName': 'MPMO - Major Project', - 'initialSettings': { - 'states': { - 'visible': true - } - } + 'layerName': 'MPMO - Major Project' } ] }, @@ -182,9 +177,14 @@

    1. Metadata Issue Layers

    ] }, 'components': ['overview-map'], + 'appBar': { + 'tabs': { + 'core': ['legend', 'details', 'export'] + } + }, 'footerBar': { 'tabs': { - 'core': ['legend', 'layers', 'details', 'data-table'] + 'core': ['layers', 'data-table'] } }, 'corePackages': [], @@ -245,9 +245,14 @@

    2. ESRI Service Issue Layers

    ] }, 'components': ['overview-map'], + 'appBar': { + 'tabs': { + 'core': ['legend', 'details', 'export'] + } + }, 'footerBar': { 'tabs': { - 'core': ['legend', 'layers', 'details', 'data-table'] + 'core': ['layers', 'data-table'] } }, 'corePackages': [], @@ -319,12 +324,12 @@

    3. Metadata Extent Issue Layers

    'navBar': ['zoom', 'fullscreen', 'home', 'location', 'basemap-select'], 'appBar': { 'tabs': { - 'core': ['geolocator', 'export'] + 'core': ['legend', 'details', 'export'] } }, 'footerBar': { 'tabs': { - 'core': ['legend', 'layers', 'details', 'data-table'] + 'core': ['layers', 'data-table'] } }, 'corePackages': [], diff --git a/packages/geoview-core/public/templates/outliers/outlier-style.html b/packages/geoview-core/public/templates/outliers/outlier-style.html index b8014333490..9471a759fdf 100644 --- a/packages/geoview-core/public/templates/outliers/outlier-style.html +++ b/packages/geoview-core/public/templates/outliers/outlier-style.html @@ -128,9 +128,14 @@

    Outlier Layers with Style Issues

    ] }, 'components': ['overview-map'], + 'appBar': { + 'tabs': { + 'core': ['legend', 'details', 'export'] + } + }, 'footerBar': { 'tabs': { - 'core': ['legend', 'layers', 'details', 'data-table'] + 'core': ['layers', 'data-table'] } }, 'corePackages': [], diff --git a/packages/geoview-core/public/templates/pygeoapi-processes.html b/packages/geoview-core/public/templates/pygeoapi-processes.html index cec9b8e37df..a0212f2d5b3 100644 --- a/packages/geoview-core/public/templates/pygeoapi-processes.html +++ b/packages/geoview-core/public/templates/pygeoapi-processes.html @@ -77,13 +77,11 @@

    GeoJSON Layer


    Latitude:
    Longitude:
    -
    Latitude:
    Longitude:
    - @@ -110,8 +108,7 @@

    GeoJSON Layer

    // add an event listener when a button is clicked addGeoJSONButton.addEventListener('click', async () => { - const layerPath = document.getElementById('GeoMet-New-Layer-Id-Label').innerText; - if (layerPath) cgpv.api.getMapViewer('map1').layer.removeLayerUsingPath(layerPath); + cgpv.api.getMapViewer('map1').layer.removeLayerUsingPath('GeoMetGeoJsonProcess/execution'); // adding a geojson layer requires a type of geojson and url const lat = document.getElementById('GeoMet-Lat-Input').value; @@ -152,8 +149,7 @@

    GeoJSON Layer

    // add an event listener when a button is clicked addGeoJSONButton.addEventListener('click', async () => { - const layerPath = document.getElementById('Hydro-New-Layer-Id-Label').innerText; - if (layerPath) cgpv.api.getMapViewer('map1').layer.removeLayerUsingPath(layerPath); + cgpv.api.getMapViewer('map1').layer.removeLayerUsingPath('HydroGeoJsonProcess/execution'); // adding a geojson layer requires a type of geojson and url const lat = document.getElementById('Hydro-Lat-Input').value; diff --git a/packages/geoview-core/public/templates/release-navigator.html b/packages/geoview-core/public/templates/release-navigator.html index 749f6b91a5c..21535289d74 100644 --- a/packages/geoview-core/public/templates/release-navigator.html +++ b/packages/geoview-core/public/templates/release-navigator.html @@ -104,8 +104,7 @@

    Map Configuration

    }, "components": ["north-arrow", "overview-map"], "theme": "geo.ca", - "corePackages": [], - "externalPackages": [] + "corePackages": [] }
    diff --git a/packages/geoview-core/public/templates/stac-browser.html b/packages/geoview-core/public/templates/stac-browser.html index a213fad6a48..3d06867ade0 100644 --- a/packages/geoview-core/public/templates/stac-browser.html +++ b/packages/geoview-core/public/templates/stac-browser.html @@ -43,12 +43,12 @@

    Package - STAC Browser (beta)

    'labeled': true } }, + 'navBar': ['zoom', 'rotation', 'fullscreen', 'home', 'location', 'measurement', 'basemap-select', 'projection'], 'appBar': { 'tabs': { 'core': ['stac-browser'] } }, - 'navBar': ['zoom', 'rotation', 'fullscreen', 'home', 'location', 'measurement', 'basemap-select', 'projection'], 'corePackagesConfig': [{ 'stac-browser': { 'stacUrl': 'https://datacube.services.geo.ca/stac/api', diff --git a/packages/geoview-core/public/templates/tests.html b/packages/geoview-core/public/templates/tests.html index a8fb9669d22..8a285ca4dfa 100644 --- a/packages/geoview-core/public/templates/tests.html +++ b/packages/geoview-core/public/templates/tests.html @@ -327,13 +327,6 @@

    0. Tests on map 0 (EPSG: 3978)

    } }, 'components': [], - 'corePackages': ['test-suite'], - 'corePackagesConfig': [ - { - 'test-suite': { 'suites': ['suite-core'] } - } - ], - 'theme': 'geo.ca', 'footerBar': { 'tabs': { 'core': [ @@ -342,7 +335,14 @@

    0. Tests on map 0 (EPSG: 3978)

    'details' ] } - } + }, + 'corePackages': ['test-suite'], + 'theme': 'geo.ca', + 'corePackagesConfig': [ + { + 'test-suite': { 'suites': ['suite-core'] } + } + ] }" > @@ -373,13 +373,6 @@

    1. Tests on map 1

    } }, 'components': [], - 'corePackages': ['test-suite'], - 'corePackagesConfig': [ - { - 'test-suite': { 'suites': ['suite-config'] } - } - ], - 'theme': 'geo.ca', 'footerBar': { 'tabs': { 'core': [ @@ -388,7 +381,14 @@

    1. Tests on map 1

    'details' ] } - } + }, + 'corePackages': ['test-suite'], + 'theme': 'geo.ca', + 'corePackagesConfig': [ + { + 'test-suite': { 'suites': ['suite-config'] } + } + ] }" > @@ -420,13 +420,6 @@

    2. Tests on map 2 (EPSG: 3978)

    'listOfGeoviewLayerConfig': [] }, 'components': [], - 'corePackages': ['test-suite'], - 'corePackagesConfig': [ - { - 'test-suite': { 'suites': ['suite-layer'] } - } - ], - 'theme': 'geo.ca', 'footerBar': { 'tabs': { 'core': [ @@ -436,7 +429,14 @@

    2. Tests on map 2 (EPSG: 3978)

    'data-table' ] } - } + }, + 'corePackages': ['test-suite'], + 'theme': 'geo.ca', + 'corePackagesConfig': [ + { + 'test-suite': { 'suites': ['suite-layer'] } + } + ] }" > @@ -468,13 +468,6 @@

    3. Tests on map 3 (EPSG: 3857)

    'listOfGeoviewLayerConfig': [] }, 'components': [], - 'corePackages': ['test-suite'], - 'corePackagesConfig': [ - { - 'test-suite': { 'suites': ['suite-layer'] } - } - ], - 'theme': 'geo.ca', 'footerBar': { 'tabs': { 'core': [ @@ -484,7 +477,14 @@

    3. Tests on map 3 (EPSG: 3857)

    'data-table' ] } - } + }, + 'corePackages': ['test-suite'], + 'theme': 'geo.ca', + 'corePackagesConfig': [ + { + 'test-suite': { 'suites': ['suite-layer'] } + } + ] }" > @@ -542,13 +542,6 @@

    4. Tests on map functions

    ] }, 'components': [], - 'corePackages': ['test-suite'], - 'corePackagesConfig': [ - { - 'test-suite': { 'suites': ['suite-map'] } - } - ], - 'theme': 'geo.ca', 'footerBar': { 'tabs': { 'core': [ @@ -556,7 +549,14 @@

    4. Tests on map functions

    'data-table' ] } - } + }, + 'corePackages': ['test-suite'], + 'theme': 'geo.ca', + 'corePackagesConfig': [ + { + 'test-suite': { 'suites': ['suite-map'] } + } + ] }" > @@ -602,7 +602,18 @@

    5. Tests on map 5

    ] }, 'components': [], + 'footerBar': { + 'tabs': { + 'core': [ + 'legend', + 'layers', + 'details', + 'geochart' + ] + } + }, 'corePackages': ['test-suite'], + 'theme': 'geo.ca', 'corePackagesConfig': [ { 'geochart': { @@ -672,18 +683,7 @@

    5. Tests on map 5

    }, 'test-suite': { 'suites': ['suite-geochart'] } } - ], - 'theme': 'geo.ca', - 'footerBar': { - 'tabs': { - 'core': [ - 'legend', - 'layers', - 'details', - 'geochart' - ] - } - } + ] }" > @@ -715,18 +715,18 @@

    6. Tests on map config

    'listOfGeoviewLayerConfig': [] }, 'components': [], + 'footerBar': { + 'tabs': { + 'core': [] + } + }, 'corePackages': ['test-suite'], + 'theme': 'geo.ca', 'corePackagesConfig': [ { 'test-suite': { 'suites': ['suite-map-config'] } } - ], - 'theme': 'geo.ca', - 'footerBar': { - 'tabs': { - 'core': [] - } - } + ] }" > @@ -758,13 +758,6 @@

    7. Tests on map 7

    'listOfGeoviewLayerConfig': [] }, 'components': [], - 'corePackages': ['test-suite'], - 'corePackagesConfig': [ - { - 'test-suite': { 'suites': ['suite-ui'] } - } - ], - 'theme': 'geo.ca', 'footerBar': { 'tabs': { 'core': [ @@ -773,7 +766,14 @@

    7. Tests on map 7

    'details' ] } - } + }, + 'corePackages': ['test-suite'], + 'theme': 'geo.ca', + 'corePackagesConfig': [ + { + 'test-suite': { 'suites': ['suite-ui'] } + } + ] }" > @@ -819,13 +819,6 @@

    8. Tests on map 8

    ] }, 'components': [], - 'corePackages': ['test-suite'], - 'corePackagesConfig': [ - { - 'test-suite': { 'suites': ['suite-details'] } - } - ], - 'theme': 'geo.ca', 'footerBar': { 'tabs': { 'core': [ @@ -834,7 +827,14 @@

    8. Tests on map 8

    'details' ] } - } + }, + 'corePackages': ['test-suite'], + 'theme': 'geo.ca', + 'corePackagesConfig': [ + { + 'test-suite': { 'suites': ['suite-details'] } + } + ] }" > @@ -865,13 +865,6 @@

    9. Tests on map 9 (Utilities)

    } }, 'components': [], - 'corePackages': ['test-suite'], - 'corePackagesConfig': [ - { - 'test-suite': { 'suites': ['suite-utilities'] } - } - ], - 'theme': 'geo.ca', 'footerBar': { 'tabs': { 'core': [ @@ -880,7 +873,14 @@

    9. Tests on map 9 (Utilities)

    'details' ] } - } + }, + 'corePackages': ['test-suite'], + 'theme': 'geo.ca', + 'corePackagesConfig': [ + { + 'test-suite': { 'suites': ['suite-utilities'] } + } + ] }" > @@ -946,7 +946,16 @@

    10. Tests on map 10 (Swiper)

    ] }, 'components': [], + 'footerBar': { + 'tabs': { + 'core': [ + 'legend', + 'layers' + ] + } + }, 'corePackages': ['swiper', 'test-suite'], + 'theme': 'geo.ca', 'corePackagesConfig': [ { 'swiper': { @@ -955,16 +964,7 @@

    10. Tests on map 10 (Swiper)

    }, 'test-suite': { 'suites': ['suite-swiper'] } } - ], - 'theme': 'geo.ca', - 'footerBar': { - 'tabs': { - 'core': [ - 'legend', - 'layers' - ] - } - } + ] }" > diff --git a/packages/geoview-core/public/templates/ui-components.html b/packages/geoview-core/public/templates/ui-components.html index 24b6e0c3c28..5c3773e0e0e 100644 --- a/packages/geoview-core/public/templates/ui-components.html +++ b/packages/geoview-core/public/templates/ui-components.html @@ -60,17 +60,15 @@

    UI Components

    'core': ['layers', 'data-table', 'time-slider'] } }, - 'theme': 'geo.ca', - 'corePackages': [] + 'corePackages': [], + 'theme': 'geo.ca' }" >


    -

    - Filter EsriFeature from slider -

    +

    Filter EsriFeature from slider


    @@ -153,9 +151,7 @@

    Accessing slider value from outside of the core viewer using api event liste ], track: 'normal', onChangeCommitted: (dates) => { - mapViewer.layer - .getGeoviewLayer('historical-flood/0') - .setLayerFiltersDate(dates[0] + '-01-01', dates[1] + '-12-31'); + mapViewer.layer.getGeoviewLayer('historical-flood/0').setLayerFiltersDate(dates[0] + '-01-01', dates[1] + '-12-31'); }, }) ); diff --git a/packages/geoview-core/public/templates/wcag.html b/packages/geoview-core/public/templates/wcag.html index aabe63cfe0b..7b3d76557d3 100644 --- a/packages/geoview-core/public/templates/wcag.html +++ b/packages/geoview-core/public/templates/wcag.html @@ -132,8 +132,7 @@

    Map Configuration

    ] } } - ], - "externalPackages": [] + ] } diff --git a/packages/geoview-core/schema-default-config.json b/packages/geoview-core/schema-default-config.json index 7e432d341a6..7ce07df687a 100644 --- a/packages/geoview-core/schema-default-config.json +++ b/packages/geoview-core/schema-default-config.json @@ -1,33 +1,38 @@ { + "configMeta": { + "version": "1.0" + }, "map": { "interaction": "dynamic", - "controls": { - "boxZoom": true, - "selectBox": true - }, - "projection": 3978, "viewSettings": { - "zoom": 12, - "center": [-106, 60] + "zoomAndCenter": [4.5, [-90, 60]], + "projection": 3978 }, "basemapOptions": { "id": "transport", "shaded": true, "labeled": true }, + "highlightColor": "", "listOfGeoviewLayerConfig": [] }, - "theme": "geo.ca", + "components": ["overview-map", "north-arrow"], + "overviewMap": { + "hideOnZoom": 7 + }, + "navBar": ["zoom", "fullscreen", "home"], "appBar": { "tabs": { "core": ["geolocator"] } }, - "navBar": ["zoom", "fullscreen", "home"], - "components": [], + "footerBar": { + "tabs": { + "core": ["layers"] + } + }, "corePackages": [], - "corePackagesConfig": [], - "externalPackages": [], + "globalSettings": {}, "serviceUrls": { "geocoreUrl": "https://geocore.api.geo.ca", "rcsUrl": "https://gcgeo.gc.ca/geonetwork/srv/api/v2/docs/", @@ -37,7 +42,7 @@ "ntsSheetUrl": "https://geogratis.gc.ca/services/delimitation/en/nts", "altitudeUrl": "https://geogratis.gc.ca/services/elevation/cdem/altitude" }, - "configMeta": { - "version": "1.0" - } + "theme": "geo.ca", + "corePackagesConfig": [], + "externalPackages": [] } diff --git a/packages/geoview-core/src/core/stores/states/ui-state.ts b/packages/geoview-core/src/core/stores/states/ui-state.ts index f16cfa2efaa..605bdfb83a8 100644 --- a/packages/geoview-core/src/core/stores/states/ui-state.ts +++ b/packages/geoview-core/src/core/stores/states/ui-state.ts @@ -165,7 +165,7 @@ export function initializeUIState(set: TypeSetStore, get: TypeGetStore): IUIStat footerBarComponents: geoviewConfig.footerBar?.tabs.core || [], footerTabs: footerTabEntries, activeFooterBarTab: { - tabId: footerSelectedTab, + tabId: isFooterBarOpen ? footerSelectedTab : '', isOpen: isFooterBarOpen, isFocusTrapped: false, }, diff --git a/packages/geoview-core/src/geo/layer/gv-layers/abstract-gv-layer.ts b/packages/geoview-core/src/geo/layer/gv-layers/abstract-gv-layer.ts index ebae50b9ecb..4bb93eaa020 100644 --- a/packages/geoview-core/src/geo/layer/gv-layers/abstract-gv-layer.ts +++ b/packages/geoview-core/src/geo/layer/gv-layers/abstract-gv-layer.ts @@ -561,7 +561,12 @@ export abstract class AbstractGVLayer extends AbstractBaseGVLayer { this.#setLayerFiltersInitial(this.getLayerConfig().getLayerFilter()); this.#setLayerFiltersClass(); - // Activation of the load end/error listeners + // Activation of the load end/error listeners. + // Three categories of OL source events are handled: + // - tileloaderror / featuresloaderror → #handleError (always non-fatal, routes to #handleLoaded) + // - imageloaderror → #handleImageLoadError (always fatal — single image = entire view) + // - source 'change' with state='error' → #handleSourceChange (fatal only before first load) + // See copilot-instructions.md "Layer Load Error Handling Strategy" for the full rationale. // eslint-disable-next-line @typescript-eslint/no-explicit-any (this.#olSource as any).on(['featuresloadstart', 'imageloadstart', 'tileloadstart'], this.#handleLoading.bind(this)); // eslint-disable-next-line @typescript-eslint/no-explicit-any @@ -571,7 +576,7 @@ export abstract class AbstractGVLayer extends AbstractBaseGVLayer { // eslint-disable-next-line @typescript-eslint/no-explicit-any (this.#olSource as any).on(['imageloaderror'], this.#handleImageLoadError.bind(this)); - // Activate source change listener to catch errors + // Activate source change listener to catch source-level errors (e.g., capabilities fetch failed) // eslint-disable-next-line @typescript-eslint/no-explicit-any (this.#olSource as any).on('change', this.#handleSourceChange.bind(this)); @@ -1217,6 +1222,12 @@ export abstract class AbstractGVLayer extends AbstractBaseGVLayer { /** * Handles when the layer goes into a loaded state. * + * Only calls onLoaded() when the event's loading counter matches the current global counter, + * meaning this is the last load cycle that started. Earlier cycles are silently skipped. + * Both successful loads (tileloadend/featuresloadend/imageloadend) and non-fatal errors + * (tileloaderror/featuresloaderror via #handleError) route through this method to resolve + * the loading counter. + * * @param event - The event which is being triggered */ #handleLoaded(event: Event): void { @@ -1235,23 +1246,36 @@ export abstract class AbstractGVLayer extends AbstractBaseGVLayer { } /** - * Handles when the layer is in error and couldn't be loaded correctly. + * Handles when a tile or feature fails to load. + * + * Individual tile/feature load errors are always non-fatal. A single failed tile (e.g., WMTS tile outside + * the tile matrix bounds, WMS tiled edge tile, XYZ 404, sparse vector tile, transient network failure) + * should never mark the entire layer as failed. Routes through #handleLoaded so the loading counter + * resolves normally and the layer status returns to (or stays at) 'loaded'. + * + * If the source itself is broken (e.g., capabilities fetch failed, service unreachable), + * #handleSourceChange will catch the source-level 'error' state and fire the fatal error path. + * + * For WMS Image layers (single image per view), errors are handled separately by #handleImageLoadError + * which always treats them as fatal. * * @param event - The event which is being triggered */ #handleError(event: Event): void { // Log - logger.logError(`An error happened on the layer: ${this.getLayerPath()} after it was processed and added on the map.`, event); - - // Decipher the error, allowing children classes to be more specific (ex: Vector specific errors) - const gvError = this.onErrorDecipherError(event); + logger.logWarning(`A tile or feature failed to load for layer: ${this.getLayerPath()}.`, event); - // Call overridable method - this.onError(gvError); + // Route through #handleLoaded to resolve the loading counter + this.#handleLoaded(event); } /** - * Handles when the layer is in error and couldn't be loaded correctly. + * Handles when the layer image source is in error and couldn't be loaded correctly. + * + * Unlike tile errors (where individual tile failures are non-fatal), an image load error means the entire + * layer is not rendering (WMS Image layers use a single image per view). This is always treated as fatal. + * The AbstractGVRaster subclass overrides onImageLoadError() with rescue logic for recoverable cases. + * When the map is panned/zoomed, a new image request may succeed and onLoaded() will restore the status. * * @param event - The event which is being triggered */ @@ -1267,13 +1291,26 @@ export abstract class AbstractGVLayer extends AbstractBaseGVLayer { } /** - * Method called when the layer source changes to check for errors. + * Handles when the source state changes to detect source-level errors. + * + * This is the fatal error path for source-level failures (e.g., capabilities fetch failed, + * service completely unreachable). Individual tile/feature errors do NOT trigger this handler — + * they are handled by #handleError which treats them as non-fatal. + * + * Once the layer has loaded successfully at least once (loadedOnce === true), source state errors + * are treated as transient and logged as warnings without changing the layer status. * * @param event - The event which is being triggered */ #handleSourceChange(event: Event): void { const state = this.#olSource.getState(); if (state === 'error') { + // If the layer has already loaded successfully, a transient source error is non-fatal + if (this.loadedOnce) { + logger.logWarning(`Source state changed to error for layer: ${this.getLayerPath()}. The layer remains functional.`, event); + return; + } + // Decipher the error, allowing children classes to be more specific const gvError = this.onErrorDecipherError(event); diff --git a/packages/geoview-core/src/ui/tabs/tabs.tsx b/packages/geoview-core/src/ui/tabs/tabs.tsx index b807d65cbcf..36a5a6132a4 100644 --- a/packages/geoview-core/src/ui/tabs/tabs.tsx +++ b/packages/geoview-core/src/ui/tabs/tabs.tsx @@ -233,8 +233,10 @@ function TabsUI(props: TypeTabsProps): JSX.Element { const { id } = event.currentTarget; // Extract base tab id by removing the prefix const baseId = extractTabId(id, mapId); - const tab = tabPanels.filter((item) => item !== undefined && item.id === baseId); - const index = tab.length > 0 ? tab[0].value : -1; + // Look up the tab from the `tabs` prop (always current) rather than `tabPanels` which can + // hold stale entries with outdated values when tabs are reordered (e.g. custom tabs added at mount). + const tab = tabs.find((item) => item.id === baseId); + const index = tab ? tab.value : -1; // toggle on -1, so that when no tab is selected on fullscreen // and tab is selected again to open the panel. @@ -244,7 +246,7 @@ function TabsUI(props: TypeTabsProps): JSX.Element { if (activeTrap) onOpenKeyboard?.({ activeElementId: id, callbackElementId: id }); else onCloseKeyboard?.(); }, - [activeTrap, onCloseKeyboard, onOpenKeyboard, onToggleCollapse, value, tabPanels, mapId] + [activeTrap, onCloseKeyboard, onOpenKeyboard, onToggleCollapse, value, tabs, mapId] ); // #endregion diff --git a/scripts/reorder-config-keys.mjs b/scripts/reorder-config-keys.mjs new file mode 100644 index 00000000000..e69de29bb2d From a83d542777169cd9543f88f79a405963b6d2b9aa Mon Sep 17 00:00:00 2001 From: Johann Levesque Date: Tue, 2 Jun 2026 10:22:43 -0400 Subject: [PATCH 3/9] reorder config --- .../public/configs/footer-tabs-config.json | 15 +++++++-------- .../public/configs/loading-packages-config.json | 5 +++++ .../public/templates/demos/demo-arctic-sdi.html | 4 ++-- .../public/templates/demos/demo-gsc.html | 7 ++++++- .../templates/demos/demo-osdp-non-currated.html | 4 ++-- .../geoview-core/public/templates/events.html | 10 ++++++++++ .../geoview-core/public/templates/geometry.html | 10 ++++++++++ .../geoview-core/public/templates/inter-all.html | 10 ++++++++++ .../templates/inter-bounding-box-selector.html | 10 ++++++++++ .../public/templates/inter-drawer.html | 6 ++++-- .../templates/outliers/outlier-geometry.html | 4 ++-- scripts/reorder-config-keys.mjs | 0 12 files changed, 68 insertions(+), 17 deletions(-) delete mode 100644 scripts/reorder-config-keys.mjs diff --git a/packages/geoview-core/public/configs/footer-tabs-config.json b/packages/geoview-core/public/configs/footer-tabs-config.json index b307bac87d8..ff7ae0e5c5b 100644 --- a/packages/geoview-core/public/configs/footer-tabs-config.json +++ b/packages/geoview-core/public/configs/footer-tabs-config.json @@ -27,16 +27,15 @@ } ] }, - "components": [ - "north-arrow", - "overview-map" - ], + "components": ["north-arrow", "overview-map"], + "appBar": { + "tabs": { + "core": ["details", "geolocator"] + } + }, "footerBar": { "tabs": { - "core": [ - "legend", - "layers" - ] + "core": ["legend", "layers"] } }, "corePackages": [], diff --git a/packages/geoview-core/public/configs/loading-packages-config.json b/packages/geoview-core/public/configs/loading-packages-config.json index 8006dbcc4d3..88720530dce 100644 --- a/packages/geoview-core/public/configs/loading-packages-config.json +++ b/packages/geoview-core/public/configs/loading-packages-config.json @@ -31,6 +31,11 @@ "layers" ] } + }, + "footerBar": { + "tabs": { + "core": [] + } }, "corePackages": [], "theme": "geo.ca" diff --git a/packages/geoview-core/public/templates/demos/demo-arctic-sdi.html b/packages/geoview-core/public/templates/demos/demo-arctic-sdi.html index 5468cf8e42f..75836fde66e 100644 --- a/packages/geoview-core/public/templates/demos/demo-arctic-sdi.html +++ b/packages/geoview-core/public/templates/demos/demo-arctic-sdi.html @@ -86,7 +86,7 @@

    1. Wetlands

    ] }, 'components': ['north-arrow'], - 'navBar': ['zoom'], + 'navBar': ['zoom', 'home'], 'appBar': { 'tabs': { 'core': ['geolocator', 'legend', 'details', 'export'] @@ -171,7 +171,7 @@

    2. Sea Ice Extent (1979-2016)

    ] }, 'components': ['north-arrow'], - 'navBar': ['zoom'], + 'navBar': ['zoom', 'home'], 'appBar': { 'tabs': { 'core': ['geolocator', 'custom-legend', 'details', 'export'] diff --git a/packages/geoview-core/public/templates/demos/demo-gsc.html b/packages/geoview-core/public/templates/demos/demo-gsc.html index 39c9800d76c..97266299082 100644 --- a/packages/geoview-core/public/templates/demos/demo-gsc.html +++ b/packages/geoview-core/public/templates/demos/demo-gsc.html @@ -63,9 +63,14 @@

    GSC Demo

    }, 'components': ['north-arrow', 'overview-map'], 'overviewMap': {'hideOnZoom': 7}, + 'appBar': { + 'tabs': { + 'core': ['legend', 'details'] + } + }, 'footerBar': { 'tabs': { - 'core': ['legend', 'layers', 'details', 'data-table'] + 'core': ['layers', 'data-table'] } }, 'corePackages': [], diff --git a/packages/geoview-core/public/templates/demos/demo-osdp-non-currated.html b/packages/geoview-core/public/templates/demos/demo-osdp-non-currated.html index a4700f6837c..a02491f0cce 100644 --- a/packages/geoview-core/public/templates/demos/demo-osdp-non-currated.html +++ b/packages/geoview-core/public/templates/demos/demo-osdp-non-currated.html @@ -149,12 +149,12 @@

    4. GeoJSON Rendering

    'navBar': ['zoom', 'fullscreen', 'home', 'location'], 'appBar': { 'tabs': { - 'core': ['geolocator', 'export'] + 'core': ['legend', 'details','geolocator', 'export'] } }, 'footerBar': { 'tabs': { - 'core': ['legend', 'layers', 'details', 'data-table'] + 'core': ['layers', 'data-table'] } }, 'corePackages': [], diff --git a/packages/geoview-core/public/templates/events.html b/packages/geoview-core/public/templates/events.html index afb00ce5b77..a33fad093a6 100644 --- a/packages/geoview-core/public/templates/events.html +++ b/packages/geoview-core/public/templates/events.html @@ -43,6 +43,16 @@

    Events

    } }, 'components': [], + 'appBar': { + 'tabs': { + 'core': [] + } + }, + 'footerBar': { + 'tabs': { + 'core': [] + } + }, 'corePackages': [], 'theme': 'geo.ca' }" diff --git a/packages/geoview-core/public/templates/geometry.html b/packages/geoview-core/public/templates/geometry.html index f2b6a2a2f70..f6b3e1c0826 100644 --- a/packages/geoview-core/public/templates/geometry.html +++ b/packages/geoview-core/public/templates/geometry.html @@ -58,6 +58,16 @@

    Geometry

    } }, 'components': [], + 'appBar': { + 'tabs': { + 'core': [] + } + }, + 'footerBar': { + 'tabs': { + 'core': [] + } + }, 'corePackages': [], 'theme': 'geo.ca' }" diff --git a/packages/geoview-core/public/templates/inter-all.html b/packages/geoview-core/public/templates/inter-all.html index d27cde050bf..cd681f581f2 100644 --- a/packages/geoview-core/public/templates/inter-all.html +++ b/packages/geoview-core/public/templates/inter-all.html @@ -173,6 +173,16 @@

    Interactions

    'labeled': false } }, + 'appBar': { + 'tabs': { + 'core': [] + } + }, + 'footerBar': { + 'tabs': { + 'core': [] + } + }, 'corePackages': [], 'theme': 'geo.ca' }" diff --git a/packages/geoview-core/public/templates/inter-bounding-box-selector.html b/packages/geoview-core/public/templates/inter-bounding-box-selector.html index 62edba64f07..caaf37140bf 100644 --- a/packages/geoview-core/public/templates/inter-bounding-box-selector.html +++ b/packages/geoview-core/public/templates/inter-bounding-box-selector.html @@ -66,6 +66,16 @@

    Bounding Box Selector

    'labeled': false } }, + 'appBar': { + 'tabs': { + 'core': [] + } + }, + 'footerBar': { + 'tabs': { + 'core': [] + } + }, 'corePackages': [], 'theme': 'geo.ca' }" diff --git a/packages/geoview-core/public/templates/inter-drawer.html b/packages/geoview-core/public/templates/inter-drawer.html index 337febc2903..8a57213ef31 100644 --- a/packages/geoview-core/public/templates/inter-drawer.html +++ b/packages/geoview-core/public/templates/inter-drawer.html @@ -156,7 +156,8 @@
    Map 2 (Simple Basemap)
    } }, 'theme': 'dark', - 'components': ['north-arrow', 'overview-map'], 'navBar': [ + 'components': ['north-arrow', 'overview-map'], + 'navBar': [ 'basemap-select', 'projection', 'fullscreen', @@ -171,7 +172,8 @@
    Map 2 (Simple Basemap)
    'tabs': { 'core': [] } - }, 'corePackages': [], + }, + 'corePackages': [], 'corePackagesConfig': [ { 'drawer': { diff --git a/packages/geoview-core/public/templates/outliers/outlier-geometry.html b/packages/geoview-core/public/templates/outliers/outlier-geometry.html index 3ebd8cde2cf..a5fe140d7d4 100644 --- a/packages/geoview-core/public/templates/outliers/outlier-geometry.html +++ b/packages/geoview-core/public/templates/outliers/outlier-geometry.html @@ -75,11 +75,11 @@

    Outlier Geometry Layers

    { 'geoviewLayerId': 'featureInfo', 'geoviewLayerName': 'Coral Sponge 2016', - 'metadataAccessPath': 'https://gisp.dfo-mpo.gc.ca/arcgis/rest/services/FGP/KDE_Analyses_Coral_Sponge_2016_EN/MapServer', + 'metadataAccessPath': 'https://egisp.dfo-mpo.gc.ca/arcgis/rest/services/open_data_donnees_ouvertes/kde_analyses_coral_sponge_2016_en/MapServer', 'geoviewLayerType': 'esriDynamic', 'listOfLayerEntryConfig': [ { - 'layerId': '0', + 'layerId': '6', 'layerName': 'Coral Sponge 2016', 'initialSettings': { 'states': { diff --git a/scripts/reorder-config-keys.mjs b/scripts/reorder-config-keys.mjs deleted file mode 100644 index e69de29bb2d..00000000000 From 732b3f4f1bd0bba1319dd37eccd2d5a53951d2eb Mon Sep 17 00:00:00 2001 From: Johann Levesque Date: Tue, 2 Jun 2026 15:54:38 -0400 Subject: [PATCH 4/9] review --- .github/copilot-instructions.md | 5 +- docs/app/config/README.md | 1 + docs/app/config/configuration-reference.md | 496 +++++++++--------- .../configs/OSDP/datasets/OSDP-metadata.meta | 3 - .../demos/09-basic-footer-layers-tab.json | 74 +-- .../demos/12-package-time-slider-custom.json | 3 - .../navigator/demos/19-global-settings.json | 19 +- .../configs/navigator/layers/all-layers.json | 8 +- .../datasets/geojson/metadata-blank.meta | 3 - .../public/datasets/geojson/metadata.json | 3 - .../public/datasets/geojson/metadata.meta | 3 - .../public/datasets/geojson/metadata1.meta | 3 - .../public/templates/sandbox.html | 89 ++-- .../geoview-core/schema-default-config.json | 1 + 14 files changed, 357 insertions(+), 354 deletions(-) diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index 69051b7eb90..eaeb66167d5 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -986,8 +986,9 @@ When creating or editing map configuration JSON files (navigator demos, test con 2. viewSettings — Projection, zoom, center, rotation, homeView 3. basemapOptions — Basemap type and visual options 4. highlightColor — Feature highlight color overrides -5. listOfGeoviewLayerConfig — Layer definitions array -6. extraOptions — Pass-through OpenLayers map options +5. overlayObjects — Non-interactive markers and overlays +6. listOfGeoviewLayerConfig — Layer definitions array +7. extraOptions — Pass-through OpenLayers map options ``` **Rationale:** The order mirrors the logical sequence: _what kind of map_ → _what it shows_ → _how the UI wraps it_ → _what services back it_ → _what extends it_. Following this order makes configs easier to read, review, and diff. diff --git a/docs/app/config/README.md b/docs/app/config/README.md index 2d4a9913e0f..93c0bee14ec 100644 --- a/docs/app/config/README.md +++ b/docs/app/config/README.md @@ -85,6 +85,7 @@ Config │ ├── viewSettings (projection, zoom, center, rotation, homeView) │ ├── basemapOptions │ ├── highlightColor +│ ├── overlayObjects │ ├── listOfGeoviewLayerConfig[] │ └── extraOptions ├── components[] diff --git a/docs/app/config/configuration-reference.md b/docs/app/config/configuration-reference.md index f65d790f35f..99d15c94f12 100644 --- a/docs/app/config/configuration-reference.md +++ b/docs/app/config/configuration-reference.md @@ -96,22 +96,24 @@ The root configuration object for initializing a GeoView map. ```typescript interface TypeMapFeaturesInstance { + // Optional + configMeta?: TypeConfigMeta; + // Required map: TypeMapConfig; // Optional - theme?: TypeDisplayTheme; + components?: TypeMapComponents; + overviewMap?: TypeOverviewMapProps; navBar?: TypeNavBarProps; - footerBar?: TypeFooterBarProps; appBar?: TypeAppBarProps; - overviewMap?: TypeOverviewMapProps; - components?: TypeMapComponents; + footerBar?: TypeFooterBarProps; corePackages?: TypeMapCorePackages; + globalSettings?: TypeGlobalSettings; + serviceUrls?: TypeServiceUrls; + theme?: TypeDisplayTheme; corePackagesConfig?: TypeCorePackagesConfig; externalPackages?: TypeExternalPackages; - serviceUrls?: TypeServiceUrls; - globalSettings?: TypeGlobalSettings; - configMeta?: TypeConfigMeta; } ``` @@ -139,14 +141,15 @@ When writing or editing map configuration JSON files, properties **must** follow **`map` sub-property order:** -| Order | Property | Required | Purpose | -| ----- | -------------------------- | -------- | ----------------------------------- | -| 1 | `interaction` | **Yes** | Map interaction mode | -| 2 | `viewSettings` | **Yes** | Projection, zoom, center, rotation | -| 3 | `basemapOptions` | **Yes** | Basemap type and options | -| 4 | `highlightColor` | No | Feature highlight color overrides | -| 5 | `listOfGeoviewLayerConfig` | No | Layer definitions | -| 6 | `extraOptions` | No | Pass-through OpenLayers map options | +| Order | Property | Required | Purpose | +| ----- | -------------------------- | -------- | ------------------------------------ | +| 1 | `interaction` | **Yes** | Map interaction mode | +| 2 | `viewSettings` | **Yes** | Projection, zoom, center, rotation | +| 3 | `basemapOptions` | **Yes** | Basemap type and options | +| 4 | `highlightColor` | No | Feature highlight color overrides | +| 5 | `overlayObjects` | No | Non-interactive markers and overlays | +| 6 | `listOfGeoviewLayerConfig` | No | Layer definitions | +| 7 | `extraOptions` | No | Pass-through OpenLayers map options | > **Rationale:** The order mirrors the logical sequence of map configuration: _what kind of map_ → _what it shows_ → _how the UI wraps it_ → _what services back it_ → _what extends it_. @@ -157,61 +160,20 @@ Main map configuration object. ```typescript interface TypeMapConfig { // Required - basemapOptions: TypeBasemapOptions; interaction: TypeInteraction; viewSettings: TypeViewSettings; + basemapOptions: TypeBasemapOptions; // Optional - listOfGeoviewLayerConfig?: TypeListOfGeoviewLayerConfig; highlightColor?: TypeHighlightColors; overlayObjects?: TypeOverlayObjects; + listOfGeoviewLayerConfig?: TypeListOfGeoviewLayerConfig; extraOptions?: object; // OpenLayers map options } ``` ### Map Properties -#### basemapOptions (Required) - -Configuration for the basemap. - -```typescript -basemapOptions: { - basemapId: TypeBasemapId; - shaded: boolean; - labeled: boolean; - labelZIndex: number; -} -``` - -**Properties:** - -- **basemapId** (Required): Basemap identifier - - `"transport"` - Transportation basemap - - `"simple"` - Simple basemap - - `"shaded"` - Shaded relief basemap - - `"osm"` - OpenStreetMap basemap - - `"nogeom"` - No geometry/blank basemap - - `"imagery"` - Imagery/satellite basemap - - `"labeled"` - Labeled basemap - -- **shaded** (Required): Enable or disable shaded basemap (if basemap id is set to shaded then this should be false) -- **labeled** (Required): Enable or disable basemap labels -- **labelZIndex** (Optional): Used to set the zIndex of the basemap's label layer. A value of 10 will put it under the very first layer, so if you have two layers, you will need to set it to 12 or higher for it to be above all layers. Setting it to an arbitrarily large number, like 999, will work to ensure that it ends up above all the layers in the map. - -**Examples:** - -```json -"basemapOptions": { - "basemapId": "transport", - "shaded": true, - "labeled": true, - "labelZIndex": 20 -} -``` - ---- - #### interaction (Required) Map interaction mode. @@ -331,26 +293,43 @@ Using layerIds to focus on specific layers: --- -#### listOfGeoviewLayerConfig (Optional) +#### basemapOptions (Required) -Array of layer configurations to add to the map. +Configuration for the basemap. ```typescript -listOfGeoviewLayerConfig?: Array; +basemapOptions: { + basemapId: TypeBasemapId; + shaded: boolean; + labeled: boolean; + labelZIndex: number; +} ``` -See [GeoView Layer Configuration](#geoview-layer-configuration) section for details. +**Properties:** -**Example:** +- **basemapId** (Required): Basemap identifier + - `"transport"` - Transportation basemap + - `"simple"` - Simple basemap + - `"shaded"` - Shaded relief basemap + - `"osm"` - OpenStreetMap basemap + - `"nogeom"` - No geometry/blank basemap + - `"imagery"` - Imagery/satellite basemap + - `"labeled"` - Labeled basemap + +- **shaded** (Required): Enable or disable shaded basemap (if basemap id is set to shaded then this should be false) +- **labeled** (Required): Enable or disable basemap labels +- **labelZIndex** (Optional): Used to set the zIndex of the basemap's label layer. A value of 10 will put it under the very first layer, so if you have two layers, you will need to set it to 12 or higher for it to be above all layers. Setting it to an arbitrarily large number, like 999, will work to ensure that it ends up above all the layers in the map. + +**Examples:** ```json -"listOfGeoviewLayerConfig": [ - { - "geoviewLayerId": "wms-layer", - "geoviewLayerType": "ogcWms", - "metadataAccessPath": "https://example.com/wms" - } -] +"basemapOptions": { + "basemapId": "transport", + "shaded": true, + "labeled": true, + "labelZIndex": 20 +} ``` --- @@ -395,6 +374,30 @@ overlayObjects?: Array; --- +#### listOfGeoviewLayerConfig (Optional) + +Array of layer configurations to add to the map. + +```typescript +listOfGeoviewLayerConfig?: Array; +``` + +See [GeoView Layer Configuration](#geoview-layer-configuration) section for details. + +**Example:** + +```json +"listOfGeoviewLayerConfig": [ + { + "geoviewLayerId": "wms-layer", + "geoviewLayerType": "ogcWms", + "metadataAccessPath": "https://example.com/wms" + } +] +``` + +--- + #### extraOptions (Optional) Additional OpenLayers map options. @@ -415,11 +418,6 @@ extraOptions?: object; ```json "map": { - "basemapOptions": { - "basemapId": "transport", - "shaded": true, - "labeled": true - }, "interaction": "dynamic", "viewSettings": { "projection": 3978, @@ -430,6 +428,11 @@ extraOptions?: object; "maxZoom": 18, "enableRotation": false }, + "basemapOptions": { + "basemapId": "transport", + "shaded": true, + "labeled": true + }, "listOfGeoviewLayerConfig": [ { "geoviewLayerId": "my-layer", @@ -442,26 +445,57 @@ extraOptions?: object; --- -#### theme (Optional) +#### components (Optional) -Visual theme for the map interface. +Core UI components to initialize on viewer load. ```typescript -theme?: "dark" | "light" | "geo.ca"; +components?: Array<"overview-map" | "north-arrow">; ``` -**Valid Values:** +**Available Components:** -- `"dark"` - Dark theme -- `"light"` - Light theme -- `"geo.ca"` - Default Geo.ca theme +- `"overview-map"` - Small overview map showing the current view extent +- `"north-arrow"` - North arrow indicator on the map -**Default:** `"geo.ca"` +**Default:** `["overview-map", "north-arrow"]` **Example:** ```json -"theme": "dark" +"components": ["north-arrow"] +``` + +```json +"components": ["overview-map", "north-arrow"] +``` + +```json +"components": [] +``` + +--- + +#### overviewMap (Optional) + +Configuration for the overview map. + +```typescript +overviewMap?: { + hideOnZoom?: number; +}; +``` + +**Properties:** + +- `hideOnZoom` - Minimum zoom level at which the overview map is displayed (range: 0-10, default: 0) + +**Example:** + +```json +"overviewMap": { + "hideOnZoom": 5 +} ``` --- @@ -498,43 +532,42 @@ navBar?: Array<"zoom" | "rotation" | "fullscreen" | "home" | "location" | "basem --- -#### footerBar (Optional) +#### appBar (Optional) -Configuration for footer bar tabs. +Configuration for app bar tabs. ```typescript -footerBar?: { +appBar?: { tabs: { - core: TypeValidFooterBarTabsCoreProps[]; - custom: TypeFooterBarTabsCustomProps[]; + core: TypeValidAppBarCoreProps[]; }; - selectedTab: TypeValidFooterBarTabsCoreProps; + collapsed: boolean; + selectedTab: TypeValidAppBarCoreProps; selectedLayersLayerPath: string; selectedDataTableLayerPath: string; selectedTimeSliderLayerPath: string; }; -TypeValidFooterBarTabsCoreProps = "legend" | "layers" | "details" | "data-table" | "time-slider" | "geochart" | "guide"; - -TypeFooterBarTabsCustomProps = { - id: string; - label: string; - contentHTML: string; -}; +TypeValidAppBarCoreProps = "about-panel" | "geolocator" | "export" | "aoi-panel" | "custom-legend" | "guide" | "legend" | "details" | "data-table" | "layers" | "stac-browser"; ``` **Properties:** - **tabs** (Required): Tab configuration - **core** (Required): Array of core tab identifiers + - `"about-panel"` - **About Panel package** - Package for adding a panel with information about the map + - `"geolocator"` - Location search and navigation + - `"export"` - Map export functionality + - `"aoi-panel"` - **AOI Panel package** - Area of interest selection + - `"custom-legend"` - **Custom Legend package** - Custom legend display + - `"stac-broswer"` - **Custom Stac Browser package** - Browse Stac + - `"guide"` - User guide tab - `"legend"` - Layer legend display - - `"layers"` - Layer list and management - `"details"` - Feature details viewer - `"data-table"` - Tabular data view - - `"time-slider"` - **Time Slider package** - Temporal data controls - - `"geochart"` - **GeoChart package** - Chart visualization - - `"guide"` - User guide tab - - **custom**: Array of custom tab definitions + - `"layers"` - Layer list and management + +- **collapsed**: Whether the app bar is initially collapsed - **selectedTab**: The initially selected tab @@ -544,59 +577,61 @@ TypeFooterBarTabsCustomProps = { - **selectedTimeSliderLayerPath**: Layer path for time slider tab selection -**Default:** `{ tabs: { core: ["legend", "layers", "details", "data-table"], custom: [] }, collapsed: false }` +**Default:** `{ tabs: { core: ["geolocator"] }, collapsed: false }` **Example:** ```json -"footerBar": { +"appBar": { "tabs": { - "core": ["layers", "legend", "details", "time-slider", "geochart"], - "custom": [] + "core": ["about-panel", "geolocator", "export", "aoi-panel", "custom-legend"] }, - "selectedTab": "layers" + "collapsed": false, + "selectedTab": "geolocator" } ``` -> **Note:** The `"time-slider"` and `"geochart"` tabs require their respective packages to be configured. See [Time Slider Package](#time-slider-package) and [GeoChart Package](#geochart-package) configuration. +> **Note:** The `"aoi-panel"` tab requires the **aoi-panel package** to be configured. See [Area of Interest Panel Package](#area-of-interest-aoi-panel-package) configuration. --- -#### appBar (Optional) +#### footerBar (Optional) -Configuration for app bar tabs. +Configuration for footer bar tabs. ```typescript -appBar?: { +footerBar?: { tabs: { - core: TypeValidAppBarCoreProps[]; + core: TypeValidFooterBarTabsCoreProps[]; + custom: TypeFooterBarTabsCustomProps[]; }; - collapsed: boolean; - selectedTab: TypeValidAppBarCoreProps; + selectedTab: TypeValidFooterBarTabsCoreProps; selectedLayersLayerPath: string; selectedDataTableLayerPath: string; selectedTimeSliderLayerPath: string; }; -TypeValidAppBarCoreProps = "about-panel" | "geolocator" | "export" | "aoi-panel" | "custom-legend" | "guide" | "legend" | "details" | "data-table" | "layers"; +TypeValidFooterBarTabsCoreProps = "legend" | "layers" | "details" | "data-table" | "time-slider" | "geochart" | "guide"; + +TypeFooterBarTabsCustomProps = { + id: string; + label: string; + contentHTML: string; +}; ``` **Properties:** - **tabs** (Required): Tab configuration - **core** (Required): Array of core tab identifiers - - `"about-panel"` - **About Panel package** - Package for adding a panel with information about the map - - `"geolocator"` - Location search and navigation - - `"export"` - Map export functionality - - `"aoi-panel"` - **AOI Panel package** - Area of interest selection - - `"custom-legend"` - **Custom Legend package** - Custom legend display - - `"guide"` - User guide tab - `"legend"` - Layer legend display + - `"layers"` - Layer list and management - `"details"` - Feature details viewer - `"data-table"` - Tabular data view - - `"layers"` - Layer list and management - -- **collapsed**: Whether the app bar is initially collapsed + - `"time-slider"` - **Time Slider package** - Temporal data controls + - `"geochart"` - **GeoChart package** - Chart visualization + - `"guide"` - User guide tab + - **custom**: Array of custom tab definitions - **selectedTab**: The initially selected tab @@ -606,100 +641,156 @@ TypeValidAppBarCoreProps = "about-panel" | "geolocator" | "export" | "aoi-panel" - **selectedTimeSliderLayerPath**: Layer path for time slider tab selection -**Default:** `{ tabs: { core: ["geolocator"] }, collapsed: false }` +**Default:** `{ tabs: { core: ["legend", "layers", "details", "data-table"], custom: [] }, collapsed: false }` **Example:** ```json -"appBar": { +"footerBar": { "tabs": { - "core": ["about-panel", "geolocator", "export", "aoi-panel", "custom-legend"] + "core": ["layers", "legend", "details", "time-slider", "geochart"], + "custom": [] }, - "collapsed": false, - "selectedTab": "geolocator" + "selectedTab": "layers" } ``` -> **Note:** The `"aoi-panel"` tab requires the **aoi-panel package** to be configured. See [Area of Interest Panel Package](#area-of-interest-aoi-panel-package) configuration. +> **Note:** The `"time-slider"` and `"geochart"` tabs require their respective packages to be configured. See [Time Slider Package](#time-slider-package) and [GeoChart Package](#geochart-package) configuration. --- -#### overviewMap (Optional) +#### corePackages (Optional) -Configuration for the overview map. +List of core packages to load. ```typescript -overviewMap?: { - hideOnZoom?: number; -}; +corePackages?: Array<"swiper" | "test-suite">; ``` -**Properties:** +**Available Packages:** -- `hideOnZoom` - Minimum zoom level at which the overview map is displayed (range: 0-10, default: 0) +- `"swiper"` - Layer swipe comparison tool +- `"test-suite"` - GeoView test suite (for development/testing only) **Example:** ```json -"overviewMap": { - "hideOnZoom": 5 -} +"corePackages": ["swiper"] ``` +> **Note:** Other packages (GeoChart, Time Slider, AOI Panel, Drawer) are loaded through their respective tab configurations in `appBar`, `footerBar`, or `navBar`. + --- -#### components (Optional) +#### globalSettings (Optional) -Core UI components to initialize on viewer load. +Global settings for the map instance. ```typescript -components?: Array<"overview-map" | "north-arrow">; +globalSettings?: TypeGlobalSettings; + +TypeGlobalSettings = { + displayDateMode?: DisplayDateMode; + canRemoveSublayers?: boolean; + disabledLayerTypes?: TypeGeoviewLayerType[]; + showUnsymbolizedFeatures?: boolean; + coordinateInfoEnabled?: boolean; + hideCoordinateInfoSwitch?: boolean; +}; ``` -**Available Components:** +**Properties:** -- `"overview-map"` - Small overview map showing the current view extent -- `"north-arrow"` - North arrow indicator on the map +- **canRemoveSublayers** (Optional): Whether or not sublayers can be removed from layer groups + - **Type:** `boolean` + - **Default:** `true` -**Default:** `["overview-map", "north-arrow"]` +- **displayDateMode** (Optional): The display date pattern to use for the application + - **Type:** `DisplayDateMode` + - **Valid values:** `"iso"`, `"long"` + +- **disabledLayerTypes** (Optional): Array of layer types that should be disabled + - **Type:** `TypeGeoviewLayerType[]` + - **Valid values:** `"esriDynamic"`, `"esriFeature"`, `"esriImage"`, `"imageStatic"`, `"GeoJSON"`, `"GeoTIFF"`, `"xyzTiles"`, `"vectorTiles"`, `"ogcFeature"`, `"ogcWms"`, `"ogcWfs"`, `"ogcWmts"`, `"CSV"`, `"KML"`, `"WKB"` + +- **showUnsymbolizedFeatures** (Optional): Whether to display unsymbolized features in the datatable and other components + - **Type:** `boolean` + +- **showLayerHighlightLayerBbox** (Optional): Whether to display bbox when layer is highlighted + - **Type** `boolean` + +- **coordinateInfoEnabled** (Optional): Whether the initial state of the coordinate info tool should be enabled + - **Type:** `boolean` + +- **hideCoordinateInfoSwitch** (Optional): Whether the coordinate info tool should be removed from the UI + - **Type:** `boolean` **Example:** ```json -"components": ["north-arrow"] +"globalSettings": { + "canRemoveSublayers": true, + "disabledLayerTypes": ["ogcWfs", "CSV"], + "showUnsymbolizedFeatures": false, + "showLayerHighlightLayerBbox": true, + "coordinateInfoEnabled": true, + "hideCoordinateInfoSwitch": false, + "displayDateMode": "iso" +} ``` -```json -"components": ["overview-map", "north-arrow"] +--- + +#### serviceUrls (Optional) + +URLs for external services. + +```typescript +serviceUrls?: { + geocoreUrl?: string; + rcsUrl?: string; + proxyUrl?: string; + geolocatorUrl?: string; + metadataUrl?: string; + utmZoneUrl?: string; + ntsSheetUrl?: string; + altitudeUrl?: string; +}; ``` +**Example:** + ```json -"components": [] +"serviceUrls": { + "geolocatorUrl": "https://geolocator.api.geo.ca?keys=geonames,nominatim", + "geocoreUrl": "https://geocore.api.geo.ca" +} ``` --- -#### corePackages (Optional) +#### theme (Optional) -List of core packages to load. +Visual theme for the map interface. ```typescript -corePackages?: Array<"swiper" | "test-suite">; +theme?: "dark" | "light" | "geo.ca"; ``` -**Available Packages:** +**Valid Values:** -- `"swiper"` - Layer swipe comparison tool -- `"test-suite"` - GeoView test suite (for development/testing only) +- `"dark"` - Dark theme +- `"light"` - Light theme +- `"geo.ca"` - Default Geo.ca theme + +**Default:** `"geo.ca"` **Example:** ```json -"corePackages": ["swiper"] +"theme": "dark" ``` -> **Note:** Other packages (GeoChart, Time Slider, AOI Panel, Drawer) are loaded through their respective tab configurations in `appBar`, `footerBar`, or `navBar`. - --- #### corePackagesConfig (Optional) @@ -767,91 +858,6 @@ See package-specific sections ([Swiper](#swiper-package), [GeoChart](#geochart-p --- -#### serviceUrls (Optional) - -URLs for external services. - -```typescript -serviceUrls?: { - geocoreUrl?: string; - rcsUrl?: string; - proxyUrl?: string; - geolocatorUrl?: string; - metadataUrl?: string; - utmZoneUrl?: string; - ntsSheetUrl?: string; - altitudeUrl?: string; -}; -``` - -**Example:** - -```json -"serviceUrls": { - "geolocatorUrl": "https://geolocator.api.geo.ca?keys=geonames,nominatim", - "geocoreUrl": "https://geocore.api.geo.ca" -} -``` - ---- - -#### globalSettings (Optional) - -Global settings for the map instance. - -```typescript -globalSettings?: TypeGlobalSettings; - -TypeGlobalSettings = { - displayDateMode?: DisplayDateMode; - canRemoveSublayers?: boolean; - disabledLayerTypes?: TypeGeoviewLayerType[]; - showUnsymbolizedFeatures?: boolean; - coordinateInfoEnabled?: boolean; - hideCoordinateInfoSwitch?: boolean; -}; -``` - -**Properties:** - -- **canRemoveSublayers** (Optional): Whether or not sublayers can be removed from layer groups - - **Type:** `boolean` - - **Default:** `true` - -- **displayDateMode** (Optional): The display date pattern to use for the application - - **Type:** `DisplayDateMode` - -- **disabledLayerTypes** (Optional): Array of layer types that should be disabled - - **Type:** `TypeGeoviewLayerType[]` - - **Valid values:** `"esriDynamic"`, `"esriFeature"`, `"esriImage"`, `"imageStatic"`, `"GeoJSON"`, `"GeoTIFF"`, `"xyzTiles"`, `"vectorTiles"`, `"ogcFeature"`, `"ogcWms"`, `"ogcWfs"`, `"ogcWmts"`, `"CSV"`, `"KML"`, `"WKB"` - -- **showUnsymbolizedFeatures** (Optional): Whether to display unsymbolized features in the datatable and other components - - **Type:** `boolean` - -- **showLayerHighlightLayerBbox** (Optional): Whether to display bbox when layer is highlighted - - **Type** `boolean` - -- **coordinateInfoEnabled** (Optional): Whether the initial state of the coordinate info tool should be enabled - - **Type:** `boolean` - -- **hideCoordinateInfoSwitch** (Optional): Whether the coordinate info tool should be removed from the UI - - **Type:** `boolean` - -**Example:** - -```json -"globalSettings": { - "canRemoveSublayers": true, - "disabledLayerTypes": ["ogcWfs", "CSV"], - "showUnsymbolizedFeatures": false, - "showLayerHighlightLayerBbox": true, - "coordinateInfoEnabled": true, - "hideCoordinateInfoSwitch": false -} -``` - ---- - ## GeoView Layer Configuration The root configuration object for adding a layer to the map. diff --git a/packages/geoview-core/public/configs/OSDP/datasets/OSDP-metadata.meta b/packages/geoview-core/public/configs/OSDP/datasets/OSDP-metadata.meta index a34e6345bd1..474f5e12ea5 100644 --- a/packages/geoview-core/public/configs/OSDP/datasets/OSDP-metadata.meta +++ b/packages/geoview-core/public/configs/OSDP/datasets/OSDP-metadata.meta @@ -1,7 +1,4 @@ { - "configMeta": { - "version": "1.0" - }, "copyrightText": "© His Majesty the King in Right of Canada, as represented by the Minister of Natural Resources", "listOfLayerEntryConfig": [ { diff --git a/packages/geoview-core/public/configs/navigator/demos/09-basic-footer-layers-tab.json b/packages/geoview-core/public/configs/navigator/demos/09-basic-footer-layers-tab.json index 32c3bd58bab..3b224a42b10 100644 --- a/packages/geoview-core/public/configs/navigator/demos/09-basic-footer-layers-tab.json +++ b/packages/geoview-core/public/configs/navigator/demos/09-basic-footer-layers-tab.json @@ -1,6 +1,6 @@ { "configMeta": { - "description": "FooterBar with layers tab, overlay markers, intentional bad URL layer, and canRemoveSublayers disabled." + "description": "FooterBar with layers tab, overlay point markers, intentional bad URL layer, and canRemoveSublayers disabled." }, "map": { "interaction": "dynamic", @@ -12,6 +12,28 @@ "shaded": true, "labeled": true }, + "overlayObjects": { + "pointMarkers": { + "group1": [ + { + "id": "1", + "coordinate": [-100, 60], + "color": "blue", + "opacity": 0.5 + }, + { + "id": "2", + "coordinate": [-80, 65], + "color": "rgb(0, 226, 0)" + }, + { + "id": "3", + "coordinate": [-115, 66], + "color": "#C52022" + } + ] + } + }, "listOfGeoviewLayerConfig": [ { "geoviewLayerId": "airborne_radioactivity", @@ -118,59 +140,17 @@ } ] } - ], - "overlayObjects": { - "pointMarkers": { - "group1": [ - { - "id": "1", - "coordinate": [ - -100, - 60 - ], - "color": "blue", - "opacity": 0.5 - }, - { - "id": "2", - "coordinate": [ - -80, - 65 - ], - "color": "rgb(0, 226, 0)" - }, - { - "id": "3", - "coordinate": [ - -115, - 66 - ], - "color": "#C52022" - } - ] - } - } + ] }, - "components": [ - "north-arrow", - "overview-map" - ], + "components": ["north-arrow", "overview-map"], "appBar": { "tabs": { - "core": [ - "geolocator", - "export" - ] + "core": ["geolocator", "export"] } }, "footerBar": { "tabs": { - "core": [ - "legend", - "details", - "layers", - "data-table" - ] + "core": ["legend", "details", "layers", "data-table"] }, "selectedTab": "layers", "selectedLayersLayerPath": "airborne_radioactivity/1" diff --git a/packages/geoview-core/public/configs/navigator/demos/12-package-time-slider-custom.json b/packages/geoview-core/public/configs/navigator/demos/12-package-time-slider-custom.json index 14c2d787e2d..4cb614c51db 100644 --- a/packages/geoview-core/public/configs/navigator/demos/12-package-time-slider-custom.json +++ b/packages/geoview-core/public/configs/navigator/demos/12-package-time-slider-custom.json @@ -120,9 +120,6 @@ "selectedTimeSliderLayerPath": "wmsLYR1-spatiotemporel/RADAR_1KM_RSNO" }, "corePackages": [], - "globalSettings": { - "displayDateMode": "iso" - }, "theme": "geo.ca", "corePackagesConfig": [ { diff --git a/packages/geoview-core/public/configs/navigator/demos/19-global-settings.json b/packages/geoview-core/public/configs/navigator/demos/19-global-settings.json index deb5761d195..dd0b57afcd6 100644 --- a/packages/geoview-core/public/configs/navigator/demos/19-global-settings.json +++ b/packages/geoview-core/public/configs/navigator/demos/19-global-settings.json @@ -1,6 +1,6 @@ { "configMeta": { - "description": "globalSettings with canRemoveSublayers, disabledLayerTypes, showUnsymbolizedFeatures (visible in data table for permafrost features with no style), highlightLayer with no bbox, and hideCoordinateInfoSwitch that removes coordinate info from the details panel." + "description": "globalSettings with canRemoveSublayers, disabledLayerTypes, showUnsymbolizedFeatures (visible in data table for permafrost features with no style), highlightLayer with no bbox, displayDateMode ISO and hideCoordinateInfoSwitch that removes coordinate info from the details panel." }, "map": { "interaction": "dynamic", @@ -13,6 +13,17 @@ "labeled": true }, "listOfGeoviewLayerConfig": [ + { + "geoviewLayerId": "historical-flood", + "geoviewLayerName": "Historical Flood Events (HFE)", + "metadataAccessPath": "https://maps-cartes.services.geo.ca/server_serveur/rest/services/NRCan/historical_flood_event_en/MapServer", + "geoviewLayerType": "esriFeature", + "listOfLayerEntryConfig": [ + { + "layerId": "0" + } + ] + }, { "geoviewLayerId": "4baa66ad-aa29-4233-a6a8-7f5cbefb5ea8", "geoviewLayerType": "geoCore" @@ -86,7 +97,8 @@ "tabs": { "core": [ "layers", - "data-table" + "data-table", + "time-slider" ] }, "selectedTab": "layers" @@ -112,7 +124,8 @@ "showUnsymbolizedFeatures": true, "showLayerHighlightLayerBbox": false, "coordinateInfoEnabled": true, - "hideCoordinateInfoSwitch": true + "hideCoordinateInfoSwitch": true, + "displayDateMode": "iso" }, "theme": "geo.ca" } diff --git a/packages/geoview-core/public/configs/navigator/layers/all-layers.json b/packages/geoview-core/public/configs/navigator/layers/all-layers.json index 73fd65f1cd0..5d4aef0e024 100644 --- a/packages/geoview-core/public/configs/navigator/layers/all-layers.json +++ b/packages/geoview-core/public/configs/navigator/layers/all-layers.json @@ -46,6 +46,12 @@ } ] }, + { + "geoviewLayerId": "shpLYR1", + "geoviewLayerName": "Crown lands - Shapefile", + "geoviewLayerType": "shapefile", + "metadataAccessPath": "./datasets/shapefiles/PLAN_CrownHarvestPlans_SHP_UT83.zip" + }, { "geoviewLayerId": "csvLYR1", "geoviewLayerName": "NPRI - CSV", @@ -63,7 +69,7 @@ }, { "geoviewLayerId": "esriDynamicLYR1", - "geoviewLayerName": "Forest Industry - esriDynamic", + "geoviewLayerName": "Forest Industry - Annotation esriDynamic", "metadataAccessPath": "https://geoappext.nrcan.gc.ca/arcgis/rest/services/FGP/TE/MapServer", "geoviewLayerType": "esriDynamic", "listOfLayerEntryConfig": [ diff --git a/packages/geoview-core/public/datasets/geojson/metadata-blank.meta b/packages/geoview-core/public/datasets/geojson/metadata-blank.meta index e80792b50e5..78a54025eae 100644 --- a/packages/geoview-core/public/datasets/geojson/metadata-blank.meta +++ b/packages/geoview-core/public/datasets/geojson/metadata-blank.meta @@ -1,7 +1,4 @@ { - "configMeta": { - "version": "1.0" - }, "copyrightText": "© His Majesty the King in Right of Canada, as represented by the Minister of Natural Resources", "listOfLayerEntryConfig": [ { diff --git a/packages/geoview-core/public/datasets/geojson/metadata.json b/packages/geoview-core/public/datasets/geojson/metadata.json index 3e82d7d9dc3..87d1ebc9b47 100644 --- a/packages/geoview-core/public/datasets/geojson/metadata.json +++ b/packages/geoview-core/public/datasets/geojson/metadata.json @@ -1,7 +1,4 @@ { - "configMeta": { - "version": "1.0" - }, "copyrightText": "© His Majesty the King in Right of Canada, as represented by the Minister of Natural Resources", "listOfLayerEntryConfig": [ { diff --git a/packages/geoview-core/public/datasets/geojson/metadata.meta b/packages/geoview-core/public/datasets/geojson/metadata.meta index ddb19f4f596..f78d372c7ef 100644 --- a/packages/geoview-core/public/datasets/geojson/metadata.meta +++ b/packages/geoview-core/public/datasets/geojson/metadata.meta @@ -1,7 +1,4 @@ { - "configMeta": { - "version": "1.0" - }, "copyrightText": "© His Majesty the King in Right of Canada, as represented by the Minister of Natural Resources", "listOfLayerEntryConfig": [ { diff --git a/packages/geoview-core/public/datasets/geojson/metadata1.meta b/packages/geoview-core/public/datasets/geojson/metadata1.meta index 81522238831..9bf3c3ad850 100644 --- a/packages/geoview-core/public/datasets/geojson/metadata1.meta +++ b/packages/geoview-core/public/datasets/geojson/metadata1.meta @@ -1,7 +1,4 @@ { - "configMeta": { - "version": "1.0" - }, "copyrightText": "© His Majesty the King in Right of Canada, as represented by the Minister of Natural Resources", "listOfLayerEntryConfig": [ { diff --git a/packages/geoview-core/public/templates/sandbox.html b/packages/geoview-core/public/templates/sandbox.html index 19f01726f40..e9161deda88 100644 --- a/packages/geoview-core/public/templates/sandbox.html +++ b/packages/geoview-core/public/templates/sandbox.html @@ -54,18 +54,19 @@

    Interactive Sandbox

    }] }, 'components': ['overview-map', 'north-arrow'], - 'footerBar': { + 'navBar': ['zoom', 'rotation', 'fullscreen', 'home', 'location', 'measurement', 'basemap-select', 'projection'], + 'appBar': { 'tabs': { - 'core': ['layers', 'data-table', 'geochart'] + 'core': ['legend', 'details', 'geolocator', 'export'] } }, - 'appBar': { + 'footerBar': { 'tabs': { - 'core': ['legend', 'details', 'geolocator', 'export'] + 'core': ['layers', 'data-table', 'geochart'] } }, - "navBar": ["zoom", "rotation", "fullscreen", "home", "location", "measurement", "basemap-select", "projection"], 'corePackages': [], + 'theme': 'geo.ca', 'corePackagesConfig':[ { 'geochart': { 'charts': [ @@ -123,8 +124,7 @@

    Interactive Sandbox

    } ]} } - ], - 'theme': 'geo.ca' + ] } @@ -163,6 +163,17 @@

    Sandbox Map

    This map loads its configuration from the text area above.

    +
    +

    + For more information about how to configure GeoView, see the + Configuration Reference. +

    +
    +
    @@ -529,6 +540,7 @@

    Map with Point Markers (Projected Coordinates):

    
     {
       "map": {
    +    "interaction": "dynamic",
         "overlayObjects": {
           "pointMarkers": {
             "locations": [
    @@ -549,7 +561,6 @@ 

    Map with Point Markers (Projected Coordinates):

    ] } }, - "interaction": "dynamic", ... other map settings ... } } @@ -558,6 +569,7 @@

    Multiple Marker Groups:

    
     {
       "map": {
    +    "interaction": "dynamic",
         "overlayObjects": {
           "pointMarkers": {
             "cities": [
    @@ -577,7 +589,6 @@ 

    Multiple Marker Groups:

    ] } }, - "interaction": "dynamic", ... other map settings ... } } @@ -715,6 +726,10 @@
    Available Options:

    Basic UI Configuration:

    
     {
    +  "components": ["north-arrow", "overview-map"],
    +  "overviewMap": {
    +    "hideOnZoom": 0
    +  },
       "navBar": ["zoom", "fullscreen", "home", "basemap-select"],
       "appBar": {
         "tabs": {
    @@ -726,16 +741,13 @@ 

    Basic UI Configuration:

    "core": ["legend", "layers", "details", "data-table"], "custom": [] } - }, - "components": ["north-arrow", "overview-map"], - "overviewMap": { - "hideOnZoom": 0 } }

    Minimal UI (No Nav Bar, Limited Panels):

    
     {
    +  "components": [],
       "navBar": [],
       "appBar": {
         "tabs": {
    @@ -747,13 +759,16 @@ 

    Minimal UI (No Nav Bar, Limited Panels):

    "core": ["legend"], "custom": [] } - }, - "components": [] + } }

    Full-Featured UI:

    
     {
    +  "components": ["overview-map", "north-arrow"],
    +  "overviewMap": {
    +    "hideOnZoom": 10
    +  },
       "navBar": ["zoom", "fullscreen", "home", "location", "basemap-select", "projection", "drawer"],
       "appBar": {
         "tabs": {
    @@ -767,10 +782,6 @@ 

    Full-Featured UI:

    "custom": [] }, "selectedTab": "legend" - }, - "components": ["overview-map", "north-arrow"], - "overviewMap": { - "hideOnZoom": 10 } }
    @@ -795,6 +806,7 @@

    Custom Footer Bar Tab:

    App Bar with Specific Tools:

    
     {
    +  "components": ["north-arrow"],
       "navBar": ["zoom", "home"],
       "appBar": {
         "tabs": {
    @@ -802,7 +814,6 @@ 

    App Bar with Specific Tools:

    }, "selectedTab": "layers" }, - "components": ["north-arrow"] }
    @@ -955,7 +966,10 @@
    Available Options:
    Basic Configuration with Default Service URLs:
    
     {
    -  "theme": "geo.ca",
    +  "configMeta": {
    +    "version": "1.0"
    +  },
    +  ... other settings ...
       "serviceUrls": {
         "geocoreUrl": "https://geocore.api.geo.ca",
         "rcsUrl": "https://gcgeo.gc.ca/geonetwork/srv/api/v2/docs",
    @@ -965,18 +979,16 @@ 
    Basic Configuration with Default Service URLs:
    "ntsSheetUrl": "https://geogratis.gc.ca/services/delimitation/en/nts", "altitudeUrl": "https://geogratis.gc.ca/services/elevation/cdem/altitude" }, - "configMeta": { - "version": "1.0" - } + "theme": "geo.ca" }

    Dark Theme Configuration:

    
     {
    -  "theme": "dark",
       "serviceUrls": {
         "geocoreUrl": "https://geocore.api.geo.ca"
    -  }
    +  },
    +  "theme": "dark"
     }
                 

    Global Settings Configuration:

    @@ -998,7 +1010,18 @@

    Global Settings Configuration:

    Complete Configuration:

    
     {
    -  "theme": "geo.ca",
    +  "configMeta": {
    +    "version": "1.0"
    +  },
    +  ... other settings ...
    +  "globalSettings": {
    +    "canRemoveSublayers": true,
    +    "disabledLayerTypes": [],
    +    "showUnsymbolizedFeatures": false,
    +    "showLayerHighlightLayerBbox": true,
    +    "coordinateInfoEnabled": true,
    +    "hideCoordinateInfoSwitch": false
    +  },
       "serviceUrls": {
         "geocoreUrl": "https://geocore.api.geo.ca",
         "rcsUrl": "https://gcgeo.gc.ca/geonetwork/srv/api/v2/docs",
    @@ -1009,17 +1032,7 @@ 

    Complete Configuration:

    "ntsSheetUrl": "https://geogratis.gc.ca/services/delimitation/en/nts", "altitudeUrl": "https://geogratis.gc.ca/services/elevation/cdem/altitude" }, - "globalSettings": { - "canRemoveSublayers": true, - "disabledLayerTypes": [], - "showUnsymbolizedFeatures": false, - "showLayerHighlightLayerBbox": true, - "coordinateInfoEnabled": true, - "hideCoordinateInfoSwitch": false - }, - "configMeta": { - "version": "1.0" - } + "theme": "geo.ca" }
    diff --git a/packages/geoview-core/schema-default-config.json b/packages/geoview-core/schema-default-config.json index 7ce07df687a..47ad3047fd8 100644 --- a/packages/geoview-core/schema-default-config.json +++ b/packages/geoview-core/schema-default-config.json @@ -14,6 +14,7 @@ "labeled": true }, "highlightColor": "", + "overlayObjects": {}, "listOfGeoviewLayerConfig": [] }, "components": ["overview-map", "north-arrow"], From be0bb77591c3ac221edb9171e31b73440289ba98 Mon Sep 17 00:00:00 2001 From: Johann Levesque Date: Wed, 3 Jun 2026 13:36:28 -0400 Subject: [PATCH 5/9] remove domain null --- .../configs/OSDP/datasets/OSDP-metadata.meta | 3 +- .../demos/08-all-layer-zoom-levels.json | 3 +- .../demos/20-export-map-large-legend.json | 6 +- .../navigator/demos/23-initial-settings.json | 18 +-- .../23d-initial-settings-layer-config.json | 15 +- .../demos/24-configured-feature-labels.json | 15 +- .../configs/navigator/layers/all-layers.json | 3 +- .../datasets/geojson/hydro-metadata.meta | 117 +++++--------- .../datasets/geojson/metadata-blank.meta | 12 +- .../public/datasets/geojson/metadata.json | 70 ++++----- .../public/datasets/geojson/metadata.meta | 145 +++++++----------- .../public/datasets/geojson/metadata1.meta | 10 +- ...ta_genericBlank_featureInfo5_20250217.meta | 12 +- .../datasets/geojson/processes-metadata.meta | 22 +-- .../templates/demos/demo-world-of-maps.html | 18 +-- packages/geoview-core/schema.json | 2 +- 16 files changed, 189 insertions(+), 282 deletions(-) diff --git a/packages/geoview-core/public/configs/OSDP/datasets/OSDP-metadata.meta b/packages/geoview-core/public/configs/OSDP/datasets/OSDP-metadata.meta index 474f5e12ea5..15444741675 100644 --- a/packages/geoview-core/public/configs/OSDP/datasets/OSDP-metadata.meta +++ b/packages/geoview-core/public/configs/OSDP/datasets/OSDP-metadata.meta @@ -12,8 +12,7 @@ { "name": "Titre", "alias": "Titre", - "type": "string", - "domain": [] + "type": "string" } ] } diff --git a/packages/geoview-core/public/configs/navigator/demos/08-all-layer-zoom-levels.json b/packages/geoview-core/public/configs/navigator/demos/08-all-layer-zoom-levels.json index b43190345fd..d8c814c4be4 100644 --- a/packages/geoview-core/public/configs/navigator/demos/08-all-layer-zoom-levels.json +++ b/packages/geoview-core/public/configs/navigator/demos/08-all-layer-zoom-levels.json @@ -222,8 +222,7 @@ { "name": "band-0-pixel-value", "alias": "Pixel value", - "type": "number", - "domain": null + "type": "number" } ] } diff --git a/packages/geoview-core/public/configs/navigator/demos/20-export-map-large-legend.json b/packages/geoview-core/public/configs/navigator/demos/20-export-map-large-legend.json index 503fcfa595b..8d9fb79bb49 100644 --- a/packages/geoview-core/public/configs/navigator/demos/20-export-map-large-legend.json +++ b/packages/geoview-core/public/configs/navigator/demos/20-export-map-large-legend.json @@ -109,8 +109,7 @@ { "name": "plain_text", "alias": "Forcast", - "type": "string", - "domain": null + "type": "string" } ] } @@ -145,8 +144,7 @@ { "name": "band-0-pixel-value", "alias": "Pixel value", - "type": "number", - "domain": null + "type": "number" } ] } diff --git a/packages/geoview-core/public/configs/navigator/demos/23-initial-settings.json b/packages/geoview-core/public/configs/navigator/demos/23-initial-settings.json index 9e2ec411298..59d634f11cc 100644 --- a/packages/geoview-core/public/configs/navigator/demos/23-initial-settings.json +++ b/packages/geoview-core/public/configs/navigator/demos/23-initial-settings.json @@ -131,8 +131,7 @@ { "name": "band-0-pixel-value", "alias": "Pixel value", - "type": "number", - "domain": null + "type": "number" } ] } @@ -156,32 +155,27 @@ { "name": "Venue", "alias": "Venue Set", - "type": "string", - "domain": null + "type": "string" }, { "name": "Event", "alias": "Event Set", - "type": "string", - "domain": null + "type": "string" }, { "name": "Tour", "alias": "Tour Set", - "type": "string", - "domain": null + "type": "string" }, { "name": "City", "alias": "City Set", - "type": "string", - "domain": null + "type": "string" }, { "name": "Date", "alias": "Date Set", - "type": "date", - "domain": null + "type": "date" } ] } diff --git a/packages/geoview-core/public/configs/navigator/demos/23d-initial-settings-layer-config.json b/packages/geoview-core/public/configs/navigator/demos/23d-initial-settings-layer-config.json index 3203e0dd2e2..2f9595da5a7 100644 --- a/packages/geoview-core/public/configs/navigator/demos/23d-initial-settings-layer-config.json +++ b/packages/geoview-core/public/configs/navigator/demos/23d-initial-settings-layer-config.json @@ -67,8 +67,7 @@ { "name": "band-0-pixel-value", "alias": "Pixel value", - "type": "number", - "domain": null + "type": "number" } ] } @@ -92,14 +91,12 @@ { "name": "Venue", "alias": "Venue Set", - "type": "string", - "domain": null + "type": "string" }, { "name": "Event", "alias": "Event Set", - "type": "string", - "domain": null + "type": "string" }, { "name": "Tour", @@ -144,14 +141,12 @@ { "name": "City", "alias": "City Set", - "type": "string", - "domain": null + "type": "string" }, { "name": "Date", "alias": "Date Set", - "type": "date", - "domain": null + "type": "date" } ] } diff --git a/packages/geoview-core/public/configs/navigator/demos/24-configured-feature-labels.json b/packages/geoview-core/public/configs/navigator/demos/24-configured-feature-labels.json index ee8b7f0d1f7..c9e925718d8 100644 --- a/packages/geoview-core/public/configs/navigator/demos/24-configured-feature-labels.json +++ b/packages/geoview-core/public/configs/navigator/demos/24-configured-feature-labels.json @@ -85,32 +85,27 @@ { "name": "Venue", "alias": "Venue", - "type": "string", - "domain": null + "type": "string" }, { "name": "Event", "alias": "Event", - "type": "string", - "domain": null + "type": "string" }, { "name": "Tour", "alias": "Tour", - "type": "string", - "domain": null + "type": "string" }, { "name": "City", "alias": "City", - "type": "string", - "domain": null + "type": "string" }, { "name": "Date", "alias": "Date", - "type": "date", - "domain": null + "type": "date" } ] } diff --git a/packages/geoview-core/public/configs/navigator/layers/all-layers.json b/packages/geoview-core/public/configs/navigator/layers/all-layers.json index 5d4aef0e024..c243c5fe3a3 100644 --- a/packages/geoview-core/public/configs/navigator/layers/all-layers.json +++ b/packages/geoview-core/public/configs/navigator/layers/all-layers.json @@ -201,8 +201,7 @@ { "name": "band-0-pixel-value", "alias": "Pixel value", - "type": "number", - "domain": null + "type": "number" } ] } diff --git a/packages/geoview-core/public/datasets/geojson/hydro-metadata.meta b/packages/geoview-core/public/datasets/geojson/hydro-metadata.meta index fba2da1b916..7b7ad11cc0f 100644 --- a/packages/geoview-core/public/datasets/geojson/hydro-metadata.meta +++ b/packages/geoview-core/public/datasets/geojson/hydro-metadata.meta @@ -27,236 +27,197 @@ { "name": "feature_date", "alias": "feature_date", - "type": "string", - "domain": [] + "type": "string" }, { "name": "groupe_id", "alias": "groupe_id", - "type": "number", - "domain": [] + "type": "number" }, { "name": "hydrosequence_id", "alias": "hydrosequence_id", - "type": "number", - "domain": [] + "type": "number" }, { "name": "level_path_id", "alias": "level_path_id", - "type": "number", - "domain": [] + "type": "number" }, { "name": "slope", "alias": "slope", - "type": "number", - "domain": [] + "type": "number" }, { "name": "fid", "alias": "fid", - "type": "number", - "domain": [] + "type": "number" }, { "name": "feature_type", "alias": "feature_type", - "type": "number", - "domain": [] + "type": "number" }, { "name": "name_id", "alias": "name_id", - "type": "number", - "domain": [] + "type": "number" }, { "name": "shreve_order", "alias": "shreve_order", - "type": "number", - "domain": [] + "type": "number" }, { "name": "downstream_main_path_hydro_seq", "alias": "downstream_main_path_hydro_seq", - "type": "number", - "domain": [] + "type": "number" }, { "name": "feature_id", "alias": "feature_id", - "type": "number", - "domain": [] + "type": "number" }, { "name": "feature_type_en", "alias": "feature_type_en", - "type": "string", - "domain": [] + "type": "string" }, { "name": "name_en", "alias": "name_en", - "type": "string", - "domain": [] + "type": "string" }, { "name": "strahler_order", "alias": "strahler_order", - "type": "number", - "domain": [] + "type": "number" }, { "name": "downstream_minor_path_hydro_seq", "alias": "downstream_minor_path_hydro_seq", - "type": "number", - "domain": [] + "type": "number" }, { "name": "md_id", "alias": "dmd_id", - "type": "string", - "domain": [] + "type": "string" }, { "name": "feature_type_fr", "alias": "feature_type_fr", - "type": "string", - "domain": [] + "type": "string" }, { "name": "name_fr", "alias": "name_fr", - "type": "string", - "domain": [] + "type": "string" }, { "name": "from_node", "alias": "from_node", - "type": "number", - "domain": [] + "type": "number" }, { "name": "start_flag", "alias": "start_flag", - "type": "number", - "domain": [] + "type": "number" }, { "name": "code_spec", "alias": "code_spec", - "type": "number", - "domain": [] + "type": "number" }, { "name": "permanency", "alias": "permanency", - "type": "number", - "domain": [] + "type": "number" }, { "name": "flow_priority", "alias": "flow_priority", - "type": "number", - "domain": [] + "type": "number" }, { "name": "to_node", "alias": "to_node", - "type": "number", - "domain": [] + "type": "number" }, { "name": "terminal_flag", "alias": "terminal_flag", - "type": "number", - "domain": [] + "type": "number" }, { "name": "mainstemid", "alias": "mainstemid", - "type": "number", - "domain": [] + "type": "number" }, { "name": "isolated", "alias": "isolated", - "type": "number", - "domain": [] + "type": "number" }, { "name": "flow_direction", "alias": "flow_direction", - "type": "number", - "domain": [] + "type": "number" }, { "name": "comid", "alias": "comid", - "type": "number", - "domain": [] + "type": "number" }, { "name": "divergence", "alias": "divergence", - "type": "number", - "domain": [] + "type": "number" }, { "name": "work_unit_code", "alias": "work_unit_code", - "type": "string", - "domain": [] + "type": "string" }, { "name": "in_isolated_network", "alias": "in_isolated_network", - "type": "number", - "domain": [] + "type": "number" }, { "name": "hack_order", "alias": "hack_order", - "type": "number", - "domain": [] + "type": "number" }, { "name": "tocomid", "alias": "tocomid", - "type": "number", - "domain": [] + "type": "number" }, { "name": "length_km", "alias": "length_km", - "type": "number", - "domain": [] + "type": "number" }, { "name": "drainage_area_code", "alias": "drainage_area_code", - "type": "string", - "domain": [] + "type": "string" }, { "name": "in_network", "alias": "in_network", - "type": "number", - "domain": [] + "type": "number" }, { "name": "horton_order", "alias": "horton_order", - "type": "number", - "domain": [] + "type": "number" }, { "name": "terminal_path_id", "alias": "terminal_path_id", - "type": "number", - "domain": [] + "type": "number" } ] } diff --git a/packages/geoview-core/public/datasets/geojson/metadata-blank.meta b/packages/geoview-core/public/datasets/geojson/metadata-blank.meta index 78a54025eae..287f527963a 100644 --- a/packages/geoview-core/public/datasets/geojson/metadata-blank.meta +++ b/packages/geoview-core/public/datasets/geojson/metadata-blank.meta @@ -9,12 +9,12 @@ "queryable": true, "nameField": "Red", "outfields": [ - { "name": "Red", "alias": "Red", "type": "number", "domain": null }, - { "name": "Green", "alias": "Green", "type": "number", "domain": null }, - { "name": "Blue", "alias": "Blue", "type": "number", "domain": null }, - { "name": "Yellow", "alias": "Yellow", "type": "number", "domain": null }, - { "name": "Orange", "alias": "Orange", "type": "number", "domain": null }, - { "name": "creationDate", "alias": "Creation Date", "type": "date", "domain": null } + { "name": "Red", "alias": "Red", "type": "number" }, + { "name": "Green", "alias": "Green", "type": "number" }, + { "name": "Blue", "alias": "Blue", "type": "number" }, + { "name": "Yellow", "alias": "Yellow", "type": "number" }, + { "name": "Orange", "alias": "Orange", "type": "number" }, + { "name": "creationDate", "alias": "Creation Date", "type": "date" } ] } }, diff --git a/packages/geoview-core/public/datasets/geojson/metadata.json b/packages/geoview-core/public/datasets/geojson/metadata.json index 87d1ebc9b47..6ce7905c00b 100644 --- a/packages/geoview-core/public/datasets/geojson/metadata.json +++ b/packages/geoview-core/public/datasets/geojson/metadata.json @@ -9,9 +9,9 @@ "queryable": true, "nameField": "Province", "outfields": [ - { "name": "Province", "alias": "Province", "type": "string", "domain": null }, - { "name": "creationDate", "alias": "Creation Date", "type": "date", "domain": null }, - { "name": "myImages", "alias": "My Images", "type": "string", "domain": null } + { "name": "Province", "alias": "Province", "type": "string" }, + { "name": "creationDate", "alias": "Creation Date", "type": "date" }, + { "name": "myImages", "alias": "My Images", "type": "string" } ] } }, @@ -81,8 +81,8 @@ "queryable": true, "nameField": "Province", "outfields": [ - { "name": "Province", "alias": "Province", "type": "string", "domain": null }, - { "name": "creationDate", "alias": "Creation Date", "type": "number", "domain": null } + { "name": "Province", "alias": "Province", "type": "string" }, + { "name": "creationDate", "alias": "Creation Date", "type": "number" } ] } }, @@ -120,9 +120,9 @@ "queryable": false, "nameField": "Road_Number", "outfields": [ - { "name": "Road_Number", "alias": "Road Number", "type": "number", "domain": null }, - { "name": "Province", "alias": "Province", "type": "string", "domain": null }, - { "name": "creationDate", "alias": "Creation Date", "type": "date", "domain": null } + { "name": "Road_Number", "alias": "Road Number", "type": "number" }, + { "name": "Province", "alias": "Province", "type": "string" }, + { "name": "creationDate", "alias": "Creation Date", "type": "date" } ] } }, @@ -156,9 +156,9 @@ "queryable": true, "nameField": "data", "outfields": [ - { "name": "data", "alias": "data", "type": "string", "domain": null }, - { "name": "label", "alias": "label", "type": "string", "domain": null }, - { "name": "creationDate", "alias": "Creation Date", "type": "number", "domain": null } + { "name": "data", "alias": "data", "type": "string" }, + { "name": "label", "alias": "label", "type": "string" }, + { "name": "creationDate", "alias": "Creation Date", "type": "number" } ] } }, @@ -191,12 +191,12 @@ "queryable": false, "nameField": "Red", "outfields": [ - { "name": "Red", "alias": "Red", "type": "number", "domain": null }, - { "name": "Green", "alias": "Green", "type": "number", "domain": null }, - { "name": "Blue", "alias": "Blue", "type": "number", "domain": null }, - { "name": "Yellow", "alias": "Yellow", "type": "number", "domain": null }, - { "name": "Orange", "alias": "Orange", "type": "number", "domain": null }, - { "name": "creationDate", "alias": "Creation Date", "type": "date", "domain": null } + { "name": "Red", "alias": "Red", "type": "number" }, + { "name": "Green", "alias": "Green", "type": "number" }, + { "name": "Blue", "alias": "Blue", "type": "number" }, + { "name": "Yellow", "alias": "Yellow", "type": "number" }, + { "name": "Orange", "alias": "Orange", "type": "number" }, + { "name": "creationDate", "alias": "Creation Date", "type": "date" } ] } }, @@ -227,12 +227,12 @@ "queryable": true, "nameField": "Red", "outfields": [ - { "name": "Red", "alias": "Red", "type": "number", "domain": null }, - { "name": "Green", "alias": "Green", "type": "number", "domain": null }, - { "name": "Blue", "alias": "Blue", "type": "number", "domain": null }, - { "name": "Yellow", "alias": "Yellow", "type": "number", "domain": null }, - { "name": "Orange", "alias": "Orange", "type": "number", "domain": null }, - { "name": "creationDate", "alias": "Creation Date", "type": "date", "domain": null } + { "name": "Red", "alias": "Red", "type": "number" }, + { "name": "Green", "alias": "Green", "type": "number" }, + { "name": "Blue", "alias": "Blue", "type": "number" }, + { "name": "Yellow", "alias": "Yellow", "type": "number" }, + { "name": "Orange", "alias": "Orange", "type": "number" }, + { "name": "creationDate", "alias": "Creation Date", "type": "date" } ] } }, @@ -263,12 +263,12 @@ "queryable": true, "nameField": "Red", "outfields": [ - { "name": "Red", "alias": "Red", "type": "number", "domain": null }, - { "name": "Green", "alias": "Green", "type": "number", "domain": null }, - { "name": "Blue", "alias": "Blue", "type": "number", "domain": null }, - { "name": "Yellow", "alias": "Yellow", "type": "number", "domain": null }, - { "name": "Orange", "alias": "Orange", "type": "number", "domain": null }, - { "name": "creationDate", "alias": "Creation Date", "type": "date", "domain": null } + { "name": "Red", "alias": "Red", "type": "number" }, + { "name": "Green", "alias": "Green", "type": "number" }, + { "name": "Blue", "alias": "Blue", "type": "number" }, + { "name": "Yellow", "alias": "Yellow", "type": "number" }, + { "name": "Orange", "alias": "Orange", "type": "number" }, + { "name": "creationDate", "alias": "Creation Date", "type": "date" } ] } }, @@ -299,12 +299,12 @@ "queryable": false, "nameField": "Red", "outfields": [ - { "name": "Red", "alias": "Red", "type": "number", "domain": null }, - { "name": "Green", "alias": "Green", "type": "number", "domain": null }, - { "name": "Blue", "alias": "Blue", "type": "number", "domain": null }, - { "name": "Yellow", "alias": "Yellow", "type": "number", "domain": null }, - { "name": "Orange", "alias": "Orange", "type": "number", "domain": null }, - { "name": "creationDate", "alias": "Creation Date", "type": "date", "domain": null } + { "name": "Red", "alias": "Red", "type": "number" }, + { "name": "Green", "alias": "Green", "type": "number" }, + { "name": "Blue", "alias": "Blue", "type": "number" }, + { "name": "Yellow", "alias": "Yellow", "type": "number" }, + { "name": "Orange", "alias": "Orange", "type": "number" }, + { "name": "creationDate", "alias": "Creation Date", "type": "date" } ] } }, diff --git a/packages/geoview-core/public/datasets/geojson/metadata.meta b/packages/geoview-core/public/datasets/geojson/metadata.meta index f78d372c7ef..a7a09ae9774 100644 --- a/packages/geoview-core/public/datasets/geojson/metadata.meta +++ b/packages/geoview-core/public/datasets/geojson/metadata.meta @@ -9,9 +9,9 @@ "queryable": true, "nameField": "Province", "outfields": [ - { "name": "Province", "alias": "Province", "type": "string", "domain": null }, - { "name": "creationDate", "alias": "Creation Date", "type": "date", "domain": null }, - { "name": "myImages", "alias": "My Images", "type": "string", "domain": null } + { "name": "Province", "alias": "Province", "type": "string" }, + { "name": "creationDate", "alias": "Creation Date", "type": "date" }, + { "name": "myImages", "alias": "My Images", "type": "string" } ] } }, @@ -81,8 +81,8 @@ "queryable": true, "nameField": "Province", "outfields": [ - { "name": "Province", "alias": "Province", "type": "string", "domain": null }, - { "name": "creationDate", "alias": "Creation Date", "type": "number", "domain": null } + { "name": "Province", "alias": "Province", "type": "string" }, + { "name": "creationDate", "alias": "Creation Date", "type": "number" } ] } }, @@ -120,9 +120,9 @@ "queryable": false, "nameField": "Road_Number", "outfields": [ - { "name": "Road_Number", "alias": "Road Number", "type": "number", "domain": null }, - { "name": "Province", "alias": "Province", "type": "string", "domain": null }, - { "name": "creationDate", "alias": "Creation Date", "type": "date", "domain": null } + { "name": "Road_Number", "alias": "Road Number", "type": "number" }, + { "name": "Province", "alias": "Province", "type": "string" }, + { "name": "creationDate", "alias": "Creation Date", "type": "date" } ] } }, @@ -165,20 +165,17 @@ { "name": "data", "alias": "data", - "type": "string", - "domain": null + "type": "string" }, { "name": "label", "alias": "label", - "type": "string", - "domain": null + "type": "string" }, { "name": "creationDate", "alias": "Creation Date", - "type": "date", - "domain": null + "type": "date" } ] } @@ -215,38 +212,32 @@ { "name": "Red", "alias": "Red", - "type": "number", - "domain": null + "type": "number" }, { "name": "Green", "alias": "Green", - "type": "number", - "domain": null + "type": "number" }, { "name": "Blue", "alias": "Blue", - "type": "number", - "domain": null + "type": "number" }, { "name": "Yellow", "alias": "Yellow", - "type": "number", - "domain": null + "type": "number" }, { "name": "Orange", "alias": "Orange", - "type": "number", - "domain": null + "type": "number" }, { "name": "creationDate", "alias": "Creation Date", - "type": "date", - "domain": null + "type": "date" } ] } @@ -286,38 +277,32 @@ { "name": "Red", "alias": "Red", - "type": "number", - "domain": null + "type": "number" }, { "name": "Green", "alias": "Green", - "type": "number", - "domain": null + "type": "number" }, { "name": "Blue", "alias": "Blue", - "type": "number", - "domain": null + "type": "number" }, { "name": "Yellow", "alias": "Yellow", - "type": "number", - "domain": null + "type": "number" }, { "name": "Orange", "alias": "Orange", - "type": "number", - "domain": null + "type": "number" }, { "name": "creationDate", "alias": "Creation Date", - "type": "date", - "domain": null + "type": "date" } ] } @@ -352,38 +337,32 @@ { "name": "Red", "alias": "Red", - "type": "number", - "domain": null + "type": "number" }, { "name": "Green", "alias": "Green", - "type": "number", - "domain": null + "type": "number" }, { "name": "Blue", "alias": "Blue", - "type": "number", - "domain": null + "type": "number" }, { "name": "Yellow", "alias": "Yellow", - "type": "number", - "domain": null + "type": "number" }, { "name": "Orange", "alias": "Orange", - "type": "number", - "domain": null + "type": "number" }, { "name": "creationDate", "alias": "Creation Date", - "type": "date", - "domain": null + "type": "date" } ] } @@ -418,38 +397,32 @@ { "name": "Red", "alias": "Red", - "type": "number", - "domain": null + "type": "number" }, { "name": "Green", "alias": "Green", - "type": "number", - "domain": null + "type": "number" }, { "name": "Blue", "alias": "Blue", - "type": "number", - "domain": null + "type": "number" }, { "name": "Yellow", "alias": "Yellow", - "type": "number", - "domain": null + "type": "number" }, { "name": "Orange", "alias": "Orange", - "type": "number", - "domain": null + "type": "number" }, { "name": "creationDate", "alias": "Creation Date", - "type": "date", - "domain": null + "type": "date" } ] } @@ -483,12 +456,12 @@ "queryable": false, "nameField": "Red", "outfields": [ - { "name": "Red", "alias": "Red", "type": "number", "domain": null }, - { "name": "Green", "alias": "Green", "type": "number", "domain": null }, - { "name": "Blue", "alias": "Blue", "type": "number", "domain": null }, - { "name": "Yellow", "alias": "Yellow", "type": "number", "domain": null }, - { "name": "Orange", "alias": "Orange", "type": "number", "domain": null }, - { "name": "creationDate", "alias": "Creation Date", "type": "date", "domain": null } + { "name": "Red", "alias": "Red", "type": "number" }, + { "name": "Green", "alias": "Green", "type": "number" }, + { "name": "Blue", "alias": "Blue", "type": "number" }, + { "name": "Yellow", "alias": "Yellow", "type": "number" }, + { "name": "Orange", "alias": "Orange", "type": "number" }, + { "name": "creationDate", "alias": "Creation Date", "type": "date" } ] } }, @@ -517,12 +490,12 @@ "queryable": true, "nameField": "Red", "outfields": [ - { "name": "Red", "alias": "Red", "type": "number", "domain": null }, - { "name": "Green", "alias": "Green", "type": "number", "domain": null }, - { "name": "Blue", "alias": "Blue", "type": "number", "domain": null }, - { "name": "Yellow", "alias": "Yellow", "type": "number", "domain": null }, - { "name": "Orange", "alias": "Orange", "type": "number", "domain": null }, - { "name": "creationDate", "alias": "Creation Date", "type": "date", "domain": null } + { "name": "Red", "alias": "Red", "type": "number" }, + { "name": "Green", "alias": "Green", "type": "number" }, + { "name": "Blue", "alias": "Blue", "type": "number" }, + { "name": "Yellow", "alias": "Yellow", "type": "number" }, + { "name": "Orange", "alias": "Orange", "type": "number" }, + { "name": "creationDate", "alias": "Creation Date", "type": "date" } ] } }, @@ -551,12 +524,12 @@ "queryable": true, "nameField": "Red", "outfields": [ - { "name": "Red", "alias": "Red", "type": "number", "domain": null }, - { "name": "Green", "alias": "Green", "type": "number", "domain": null }, - { "name": "Blue", "alias": "Blue", "type": "number", "domain": null }, - { "name": "Yellow", "alias": "Yellow", "type": "number", "domain": null }, - { "name": "Orange", "alias": "Orange", "type": "number", "domain": null }, - { "name": "creationDate", "alias": "Creation Date", "type": "date", "domain": null } + { "name": "Red", "alias": "Red", "type": "number" }, + { "name": "Green", "alias": "Green", "type": "number" }, + { "name": "Blue", "alias": "Blue", "type": "number" }, + { "name": "Yellow", "alias": "Yellow", "type": "number" }, + { "name": "Orange", "alias": "Orange", "type": "number" }, + { "name": "creationDate", "alias": "Creation Date", "type": "date" } ] } }, @@ -585,12 +558,12 @@ "queryable": false, "nameField": "Red", "outfields": [ - { "name": "Red", "alias": "Red", "type": "number", "domain": null }, - { "name": "Green", "alias": "Green", "type": "number", "domain": null }, - { "name": "Blue", "alias": "Blue", "type": "number", "domain": null }, - { "name": "Yellow", "alias": "Yellow", "type": "number", "domain": null }, - { "name": "Orange", "alias": "Orange", "type": "number", "domain": null }, - { "name": "creationDate", "alias": "Creation Date", "type": "date", "domain": null } + { "name": "Red", "alias": "Red", "type": "number" }, + { "name": "Green", "alias": "Green", "type": "number" }, + { "name": "Blue", "alias": "Blue", "type": "number" }, + { "name": "Yellow", "alias": "Yellow", "type": "number" }, + { "name": "Orange", "alias": "Orange", "type": "number" }, + { "name": "creationDate", "alias": "Creation Date", "type": "date" } ] } }, diff --git a/packages/geoview-core/public/datasets/geojson/metadata1.meta b/packages/geoview-core/public/datasets/geojson/metadata1.meta index 9bf3c3ad850..85be802967d 100644 --- a/packages/geoview-core/public/datasets/geojson/metadata1.meta +++ b/packages/geoview-core/public/datasets/geojson/metadata1.meta @@ -9,11 +9,11 @@ "queryable": true, "nameField": "Project", "outfields": [ - { "name": "program", "alias": "Program", "type": "string", "domain": null }, - { "name": "project_id", "alias": "Project ID", "type": "string", "domain": null }, - { "name": "geom_type", "alias": "Geometry type", "type": "string", "domain": null }, - { "name": "geom_area", "alias": "Geometry area", "type": "string", "domain": null }, - { "name": "SRID", "alias": "SRID", "type": "string", "domain": null } + { "name": "program", "alias": "Program", "type": "string" }, + { "name": "project_id", "alias": "Project ID", "type": "string" }, + { "name": "geom_type", "alias": "Geometry type", "type": "string" }, + { "name": "geom_area", "alias": "Geometry area", "type": "string" }, + { "name": "SRID", "alias": "SRID", "type": "string" } ] } }, diff --git a/packages/geoview-core/public/datasets/geojson/metadata_genericBlank_featureInfo5_20250217.meta b/packages/geoview-core/public/datasets/geojson/metadata_genericBlank_featureInfo5_20250217.meta index 04750ed53a3..7f5ec273f92 100644 --- a/packages/geoview-core/public/datasets/geojson/metadata_genericBlank_featureInfo5_20250217.meta +++ b/packages/geoview-core/public/datasets/geojson/metadata_genericBlank_featureInfo5_20250217.meta @@ -14,12 +14,12 @@ "queryable": true, "nameField": "title_en", "outfields": [ - { "name": "linkToProject", "alias": "Link to record", "type": "string", "domain": null }, - { "name": "program", "alias": "Program", "type": "string", "domain": null }, - { "name": "project_id", "alias": "Project ID", "type": "string", "domain": null }, - { "name": "title_en", "alias": "Project Title", "type": "string", "domain": null }, - { "name": "project_leader", "alias": "Project Leader", "type": "string", "domain": null }, - { "name": "geo_scope", "alias": "Geo Scope", "type": "string", "domain": null } + { "name": "linkToProject", "alias": "Link to record", "type": "string" }, + { "name": "program", "alias": "Program", "type": "string" }, + { "name": "project_id", "alias": "Project ID", "type": "string" }, + { "name": "title_en", "alias": "Project Title", "type": "string" }, + { "name": "project_leader", "alias": "Project Leader", "type": "string" }, + { "name": "geo_scope", "alias": "Geo Scope", "type": "string" } ] } }, diff --git a/packages/geoview-core/public/datasets/geojson/processes-metadata.meta b/packages/geoview-core/public/datasets/geojson/processes-metadata.meta index 58cdc41fb04..073e93d634d 100644 --- a/packages/geoview-core/public/datasets/geojson/processes-metadata.meta +++ b/packages/geoview-core/public/datasets/geojson/processes-metadata.meta @@ -24,17 +24,17 @@ "queryable": "true", "nameField": "label_en", "outfields": [ - { "name": "label_en", "alias": "label_en", "type": "string", "domain": null }, - { "name": "percentile_en", "alias": "percentile_en", "type": "string", "domain": null }, - { "name": "period_en", "alias": "period_en", "type": "string", "domain": null }, - { "name": "scenario_en", "alias": "scenario_en", "type": "string", "domain": null }, - { "name": "time_begin", "alias": "time_begin", "type": "date", "domain": null }, - { "name": "time_end", "alias": "time_end Date", "type": "date", "domain": null }, - { "name": "time_step", "alias": "time_step", "type": "string", "domain": null }, - { "name": "uom", "alias": "uom", "type": "string", "domain": null }, - { "name": "value_type_en", "alias": "value_type_en", "type": "string", "domain": null }, - { "name": "variable_en", "alias": "variable_en", "type": "string", "domain": null }, - { "name": "values", "alias": "values", "type": "number", "domain": null } + { "name": "label_en", "alias": "label_en", "type": "string" }, + { "name": "percentile_en", "alias": "percentile_en", "type": "string" }, + { "name": "period_en", "alias": "period_en", "type": "string" }, + { "name": "scenario_en", "alias": "scenario_en", "type": "string" }, + { "name": "time_begin", "alias": "time_begin", "type": "date" }, + { "name": "time_end", "alias": "time_end Date", "type": "date" }, + { "name": "time_step", "alias": "time_step", "type": "string" }, + { "name": "uom", "alias": "uom", "type": "string" }, + { "name": "value_type_en", "alias": "value_type_en", "type": "string" }, + { "name": "variable_en", "alias": "variable_en", "type": "string" }, + { "name": "values", "alias": "values", "type": "number" } ] } }, diff --git a/packages/geoview-core/public/templates/demos/demo-world-of-maps.html b/packages/geoview-core/public/templates/demos/demo-world-of-maps.html index c9bfabfbd8e..01208c8d308 100644 --- a/packages/geoview-core/public/templates/demos/demo-world-of-maps.html +++ b/packages/geoview-core/public/templates/demos/demo-world-of-maps.html @@ -66,20 +66,17 @@

    World of Maps - NTS Search Demo

    { 'name': 'IDENTIF', 'alias': 'Identification', - 'type': 'string', - 'domain': null + 'type': 'string' }, { 'name': 'NAME', 'alias': 'Name', - 'type': 'string', - 'domain': null + 'type': 'string' }, { 'name': 'OBJECTID', 'alias': 'Id', - 'type': 'oid', - 'domain': null + 'type': 'oid' } ] } @@ -96,20 +93,17 @@

    World of Maps - NTS Search Demo

    { 'name': 'IDENTIF', 'alias': 'Identification', - 'type': 'string', - 'domain': null + 'type': 'string' }, { 'name': 'NAME', 'alias': 'Name', - 'type': 'string', - 'domain': null + 'type': 'string' }, { 'name': 'OBJECTID', 'alias': 'Id', - 'type': 'oid', - 'domain': null + 'type': 'oid' } ] } diff --git a/packages/geoview-core/schema.json b/packages/geoview-core/schema.json index 898f9c0028c..f19cac749e2 100644 --- a/packages/geoview-core/schema.json +++ b/packages/geoview-core/schema.json @@ -712,7 +712,7 @@ ] } }, - "required": ["name", "alias", "type", "domain"] + "required": ["name", "alias", "type"] }, "TypeOutfieldsType": { "description": "The types supported by the outfields object.", From 1a409cf6ebe1478a701fc0bf3cdaabaa33c4870a Mon Sep 17 00:00:00 2001 From: Johann Levesque Date: Thu, 4 Jun 2026 13:27:44 -0400 Subject: [PATCH 6/9] fix remaining glitches and reorder, move templates in folders for easy retreival --- README-DEV.md | 4 +- docs/app/api/api.md | 3 +- docs/app/config/configuration-reference.md | 3 +- packages/geoview-about-panel/README.md | 8 +- packages/geoview-aoi-panel/README.md | 6 +- packages/geoview-core/public/index.html | 2 +- ...nfig-sandbox2.html => config-sandbox.html} | 0 .../demo-app-geo-v2.html | 9 +- .../demo-arctic-sdi.html | 0 .../{demos => demos-specific}/demo-cgdi.html | 7 +- .../{demos => demos-specific}/demo-flood.html | 0 .../demo-function-event.html | 0 .../demo-geodiscovery-geochart.html | 0 .../demo-geojson-inject.html | 0 .../{demos => demos-specific}/demo-gsc.html | 0 .../demo-open-maps-wet.html | 0 .../demo-open-maps.html | 0 .../demo-osdp-air.html | 0 .../demo-osdp-biodiversity.html | 0 .../demo-osdp-climate.html | 0 .../demo-osdp-economy.html | 0 .../demo-osdp-health.html | 0 .../demo-osdp-integration.html | 0 .../demo-osdp-land.html | 0 .../demo-osdp-non-currated.html | 0 .../demo-osdp-society.html | 0 .../demo-osdp-water.html | 0 .../{demos => demos-specific}/demo-share.html | 0 .../demo-world-of-maps.html | 0 .../templates/{ => demos}/add-layers.html | 0 .../templates/{ => demos}/add-panels.html | 0 .../templates/{ => demos}/api-loads.html | 0 .../templates/{ => demos}/default-config.html | 0 .../demos/demo-custom-footer-height.html | 2 +- .../templates/demos/demo-esri-renderer.html | 2 +- .../templates/demos/demo-wfs-renderer.html | 2 +- .../public/templates/{ => demos}/events.html | 0 .../templates/{ => demos}/geometry.html | 2 +- .../templates/{ => demos}/inter-all.html | 0 .../inter-bounding-box-selector.html | 0 .../templates/{ => demos}/inter-drawer.html | 2 +- .../{ => demos}/loading-packages.html | 0 .../templates/{ => demos}/package-swiper.html | 0 .../{ => demos}/pygeoapi-processes.html | 0 .../templates/{ => demos}/stac-browser.html | 0 .../templates/{ => demos}/ui-components.html | 0 .../public/templates/release-navigator.html | 2 +- .../demo-important-layers.html | 0 .../outlier-ESRI-maxRecordCount.html | 0 .../{outliers => tests}/outlier-GeoAI.html | 0 .../outlier-elections-2019.html | 0 .../{outliers => tests}/outlier-geometry.html | 0 .../outlier-many-groups.html | 0 .../{outliers => tests}/outlier-metadata.html | 0 .../outlier-performance.html | 0 .../{outliers => tests}/outlier-style.html | 0 .../{outliers => tests}/outliers.html | 0 .../public/templates/{ => tests}/tests.html | 0 .../public/templates/{ => tests}/wcag.html | 4 +- packages/geoview-core/schema.json | 38 ++++----- .../src/api/types/map-schema-types.ts | 84 +++++++++---------- packages/geoview-core/webpack.common.js | 22 ++++- 62 files changed, 110 insertions(+), 92 deletions(-) rename packages/geoview-core/public/templates/{config-sandbox2.html => config-sandbox.html} (100%) rename packages/geoview-core/public/templates/{demos => demos-specific}/demo-app-geo-v2.html (96%) rename packages/geoview-core/public/templates/{demos => demos-specific}/demo-arctic-sdi.html (100%) rename packages/geoview-core/public/templates/{demos => demos-specific}/demo-cgdi.html (98%) rename packages/geoview-core/public/templates/{demos => demos-specific}/demo-flood.html (100%) rename packages/geoview-core/public/templates/{demos => demos-specific}/demo-function-event.html (100%) rename packages/geoview-core/public/templates/{demos => demos-specific}/demo-geodiscovery-geochart.html (100%) rename packages/geoview-core/public/templates/{demos => demos-specific}/demo-geojson-inject.html (100%) rename packages/geoview-core/public/templates/{demos => demos-specific}/demo-gsc.html (100%) rename packages/geoview-core/public/templates/{demos => demos-specific}/demo-open-maps-wet.html (100%) rename packages/geoview-core/public/templates/{demos => demos-specific}/demo-open-maps.html (100%) rename packages/geoview-core/public/templates/{demos => demos-specific}/demo-osdp-air.html (100%) rename packages/geoview-core/public/templates/{demos => demos-specific}/demo-osdp-biodiversity.html (100%) rename packages/geoview-core/public/templates/{demos => demos-specific}/demo-osdp-climate.html (100%) rename packages/geoview-core/public/templates/{demos => demos-specific}/demo-osdp-economy.html (100%) rename packages/geoview-core/public/templates/{demos => demos-specific}/demo-osdp-health.html (100%) rename packages/geoview-core/public/templates/{demos => demos-specific}/demo-osdp-integration.html (100%) rename packages/geoview-core/public/templates/{demos => demos-specific}/demo-osdp-land.html (100%) rename packages/geoview-core/public/templates/{demos => demos-specific}/demo-osdp-non-currated.html (100%) rename packages/geoview-core/public/templates/{demos => demos-specific}/demo-osdp-society.html (100%) rename packages/geoview-core/public/templates/{demos => demos-specific}/demo-osdp-water.html (100%) rename packages/geoview-core/public/templates/{demos => demos-specific}/demo-share.html (100%) rename packages/geoview-core/public/templates/{demos => demos-specific}/demo-world-of-maps.html (100%) rename packages/geoview-core/public/templates/{ => demos}/add-layers.html (100%) rename packages/geoview-core/public/templates/{ => demos}/add-panels.html (100%) rename packages/geoview-core/public/templates/{ => demos}/api-loads.html (100%) rename packages/geoview-core/public/templates/{ => demos}/default-config.html (100%) rename packages/geoview-core/public/templates/{ => demos}/events.html (100%) rename packages/geoview-core/public/templates/{ => demos}/geometry.html (99%) rename packages/geoview-core/public/templates/{ => demos}/inter-all.html (100%) rename packages/geoview-core/public/templates/{ => demos}/inter-bounding-box-selector.html (100%) rename packages/geoview-core/public/templates/{ => demos}/inter-drawer.html (100%) rename packages/geoview-core/public/templates/{ => demos}/loading-packages.html (100%) rename packages/geoview-core/public/templates/{ => demos}/package-swiper.html (100%) rename packages/geoview-core/public/templates/{ => demos}/pygeoapi-processes.html (100%) rename packages/geoview-core/public/templates/{ => demos}/stac-browser.html (100%) rename packages/geoview-core/public/templates/{ => demos}/ui-components.html (100%) rename packages/geoview-core/public/templates/{demos => tests}/demo-important-layers.html (100%) rename packages/geoview-core/public/templates/{outliers => tests}/outlier-ESRI-maxRecordCount.html (100%) rename packages/geoview-core/public/templates/{outliers => tests}/outlier-GeoAI.html (100%) rename packages/geoview-core/public/templates/{outliers => tests}/outlier-elections-2019.html (100%) rename packages/geoview-core/public/templates/{outliers => tests}/outlier-geometry.html (100%) rename packages/geoview-core/public/templates/{outliers => tests}/outlier-many-groups.html (100%) rename packages/geoview-core/public/templates/{outliers => tests}/outlier-metadata.html (100%) rename packages/geoview-core/public/templates/{outliers => tests}/outlier-performance.html (100%) rename packages/geoview-core/public/templates/{outliers => tests}/outlier-style.html (100%) rename packages/geoview-core/public/templates/{outliers => tests}/outliers.html (100%) rename packages/geoview-core/public/templates/{ => tests}/tests.html (100%) rename packages/geoview-core/public/templates/{ => tests}/wcag.html (99%) diff --git a/README-DEV.md b/README-DEV.md index 5eb72fdf2f6..466eaaec666 100644 --- a/README-DEV.md +++ b/README-DEV.md @@ -197,9 +197,9 @@ Below is an example of a simple map, with an id **mapOne**. This map will be usi } ] }, - 'theme': 'geo.ca', 'components': ['north-arrow', 'overview-map'], - 'corePackages': [] + 'corePackages': [], + 'theme': 'geo.ca' }" > ``` diff --git a/docs/app/api/api.md b/docs/app/api/api.md index 5ef4a710683..4519eb3b037 100644 --- a/docs/app/api/api.md +++ b/docs/app/api/api.md @@ -34,8 +34,7 @@ const mapViewer = await cgpv.api.createMapFromConfig( viewSettings: { zoom: 4, center: [-95, 55], projection: 3978 }, basemapOptions: { basemapId: "transport", shaded: true }, }, - theme: "dark", - language: "en", + theme: "dark" }), 800, ); diff --git a/docs/app/config/configuration-reference.md b/docs/app/config/configuration-reference.md index 99d15c94f12..1c73f2ac810 100644 --- a/docs/app/config/configuration-reference.md +++ b/docs/app/config/configuration-reference.md @@ -3113,7 +3113,7 @@ When using `mdPath` or `mdContent`, the About Panel supports standard Markdown s } ] }, - "theme": "geo.ca", + "navBar": ["zoom", "fullscreen", "home", "drawer"], "appBar": { "tabs": { @@ -3126,6 +3126,7 @@ When using `mdPath` or `mdContent`, the About Panel supports standard Markdown s } }, "corePackages": ["swiper"], + "theme": "geo.ca", "corePackagesConfig": [ { "swiper": { diff --git a/packages/geoview-about-panel/README.md b/packages/geoview-about-panel/README.md index 2e40a7fb904..5eb406a7228 100644 --- a/packages/geoview-about-panel/README.md +++ b/packages/geoview-about-panel/README.md @@ -38,14 +38,14 @@ The map config file could be named **myMap.json** and its content is something s "labeled": true } }, - "theme": "geo.ca", "components": ["north-arrow", "overview-map"], - "corePackages": [], "appBar": { "tabs": { "core": ["about-panel"] // This is where GeoView knows it needs to load the package } - } + }, + "corePackages": [], + "theme": "geo.ca" } ``` @@ -183,4 +183,4 @@ cgpv.api.plugin.removePlugin('about-panel', 'myMap'); ### Links -For more details, please refer to the [official documentation](https://canadian-geospatial-platform.github.io/geoview/) or reach out to our support team. \ No newline at end of file +For more details, please refer to the [official documentation](https://canadian-geospatial-platform.github.io/geoview/) or reach out to our support team. diff --git a/packages/geoview-aoi-panel/README.md b/packages/geoview-aoi-panel/README.md index 5ab402bbbd7..a83ac567fa0 100644 --- a/packages/geoview-aoi-panel/README.md +++ b/packages/geoview-aoi-panel/README.md @@ -38,14 +38,14 @@ The map config file could be named **myMap.json** and it content is something si "labeled": true } }, - "theme": "geo.ca", "components": ["north-arrow", "overview-map"], - "corePackages": [], "appBar": { "tabs": { "core": ["aoi-panel"] // This is were Geoview knows it needs to load the package } - } + }, + "corePackages": [], + "theme": "geo.ca", } ``` diff --git a/packages/geoview-core/public/index.html b/packages/geoview-core/public/index.html index c8ab1ff2bc4..3f039bbc70e 100644 --- a/packages/geoview-core/public/index.html +++ b/packages/geoview-core/public/index.html @@ -99,7 +99,7 @@

    Interactive Sandbox

    Experiment with GeoView in a live sandbox environment. Test configurations, explore features, and prototype your solutions.

    diff --git a/packages/geoview-core/public/templates/config-sandbox2.html b/packages/geoview-core/public/templates/config-sandbox.html similarity index 100% rename from packages/geoview-core/public/templates/config-sandbox2.html rename to packages/geoview-core/public/templates/config-sandbox.html diff --git a/packages/geoview-core/public/templates/demos/demo-app-geo-v2.html b/packages/geoview-core/public/templates/demos-specific/demo-app-geo-v2.html similarity index 96% rename from packages/geoview-core/public/templates/demos/demo-app-geo-v2.html rename to packages/geoview-core/public/templates/demos-specific/demo-app-geo-v2.html index 66cfffbf4c7..cc2176c49e4 100644 --- a/packages/geoview-core/public/templates/demos/demo-app-geo-v2.html +++ b/packages/geoview-core/public/templates/demos-specific/demo-app-geo-v2.html @@ -74,21 +74,20 @@

    Test GeoCoreUUIDs

    labeled: true, }, }, - theme: 'geo.ca', components: ['north-arrow', 'overview-map'], - corePackages: ['swiper'], appBar: { tabs: { - core: ['geolocator', 'legend'], + core: ['geolocator', 'legend', 'details', 'export'], }, }, footerBar: { tabs: { - core: ['layers', 'details', 'data-table', 'time-slider', 'geochart'], + core: ['layers', 'data-table', 'time-slider', 'geochart'], }, - collapsed: true, selectedTab: 'time-slider', }, + corePackages: ['swiper'], + theme: 'geo.ca', corePackagesConfig: [ { swiper: { diff --git a/packages/geoview-core/public/templates/demos/demo-arctic-sdi.html b/packages/geoview-core/public/templates/demos-specific/demo-arctic-sdi.html similarity index 100% rename from packages/geoview-core/public/templates/demos/demo-arctic-sdi.html rename to packages/geoview-core/public/templates/demos-specific/demo-arctic-sdi.html diff --git a/packages/geoview-core/public/templates/demos/demo-cgdi.html b/packages/geoview-core/public/templates/demos-specific/demo-cgdi.html similarity index 98% rename from packages/geoview-core/public/templates/demos/demo-cgdi.html rename to packages/geoview-core/public/templates/demos-specific/demo-cgdi.html index 659183e1d25..03723ca731b 100644 --- a/packages/geoview-core/public/templates/demos/demo-cgdi.html +++ b/packages/geoview-core/public/templates/demos-specific/demo-cgdi.html @@ -224,9 +224,14 @@

    CGDI Water Resources Demo

    }, 'components': ['overview-map'], 'overviewMap': {'hideOnZoom': 7}, + 'appBar': { + 'tabs': { + 'core': ['geolocator', 'legend', 'details', 'export'] + } + }, 'footerBar': { 'tabs': { - 'core': ['legend', 'layers', 'details', 'data-table'] + 'core': ['layers', 'data-table'] } }, 'corePackages': [], diff --git a/packages/geoview-core/public/templates/demos/demo-flood.html b/packages/geoview-core/public/templates/demos-specific/demo-flood.html similarity index 100% rename from packages/geoview-core/public/templates/demos/demo-flood.html rename to packages/geoview-core/public/templates/demos-specific/demo-flood.html diff --git a/packages/geoview-core/public/templates/demos/demo-function-event.html b/packages/geoview-core/public/templates/demos-specific/demo-function-event.html similarity index 100% rename from packages/geoview-core/public/templates/demos/demo-function-event.html rename to packages/geoview-core/public/templates/demos-specific/demo-function-event.html diff --git a/packages/geoview-core/public/templates/demos/demo-geodiscovery-geochart.html b/packages/geoview-core/public/templates/demos-specific/demo-geodiscovery-geochart.html similarity index 100% rename from packages/geoview-core/public/templates/demos/demo-geodiscovery-geochart.html rename to packages/geoview-core/public/templates/demos-specific/demo-geodiscovery-geochart.html diff --git a/packages/geoview-core/public/templates/demos/demo-geojson-inject.html b/packages/geoview-core/public/templates/demos-specific/demo-geojson-inject.html similarity index 100% rename from packages/geoview-core/public/templates/demos/demo-geojson-inject.html rename to packages/geoview-core/public/templates/demos-specific/demo-geojson-inject.html diff --git a/packages/geoview-core/public/templates/demos/demo-gsc.html b/packages/geoview-core/public/templates/demos-specific/demo-gsc.html similarity index 100% rename from packages/geoview-core/public/templates/demos/demo-gsc.html rename to packages/geoview-core/public/templates/demos-specific/demo-gsc.html diff --git a/packages/geoview-core/public/templates/demos/demo-open-maps-wet.html b/packages/geoview-core/public/templates/demos-specific/demo-open-maps-wet.html similarity index 100% rename from packages/geoview-core/public/templates/demos/demo-open-maps-wet.html rename to packages/geoview-core/public/templates/demos-specific/demo-open-maps-wet.html diff --git a/packages/geoview-core/public/templates/demos/demo-open-maps.html b/packages/geoview-core/public/templates/demos-specific/demo-open-maps.html similarity index 100% rename from packages/geoview-core/public/templates/demos/demo-open-maps.html rename to packages/geoview-core/public/templates/demos-specific/demo-open-maps.html diff --git a/packages/geoview-core/public/templates/demos/demo-osdp-air.html b/packages/geoview-core/public/templates/demos-specific/demo-osdp-air.html similarity index 100% rename from packages/geoview-core/public/templates/demos/demo-osdp-air.html rename to packages/geoview-core/public/templates/demos-specific/demo-osdp-air.html diff --git a/packages/geoview-core/public/templates/demos/demo-osdp-biodiversity.html b/packages/geoview-core/public/templates/demos-specific/demo-osdp-biodiversity.html similarity index 100% rename from packages/geoview-core/public/templates/demos/demo-osdp-biodiversity.html rename to packages/geoview-core/public/templates/demos-specific/demo-osdp-biodiversity.html diff --git a/packages/geoview-core/public/templates/demos/demo-osdp-climate.html b/packages/geoview-core/public/templates/demos-specific/demo-osdp-climate.html similarity index 100% rename from packages/geoview-core/public/templates/demos/demo-osdp-climate.html rename to packages/geoview-core/public/templates/demos-specific/demo-osdp-climate.html diff --git a/packages/geoview-core/public/templates/demos/demo-osdp-economy.html b/packages/geoview-core/public/templates/demos-specific/demo-osdp-economy.html similarity index 100% rename from packages/geoview-core/public/templates/demos/demo-osdp-economy.html rename to packages/geoview-core/public/templates/demos-specific/demo-osdp-economy.html diff --git a/packages/geoview-core/public/templates/demos/demo-osdp-health.html b/packages/geoview-core/public/templates/demos-specific/demo-osdp-health.html similarity index 100% rename from packages/geoview-core/public/templates/demos/demo-osdp-health.html rename to packages/geoview-core/public/templates/demos-specific/demo-osdp-health.html diff --git a/packages/geoview-core/public/templates/demos/demo-osdp-integration.html b/packages/geoview-core/public/templates/demos-specific/demo-osdp-integration.html similarity index 100% rename from packages/geoview-core/public/templates/demos/demo-osdp-integration.html rename to packages/geoview-core/public/templates/demos-specific/demo-osdp-integration.html diff --git a/packages/geoview-core/public/templates/demos/demo-osdp-land.html b/packages/geoview-core/public/templates/demos-specific/demo-osdp-land.html similarity index 100% rename from packages/geoview-core/public/templates/demos/demo-osdp-land.html rename to packages/geoview-core/public/templates/demos-specific/demo-osdp-land.html diff --git a/packages/geoview-core/public/templates/demos/demo-osdp-non-currated.html b/packages/geoview-core/public/templates/demos-specific/demo-osdp-non-currated.html similarity index 100% rename from packages/geoview-core/public/templates/demos/demo-osdp-non-currated.html rename to packages/geoview-core/public/templates/demos-specific/demo-osdp-non-currated.html diff --git a/packages/geoview-core/public/templates/demos/demo-osdp-society.html b/packages/geoview-core/public/templates/demos-specific/demo-osdp-society.html similarity index 100% rename from packages/geoview-core/public/templates/demos/demo-osdp-society.html rename to packages/geoview-core/public/templates/demos-specific/demo-osdp-society.html diff --git a/packages/geoview-core/public/templates/demos/demo-osdp-water.html b/packages/geoview-core/public/templates/demos-specific/demo-osdp-water.html similarity index 100% rename from packages/geoview-core/public/templates/demos/demo-osdp-water.html rename to packages/geoview-core/public/templates/demos-specific/demo-osdp-water.html diff --git a/packages/geoview-core/public/templates/demos/demo-share.html b/packages/geoview-core/public/templates/demos-specific/demo-share.html similarity index 100% rename from packages/geoview-core/public/templates/demos/demo-share.html rename to packages/geoview-core/public/templates/demos-specific/demo-share.html diff --git a/packages/geoview-core/public/templates/demos/demo-world-of-maps.html b/packages/geoview-core/public/templates/demos-specific/demo-world-of-maps.html similarity index 100% rename from packages/geoview-core/public/templates/demos/demo-world-of-maps.html rename to packages/geoview-core/public/templates/demos-specific/demo-world-of-maps.html diff --git a/packages/geoview-core/public/templates/add-layers.html b/packages/geoview-core/public/templates/demos/add-layers.html similarity index 100% rename from packages/geoview-core/public/templates/add-layers.html rename to packages/geoview-core/public/templates/demos/add-layers.html diff --git a/packages/geoview-core/public/templates/add-panels.html b/packages/geoview-core/public/templates/demos/add-panels.html similarity index 100% rename from packages/geoview-core/public/templates/add-panels.html rename to packages/geoview-core/public/templates/demos/add-panels.html diff --git a/packages/geoview-core/public/templates/api-loads.html b/packages/geoview-core/public/templates/demos/api-loads.html similarity index 100% rename from packages/geoview-core/public/templates/api-loads.html rename to packages/geoview-core/public/templates/demos/api-loads.html diff --git a/packages/geoview-core/public/templates/default-config.html b/packages/geoview-core/public/templates/demos/default-config.html similarity index 100% rename from packages/geoview-core/public/templates/default-config.html rename to packages/geoview-core/public/templates/demos/default-config.html diff --git a/packages/geoview-core/public/templates/demos/demo-custom-footer-height.html b/packages/geoview-core/public/templates/demos/demo-custom-footer-height.html index 075a238ff90..3c95455d698 100644 --- a/packages/geoview-core/public/templates/demos/demo-custom-footer-height.html +++ b/packages/geoview-core/public/templates/demos/demo-custom-footer-height.html @@ -18,7 +18,7 @@
    diff --git a/packages/geoview-core/public/templates/demos/demo-esri-renderer.html b/packages/geoview-core/public/templates/demos/demo-esri-renderer.html index 7c3b518d092..0ad35c42c0c 100644 --- a/packages/geoview-core/public/templates/demos/demo-esri-renderer.html +++ b/packages/geoview-core/public/templates/demos/demo-esri-renderer.html @@ -42,7 +42,7 @@
    diff --git a/packages/geoview-core/public/templates/demos/demo-wfs-renderer.html b/packages/geoview-core/public/templates/demos/demo-wfs-renderer.html index ea343bc06c1..655d4ef3636 100644 --- a/packages/geoview-core/public/templates/demos/demo-wfs-renderer.html +++ b/packages/geoview-core/public/templates/demos/demo-wfs-renderer.html @@ -53,7 +53,7 @@
    diff --git a/packages/geoview-core/public/templates/events.html b/packages/geoview-core/public/templates/demos/events.html similarity index 100% rename from packages/geoview-core/public/templates/events.html rename to packages/geoview-core/public/templates/demos/events.html diff --git a/packages/geoview-core/public/templates/geometry.html b/packages/geoview-core/public/templates/demos/geometry.html similarity index 99% rename from packages/geoview-core/public/templates/geometry.html rename to packages/geoview-core/public/templates/demos/geometry.html index f6b3e1c0826..7bba0f660c8 100644 --- a/packages/geoview-core/public/templates/geometry.html +++ b/packages/geoview-core/public/templates/demos/geometry.html @@ -341,7 +341,7 @@

    Geometry

    mapViewer.layer.geometry.setActiveGeometryGroup(); } else { mapViewer.layer.geometry.setActiveGeometryGroup(); - mapViewer.layer.geometry.deleteGeometryGroup(); + mapViewer.layer.geometry.deleteGeometryGroup(mapViewer.layer.geometry.defaultGeometryGroupId); } }); diff --git a/packages/geoview-core/public/templates/inter-all.html b/packages/geoview-core/public/templates/demos/inter-all.html similarity index 100% rename from packages/geoview-core/public/templates/inter-all.html rename to packages/geoview-core/public/templates/demos/inter-all.html diff --git a/packages/geoview-core/public/templates/inter-bounding-box-selector.html b/packages/geoview-core/public/templates/demos/inter-bounding-box-selector.html similarity index 100% rename from packages/geoview-core/public/templates/inter-bounding-box-selector.html rename to packages/geoview-core/public/templates/demos/inter-bounding-box-selector.html diff --git a/packages/geoview-core/public/templates/inter-drawer.html b/packages/geoview-core/public/templates/demos/inter-drawer.html similarity index 100% rename from packages/geoview-core/public/templates/inter-drawer.html rename to packages/geoview-core/public/templates/demos/inter-drawer.html index 8a57213ef31..d08f13449e2 100644 --- a/packages/geoview-core/public/templates/inter-drawer.html +++ b/packages/geoview-core/public/templates/demos/inter-drawer.html @@ -155,7 +155,6 @@
    Map 2 (Simple Basemap)
    'labeled': true } }, - 'theme': 'dark', 'components': ['north-arrow', 'overview-map'], 'navBar': [ 'basemap-select', @@ -174,6 +173,7 @@
    Map 2 (Simple Basemap)
    } }, 'corePackages': [], + 'theme': 'dark', 'corePackagesConfig': [ { 'drawer': { diff --git a/packages/geoview-core/public/templates/loading-packages.html b/packages/geoview-core/public/templates/demos/loading-packages.html similarity index 100% rename from packages/geoview-core/public/templates/loading-packages.html rename to packages/geoview-core/public/templates/demos/loading-packages.html diff --git a/packages/geoview-core/public/templates/package-swiper.html b/packages/geoview-core/public/templates/demos/package-swiper.html similarity index 100% rename from packages/geoview-core/public/templates/package-swiper.html rename to packages/geoview-core/public/templates/demos/package-swiper.html diff --git a/packages/geoview-core/public/templates/pygeoapi-processes.html b/packages/geoview-core/public/templates/demos/pygeoapi-processes.html similarity index 100% rename from packages/geoview-core/public/templates/pygeoapi-processes.html rename to packages/geoview-core/public/templates/demos/pygeoapi-processes.html diff --git a/packages/geoview-core/public/templates/stac-browser.html b/packages/geoview-core/public/templates/demos/stac-browser.html similarity index 100% rename from packages/geoview-core/public/templates/stac-browser.html rename to packages/geoview-core/public/templates/demos/stac-browser.html diff --git a/packages/geoview-core/public/templates/ui-components.html b/packages/geoview-core/public/templates/demos/ui-components.html similarity index 100% rename from packages/geoview-core/public/templates/ui-components.html rename to packages/geoview-core/public/templates/demos/ui-components.html diff --git a/packages/geoview-core/public/templates/release-navigator.html b/packages/geoview-core/public/templates/release-navigator.html index 21535289d74..35e44f5b86f 100644 --- a/packages/geoview-core/public/templates/release-navigator.html +++ b/packages/geoview-core/public/templates/release-navigator.html @@ -17,7 +17,7 @@
    diff --git a/packages/geoview-core/public/templates/demos/demo-important-layers.html b/packages/geoview-core/public/templates/tests/demo-important-layers.html similarity index 100% rename from packages/geoview-core/public/templates/demos/demo-important-layers.html rename to packages/geoview-core/public/templates/tests/demo-important-layers.html diff --git a/packages/geoview-core/public/templates/outliers/outlier-ESRI-maxRecordCount.html b/packages/geoview-core/public/templates/tests/outlier-ESRI-maxRecordCount.html similarity index 100% rename from packages/geoview-core/public/templates/outliers/outlier-ESRI-maxRecordCount.html rename to packages/geoview-core/public/templates/tests/outlier-ESRI-maxRecordCount.html diff --git a/packages/geoview-core/public/templates/outliers/outlier-GeoAI.html b/packages/geoview-core/public/templates/tests/outlier-GeoAI.html similarity index 100% rename from packages/geoview-core/public/templates/outliers/outlier-GeoAI.html rename to packages/geoview-core/public/templates/tests/outlier-GeoAI.html diff --git a/packages/geoview-core/public/templates/outliers/outlier-elections-2019.html b/packages/geoview-core/public/templates/tests/outlier-elections-2019.html similarity index 100% rename from packages/geoview-core/public/templates/outliers/outlier-elections-2019.html rename to packages/geoview-core/public/templates/tests/outlier-elections-2019.html diff --git a/packages/geoview-core/public/templates/outliers/outlier-geometry.html b/packages/geoview-core/public/templates/tests/outlier-geometry.html similarity index 100% rename from packages/geoview-core/public/templates/outliers/outlier-geometry.html rename to packages/geoview-core/public/templates/tests/outlier-geometry.html diff --git a/packages/geoview-core/public/templates/outliers/outlier-many-groups.html b/packages/geoview-core/public/templates/tests/outlier-many-groups.html similarity index 100% rename from packages/geoview-core/public/templates/outliers/outlier-many-groups.html rename to packages/geoview-core/public/templates/tests/outlier-many-groups.html diff --git a/packages/geoview-core/public/templates/outliers/outlier-metadata.html b/packages/geoview-core/public/templates/tests/outlier-metadata.html similarity index 100% rename from packages/geoview-core/public/templates/outliers/outlier-metadata.html rename to packages/geoview-core/public/templates/tests/outlier-metadata.html diff --git a/packages/geoview-core/public/templates/outliers/outlier-performance.html b/packages/geoview-core/public/templates/tests/outlier-performance.html similarity index 100% rename from packages/geoview-core/public/templates/outliers/outlier-performance.html rename to packages/geoview-core/public/templates/tests/outlier-performance.html diff --git a/packages/geoview-core/public/templates/outliers/outlier-style.html b/packages/geoview-core/public/templates/tests/outlier-style.html similarity index 100% rename from packages/geoview-core/public/templates/outliers/outlier-style.html rename to packages/geoview-core/public/templates/tests/outlier-style.html diff --git a/packages/geoview-core/public/templates/outliers/outliers.html b/packages/geoview-core/public/templates/tests/outliers.html similarity index 100% rename from packages/geoview-core/public/templates/outliers/outliers.html rename to packages/geoview-core/public/templates/tests/outliers.html diff --git a/packages/geoview-core/public/templates/tests.html b/packages/geoview-core/public/templates/tests/tests.html similarity index 100% rename from packages/geoview-core/public/templates/tests.html rename to packages/geoview-core/public/templates/tests/tests.html diff --git a/packages/geoview-core/public/templates/wcag.html b/packages/geoview-core/public/templates/tests/wcag.html similarity index 99% rename from packages/geoview-core/public/templates/wcag.html rename to packages/geoview-core/public/templates/tests/wcag.html index 7b3d76557d3..f1e5abe20e9 100644 --- a/packages/geoview-core/public/templates/wcag.html +++ b/packages/geoview-core/public/templates/tests/wcag.html @@ -19,7 +19,7 @@
    @@ -93,8 +93,8 @@

    Map Configuration

    } }, "components": ["north-arrow", "overview-map"], - "theme": "geo.ca", "corePackages": ["swiper"], + "theme": "geo.ca", "corePackagesConfig": [ { "swiper": { diff --git a/packages/geoview-core/schema.json b/packages/geoview-core/schema.json index f19cac749e2..20c53b1ca40 100644 --- a/packages/geoview-core/schema.json +++ b/packages/geoview-core/schema.json @@ -12,44 +12,44 @@ "additionalProperties": false, "type": "object", "properties": { + "configMeta": { + "$ref": "#/definitions/TypeConfigMeta" + }, "map": { "$ref": "#/definitions/TypeMapConfig" }, - "theme": { - "$ref": "#/definitions/TypeDisplayTheme" + "components": { + "$ref": "#/definitions/TypeMapComponents" + }, + "overviewMap": { + "$ref": "#/definitions/TypeOverviewMapProps" }, "navBar": { "$ref": "#/definitions/TypeNavBarProps" }, - "footerBar": { - "$ref": "#/definitions/TypeFooterBarProps" - }, "appBar": { "$ref": "#/definitions/TypeAppBarProps" }, - "overviewMap": { - "$ref": "#/definitions/TypeOverviewMapProps" - }, - "components": { - "$ref": "#/definitions/TypeMapComponents" + "footerBar": { + "$ref": "#/definitions/TypeFooterBarProps" }, "corePackages": { "$ref": "#/definitions/TypeMapCorePackages" }, - "corePackagesConfig": { - "$ref": "#/definitions/TypeCorePackagesConfig" - }, - "externalPackages": { - "$ref": "#/definitions/TypeExternalPackages" + "globalSettings": { + "$ref": "#/definitions/TypeGlobalSettings" }, "serviceUrls": { "$ref": "#/definitions/TypeServiceUrls" }, - "configMeta": { - "$ref": "#/definitions/TypeConfigMeta" + "theme": { + "$ref": "#/definitions/TypeDisplayTheme" }, - "globalSettings": { - "$ref": "#/definitions/TypeGlobalSettings" + "corePackagesConfig": { + "$ref": "#/definitions/TypeCorePackagesConfig" + }, + "externalPackages": { + "$ref": "#/definitions/TypeExternalPackages" } }, "required": ["map"] diff --git a/packages/geoview-core/src/api/types/map-schema-types.ts b/packages/geoview-core/src/api/types/map-schema-types.ts index 5b1f3a1da0c..e49f42be3d3 100644 --- a/packages/geoview-core/src/api/types/map-schema-types.ts +++ b/packages/geoview-core/src/api/types/map-schema-types.ts @@ -8,32 +8,32 @@ import type { MapConfigLayerEntry, TypeGeoviewLayerType } from './layer-schema-t /** Definition of the map feature instance according to what is specified in the schema. */ export type TypeMapFeaturesInstance = { + /** Metadata about the configuration file, including version and optional description. */ + configMeta?: TypeConfigMeta; /** map configuration. */ map: TypeMapConfig; - /** Service URLs. */ - serviceUrls: TypeServiceUrls; - /** Display theme, default = geo.ca. */ - theme?: TypeDisplayTheme; + /** Map components. */ + components?: TypeValidMapComponentProps[]; + /** Overview map properties. */ + overviewMap?: TypeOverviewMapProps; /** Nav bar properties. */ navBar?: TypeValidNavBarProps[]; /** App bar properties. */ appBar?: TypeAppBarProps; /** Footer bar properties. */ footerBar?: TypeFooterBarProps; - /** Overview map properties. */ - overviewMap?: TypeOverviewMapProps; - /** Map components. */ - components?: TypeValidMapComponentProps[]; /** List of core packages. */ corePackages?: TypeValidMapCorePackageProps[]; + /** Global settings. */ + globalSettings?: TypeGlobalSettings; + /** Service URLs. */ + serviceUrls: TypeServiceUrls; + /** Display theme, default = geo.ca. */ + theme?: TypeDisplayTheme; /** List of core packages. */ corePackagesConfig?: TypeCorePackagesConfig; /** List of external packages. */ externalPackages?: TypeExternalPackagesProps[]; - /** Metadata about the configuration file, including version and optional description. */ - configMeta?: TypeConfigMeta; - /** Global settings. */ - globalSettings?: TypeGlobalSettings; }; /** An array of numbers representing an extent: `[minx, miny, maxx, maxy]`. */ @@ -257,18 +257,18 @@ export type TypeGlobalSettings = { /** Definition of the map configuration settings. */ export type TypeMapConfig = { - /** Basemap options settings for this map configuration. */ - basemapOptions: TypeBasemapOptions; /** Type of interaction. */ interaction: TypeInteraction; - /** List of GeoView Layers in the order which they should be added to the map. */ - listOfGeoviewLayerConfig: MapConfigLayerEntry[]; /** View settings. */ viewSettings: TypeViewSettings; + /** Basemap options settings for this map configuration. */ + basemapOptions: TypeBasemapOptions; /** Highlight color. */ highlightColor?: TypeHighlightColors; /** Point markers to add to map. */ overlayObjects?: TypeOverlayObjects; + /** List of GeoView Layers in the order which they should be added to the map. */ + listOfGeoviewLayerConfig: MapConfigLayerEntry[]; /** Additional options used for OpenLayers map options. */ extraOptions?: Record; }; @@ -510,17 +510,8 @@ export const VALID_ZOOM_LEVELS: number[] = [0, 20]; // GV: We do that only to create an object that has the default values who can be accessed using the instance property names. export const DEFAULT_MAP_FEATURE_CONFIG = { map: { - basemapOptions: { - basemapId: 'transport', - shaded: true, - labeled: true, - }, + configMeta: { version: '1.0' }, interaction: 'dynamic', - listOfGeoviewLayerConfig: [], - highlightColor: DEFAULT_HIGHLIGHT_COLOR, - overlayObjects: { - pointMarkers: {}, - }, viewSettings: { initialView: { zoomAndCenter: [MAP_ZOOM_LEVEL[3978], MAP_CENTER[3978]], @@ -532,22 +523,38 @@ export const DEFAULT_MAP_FEATURE_CONFIG = { maxExtent: MAP_EXTENTS[3978], projection: 3978, }, + basemapOptions: { + basemapId: 'transport', + shaded: true, + labeled: true, + }, + highlightColor: DEFAULT_HIGHLIGHT_COLOR, + overlayObjects: { + pointMarkers: {}, + }, + listOfGeoviewLayerConfig: [], extraOptions: {}, }, - theme: 'geo.ca', + components: ['north-arrow', 'overview-map'], + overviewMap: { hideOnZoom: 0 }, navBar: ['zoom', 'rotation', 'fullscreen', 'home', 'basemap-select'], + appBar: { tabs: { core: ['geolocator', 'legend', 'details', 'export'] } }, footerBar: { tabs: { core: ['layers', 'data-table'], custom: [], }, }, - components: ['north-arrow', 'overview-map'], - appBar: { tabs: { core: ['geolocator', 'legend', 'details', 'export'] } }, corePackages: [], - corePackagesConfig: [], - overviewMap: { hideOnZoom: 0 }, - externalPackages: [], + globalSettings: { + canRemoveSublayers: true, + disabledLayerTypes: [], + showUnsymbolizedFeatures: false, + showLayerHighlightLayerBbox: true, + coordinateInfoEnabled: false, + hideCoordinateInfoSwitch: false, + displayDateMode: 'long', + }, serviceUrls: { geocoreUrl: CONFIG_GEOCORE_URL, rcsUrl: CONFIG_RCS_URL, @@ -558,16 +565,9 @@ export const DEFAULT_MAP_FEATURE_CONFIG = { ntsSheetUrl: CONFIG_NTS_SHEET_URL, altitudeUrl: CONFIG_ALTITUDE_URL, }, - globalSettings: { - canRemoveSublayers: true, - disabledLayerTypes: [], - showUnsymbolizedFeatures: false, - showLayerHighlightLayerBbox: true, - coordinateInfoEnabled: false, - hideCoordinateInfoSwitch: false, - displayDateMode: 'long', - }, - configMeta: { version: '1.0' }, + theme: 'geo.ca', + corePackagesConfig: [], + externalPackages: [], } as unknown as MapFeatureConfig; /** Definition of the default order of the tabs inside appbar. */ diff --git a/packages/geoview-core/webpack.common.js b/packages/geoview-core/webpack.common.js index 62b7bc65e9c..76282fbae18 100644 --- a/packages/geoview-core/webpack.common.js +++ b/packages/geoview-core/webpack.common.js @@ -38,7 +38,7 @@ const releaseNavigatorPlugin = new HtmlWebpackPlugin({ inject: false, // Don't inject any scripts }); -// inject all demos files +// inject all demos specific files const multipleHtmlPluginsDemos = globSync('./public/templates/demos/*.html').map((name) => { const filename = path.basename(name); return new HtmlWebpackPlugin({ @@ -51,8 +51,21 @@ const multipleHtmlPluginsDemos = globSync('./public/templates/demos/*.html').map }); }); -// inject all outlier files -const multipleHtmlPluginsOutliers = globSync('./public/templates/outliers/*.html').map((name) => { +// inject all demos specific files +const multipleHtmlPluginsDemosSpecific = globSync('./public/templates/demos-specific/*.html').map((name) => { + const filename = path.basename(name); + return new HtmlWebpackPlugin({ + template: `${name}`, + filename: filename, + title: 'Canadian Geospatial Platform Viewer', + inject: 'head', + scriptLoading: 'blocking', + chunks: ['cgpv-main'], + }); +}); + +// inject all test and outlier files +const multipleHtmlPluginsOutliersTests = globSync('./public/templates/tests/*.html').map((name) => { const filename = path.basename(name); return new HtmlWebpackPlugin({ template: `${name}`, @@ -290,7 +303,8 @@ const config = { .concat(releaseNavigatorPlugin) .concat(multipleHtmlPluginsSamples) .concat(multipleHtmlPluginsDemos) - .concat(multipleHtmlPluginsOutliers), + .concat(multipleHtmlPluginsDemosSpecific) + .concat(multipleHtmlPluginsOutliersTests), performance: { maxEntrypointSize: 7 * 1024 * 1024, // 7 MiB From f949e514054d45dcd7e1d853a7417d10a791582b Mon Sep 17 00:00:00 2001 From: Johann Levesque Date: Thu, 4 Jun 2026 14:26:13 -0400 Subject: [PATCH 7/9] Fix shortcut (detail-chart; layer-timeslier/datatable) when multiple maps --- .../core/components/common/hooks/use-navigate-to-tab.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/geoview-core/src/core/components/common/hooks/use-navigate-to-tab.ts b/packages/geoview-core/src/core/components/common/hooks/use-navigate-to-tab.ts index 95d28b289b5..70f967676fb 100644 --- a/packages/geoview-core/src/core/components/common/hooks/use-navigate-to-tab.ts +++ b/packages/geoview-core/src/core/components/common/hooks/use-navigate-to-tab.ts @@ -8,7 +8,7 @@ import { scrollIfNotVisible } from '@/core/utils/utilities'; import { logger } from '@/core/utils/logger'; import type { TypeValidAppBarCoreProps, TypeValidFooterBarTabsCoreProps } from '@/api/types/map-schema-types'; import { TIMEOUT } from '@/core/utils/constant'; -import { useUIController } from '@/core/controllers/use-controllers'; +import { useMapController, useUIController } from '@/core/controllers/use-controllers'; /** Options for navigating to a tab. */ interface NavigateToTabOptions { @@ -29,6 +29,7 @@ export function useNavigateToTab(tabId: string, onNavigate?: (layerPath: string) const { isOpen: isFooterOpen } = useStoreUIActiveFooterBarTab(); const footerBarComponents = useStoreUIFooterBarComponents(); const appBarComponents = useStoreUIAppbarComponents(); + const mapId = useMapController().getMapId(); // Check if tab exists in footer or appbar const hasFooterTab = footerBarComponents.includes(tabId as TypeValidFooterBarTabsCoreProps); @@ -58,7 +59,7 @@ export function useNavigateToTab(tabId: string, onNavigate?: (layerPath: string) } // Scroll the footer into view - const footer = document.querySelector('.tabsContainer'); + const footer = document.querySelector(`#${mapId}-tabsContainer`); if (footer) { scrollIfNotVisible(footer as HTMLElement, 'start'); } @@ -75,6 +76,6 @@ export function useNavigateToTab(tabId: string, onNavigate?: (layerPath: string) }, delay); } }, - [hasTab, hasFooterTab, hasAppBarTab, isFooterOpen, tabId, onNavigate, uiController] + [hasTab, hasFooterTab, hasAppBarTab, tabId, uiController, isFooterOpen, onNavigate, mapId] ); } From e2e723df26a6e9bc416617200132341c477c6ed3 Mon Sep 17 00:00:00 2001 From: Johann Levesque Date: Fri, 5 Jun 2026 08:15:23 -0400 Subject: [PATCH 8/9] fix comment and add new props to config ref and sandbox --- docs/app/config/configuration-reference.md | 22 +++++++++++++------ .../public/templates/sandbox.html | 8 +++++++ .../common/hooks/use-navigate-to-tab.ts | 5 +++-- 3 files changed, 26 insertions(+), 9 deletions(-) diff --git a/docs/app/config/configuration-reference.md b/docs/app/config/configuration-reference.md index 1c73f2ac810..97fd5f48a55 100644 --- a/docs/app/config/configuration-reference.md +++ b/docs/app/config/configuration-reference.md @@ -39,7 +39,7 @@ GeoView uses JSON Schema validation to ensure configuration objects are valid be When a validation error occurs, you'll see a message in the console with the following information: ``` -====================================================================== +SCHEMA VALIDATION SchemaPath: https://cgpv/schema#/definitions/TypeMapFeaturesInstance Schema error: { instancePath: '/map/viewSettings/projection', @@ -207,6 +207,7 @@ viewSettings: { homeView?: TypeMapViewSettings; enableRotation?: boolean; rotation?: number; + initialClickCoordinate? : Coordinate; maxExtent?: Extent; minZoom?: number; maxZoom?: number; @@ -237,6 +238,8 @@ TypeMapViewSettings: { - **rotation** (Optional): The initial rotation for the view in **degrees** (positive rotation clockwise, 0 means North). Will be converted to radians by the viewer. Domain = [0..360] (default: 0) +- **initialClickCoordinate** (Optional): The initial coordinate for the map click interaction. Called with [longitude, latitude] coordinates. + - **maxExtent** (Optional): The extent that constrains the view. Called with [minX, minY, maxX, maxY] extent coordinates (default: [-135, 25, -50, 89]) - **minZoom** (Optional): The minimum zoom level used to determine the resolution constraint. Domain = [0..20]. If not set, will use default from basemap (default: 0) @@ -544,6 +547,7 @@ appBar?: { collapsed: boolean; selectedTab: TypeValidAppBarCoreProps; selectedLayersLayerPath: string; + selectedDetailsLayerPath: string; selectedDataTableLayerPath: string; selectedTimeSliderLayerPath: string; }; @@ -560,24 +564,24 @@ TypeValidAppBarCoreProps = "about-panel" | "geolocator" | "export" | "aoi-panel" - `"export"` - Map export functionality - `"aoi-panel"` - **AOI Panel package** - Area of interest selection - `"custom-legend"` - **Custom Legend package** - Custom legend display - - `"stac-broswer"` - **Custom Stac Browser package** - Browse Stac + - `"stac-browser"` - **Custom Stac Browser package** - Browse Stac - `"guide"` - User guide tab - `"legend"` - Layer legend display - `"details"` - Feature details viewer - `"data-table"` - Tabular data view - `"layers"` - Layer list and management -- **collapsed**: Whether the app bar is initially collapsed - - **selectedTab**: The initially selected tab - **selectedLayersLayerPath**: Layer path for layers tab selection +- **selectedDetailsLayerPath**: Layer path for details tab selection + - **selectedDataTableLayerPath**: Layer path for data table tab selection - **selectedTimeSliderLayerPath**: Layer path for time slider tab selection -**Default:** `{ tabs: { core: ["geolocator"] }, collapsed: false }` +**Default:** `{ tabs: { core: ["geolocator", "legend", "details", "export"] } }` **Example:** @@ -637,11 +641,15 @@ TypeFooterBarTabsCustomProps = { - **selectedLayersLayerPath**: Layer path for layers tab selection +- **selectedDetailsLayerPath**: Layer path for details tab selection + - **selectedDataTableLayerPath**: Layer path for data table tab selection - **selectedTimeSliderLayerPath**: Layer path for time slider tab selection -**Default:** `{ tabs: { core: ["legend", "layers", "details", "data-table"], custom: [] }, collapsed: false }` +- **selectedGeochartLayerPath**: Layer path for geochart tab selection + +**Default:** `{ tabs: { core: ["layers", "data-table"] } }` **Example:** @@ -669,7 +677,7 @@ corePackages?: Array<"swiper" | "test-suite">; **Available Packages:** -- `"swiper"` - Layer swipe comparison tool +- `"swiper"` - **Swiper package** - Layer swipe comparison tool - `"test-suite"` - GeoView test suite (for development/testing only) **Example:** diff --git a/packages/geoview-core/public/templates/sandbox.html b/packages/geoview-core/public/templates/sandbox.html index e9161deda88..cafdec83606 100644 --- a/packages/geoview-core/public/templates/sandbox.html +++ b/packages/geoview-core/public/templates/sandbox.html @@ -346,6 +346,11 @@
    Available Options (TypeViewSettings):

    Default: 0

    +
    +

    initialClickCoordinate array optional

    +

    The initial coordinate for the map click interaction. Called with [longitude, latitude] coordinates.

    +
    +

    maxExtent array optional

    The extent that constrains the view. Called with [minX, minY, maxX, maxY] extent coordinates.

    @@ -647,6 +652,7 @@
    Available Options:
  • selectedTab - Initially selected tab
  • selectedLayersLayerPath - Initial selected layer in layers tab
  • +
  • selectedDetailsLayerPath - Initial selected layer in details tab
  • selectedDataTableLayerPath - Initially selected layer in data table tab
  • selectedTimeSliderLayerPath - Initially selected layer in time slider tab
  • @@ -681,8 +687,10 @@
    Available Options:
  • selectedTab - Initially selected tab
  • selectedLayersLayerPath - Initial selected layer in layers tab
  • +
  • selectedDetailsLayerPath - Initial selected layer in details tab
  • selectedDataTableLayerPath - Initially selected layer in data table tab
  • selectedTimeSliderLayerPath - Initially selected layer in time slider tab
  • +
  • selectedGeochartLayerPath - Initial selected layer in geochart tab
  • Default: { tabs: { core: ['layers', 'data-table'], custom: [] } }

    diff --git a/packages/geoview-core/src/core/components/common/hooks/use-navigate-to-tab.ts b/packages/geoview-core/src/core/components/common/hooks/use-navigate-to-tab.ts index 70f967676fb..9b9c7e4e133 100644 --- a/packages/geoview-core/src/core/components/common/hooks/use-navigate-to-tab.ts +++ b/packages/geoview-core/src/core/components/common/hooks/use-navigate-to-tab.ts @@ -8,7 +8,8 @@ import { scrollIfNotVisible } from '@/core/utils/utilities'; import { logger } from '@/core/utils/logger'; import type { TypeValidAppBarCoreProps, TypeValidFooterBarTabsCoreProps } from '@/api/types/map-schema-types'; import { TIMEOUT } from '@/core/utils/constant'; -import { useMapController, useUIController } from '@/core/controllers/use-controllers'; +import { useStoreGeoViewMapId } from '@/core/stores'; +import { useUIController } from '@/core/controllers/use-controllers'; /** Options for navigating to a tab. */ interface NavigateToTabOptions { @@ -29,7 +30,7 @@ export function useNavigateToTab(tabId: string, onNavigate?: (layerPath: string) const { isOpen: isFooterOpen } = useStoreUIActiveFooterBarTab(); const footerBarComponents = useStoreUIFooterBarComponents(); const appBarComponents = useStoreUIAppbarComponents(); - const mapId = useMapController().getMapId(); + const mapId = useStoreGeoViewMapId(); // Check if tab exists in footer or appbar const hasFooterTab = footerBarComponents.includes(tabId as TypeValidFooterBarTabsCoreProps); From 4bcb8bf658814e51ea885e16f8ac52faa0f35bd6 Mon Sep 17 00:00:00 2001 From: Johann Levesque Date: Fri, 5 Jun 2026 08:39:18 -0400 Subject: [PATCH 9/9] stash error handling --- .github/copilot-instructions.md | 32 ---------- .../geo/layer/gv-layers/abstract-gv-layer.ts | 59 ++++--------------- 2 files changed, 11 insertions(+), 80 deletions(-) diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index eaeb66167d5..6a8063da186 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -294,38 +294,6 @@ Both effective scales are rounded, then expanded into tolerance boundaries using **Feature-query gating** — `AbstractLayerSet.queryLayerFeatures()` must gate queries with `isInVisibleRange(...)` using current resolution, current scale, and `computeEffectiveLayerScales(...)`, not zoom-only checks. -### Layer Load Error Handling Strategy - -`AbstractGVLayer` in `abstract-gv-layer.ts` handles three categories of load errors from OpenLayers sources. The strategy distinguishes between **partial failures** (individual tiles/features) and **total failures** (the source itself is broken). - -**Event registration** (in `init()`): - -| OL Events | Handler | Layer types affected | -| ------------------------------------ | ----------------------- | -------------------------------------------------- | -| `tileloaderror`, `featuresloaderror` | `#handleError` | WMTS, WMS (tiled), XYZ, Vector Tiles, ESRI, Vector | -| `imageloaderror` | `#handleImageLoadError` | WMS Image, ESRI Image, Static Image | -| Source `change` (state = `'error'`) | `#handleSourceChange` | All layer types | - -**Error handling behavior:** - -| Handler | Fatal? | Behavior | Rationale | -| ----------------------- | -------------------------- | ----------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `#handleError` | **Never** | Routes to `#handleLoaded` to resolve the loading counter. Logs a warning. | Individual tile/feature failures are normal (edge tiles outside bounds, sparse tile sets, transient 404s). Other tiles still render. The layer is partially functional. | -| `#handleImageLoadError` | **Always** | Calls `onImageLoadError()` → sets status to `'error'`, shows notification. | WMS Image uses a single image per view. If it fails, nothing renders. `AbstractGVRaster` overrides `onImageLoadError()` with rescue logic for recoverable cases. Recovery happens automatically when the next pan/zoom triggers a new GetMap request that succeeds → `onLoaded()` restores the status. | -| `#handleSourceChange` | **Only before first load** | If `loadedOnce === false`, calls `onError()` → fatal. If `loadedOnce === true`, logs a warning and returns. | Catches source-level failures (e.g., capabilities fetch failed, service completely unreachable). Once the layer has loaded successfully, transient source state errors are ignored. | - -**Loading counter system** — Each `tileloadstart`/`imageloadstart`/`featuresloadstart` increments `loadingCounter` and stamps the event wrapper with the current count. `#handleLoaded` only calls `onLoaded()` when the event's stamp matches the current counter (i.e., it's the last load that started). This ensures only the final load cycle determines the layer's status transition. - -**Why `#handleError` routes through `#handleLoaded`** — The loading counter must be resolved for every load cycle that started. If a tile error doesn't resolve the counter and the errored tile was the last to start loading, the counter stays stuck and `onLoaded()` never fires for that cycle. By routing through `#handleLoaded`, the counter resolves normally and the status transitions to `'loaded'` (since `onLoaded()` calls `setLayerStatusLoaded()`). - -**Recovery flow for WMS Image layers:** - -1. Image fails → `#handleImageLoadError` → `onImageLoadError()` → status = `'error'`, notification shown -2. User pans/zooms → new GetMap request with different extent/size -3. If new image succeeds → `#handleLoaded` → `onLoaded()` → `setLayerStatusLoaded()` → status back to `'loaded'` - -**Key invariant:** `onError()` and `onImageLoadError()` both check `if (layerStatusBefore !== 'error')` before emitting the error notification. This prevents spamming the user with repeated error messages for the same layer. - ### Time Dimension & Time Slider See [time-dimension.md](../docs/programming/time-dimension.md) for the full architecture documentation. diff --git a/packages/geoview-core/src/geo/layer/gv-layers/abstract-gv-layer.ts b/packages/geoview-core/src/geo/layer/gv-layers/abstract-gv-layer.ts index 4bb93eaa020..f02353984bf 100644 --- a/packages/geoview-core/src/geo/layer/gv-layers/abstract-gv-layer.ts +++ b/packages/geoview-core/src/geo/layer/gv-layers/abstract-gv-layer.ts @@ -561,12 +561,7 @@ export abstract class AbstractGVLayer extends AbstractBaseGVLayer { this.#setLayerFiltersInitial(this.getLayerConfig().getLayerFilter()); this.#setLayerFiltersClass(); - // Activation of the load end/error listeners. - // Three categories of OL source events are handled: - // - tileloaderror / featuresloaderror → #handleError (always non-fatal, routes to #handleLoaded) - // - imageloaderror → #handleImageLoadError (always fatal — single image = entire view) - // - source 'change' with state='error' → #handleSourceChange (fatal only before first load) - // See copilot-instructions.md "Layer Load Error Handling Strategy" for the full rationale. + // Activation of the load end/error listeners // eslint-disable-next-line @typescript-eslint/no-explicit-any (this.#olSource as any).on(['featuresloadstart', 'imageloadstart', 'tileloadstart'], this.#handleLoading.bind(this)); // eslint-disable-next-line @typescript-eslint/no-explicit-any @@ -576,7 +571,7 @@ export abstract class AbstractGVLayer extends AbstractBaseGVLayer { // eslint-disable-next-line @typescript-eslint/no-explicit-any (this.#olSource as any).on(['imageloaderror'], this.#handleImageLoadError.bind(this)); - // Activate source change listener to catch source-level errors (e.g., capabilities fetch failed) + // Activate source change listener to catch error // eslint-disable-next-line @typescript-eslint/no-explicit-any (this.#olSource as any).on('change', this.#handleSourceChange.bind(this)); @@ -1222,12 +1217,6 @@ export abstract class AbstractGVLayer extends AbstractBaseGVLayer { /** * Handles when the layer goes into a loaded state. * - * Only calls onLoaded() when the event's loading counter matches the current global counter, - * meaning this is the last load cycle that started. Earlier cycles are silently skipped. - * Both successful loads (tileloadend/featuresloadend/imageloadend) and non-fatal errors - * (tileloaderror/featuresloaderror via #handleError) route through this method to resolve - * the loading counter. - * * @param event - The event which is being triggered */ #handleLoaded(event: Event): void { @@ -1246,36 +1235,23 @@ export abstract class AbstractGVLayer extends AbstractBaseGVLayer { } /** - * Handles when a tile or feature fails to load. - * - * Individual tile/feature load errors are always non-fatal. A single failed tile (e.g., WMTS tile outside - * the tile matrix bounds, WMS tiled edge tile, XYZ 404, sparse vector tile, transient network failure) - * should never mark the entire layer as failed. Routes through #handleLoaded so the loading counter - * resolves normally and the layer status returns to (or stays at) 'loaded'. - * - * If the source itself is broken (e.g., capabilities fetch failed, service unreachable), - * #handleSourceChange will catch the source-level 'error' state and fire the fatal error path. - * - * For WMS Image layers (single image per view), errors are handled separately by #handleImageLoadError - * which always treats them as fatal. + * Handles when the layer is in error and couldn't be loaded correctly. * * @param event - The event which is being triggered */ #handleError(event: Event): void { // Log - logger.logWarning(`A tile or feature failed to load for layer: ${this.getLayerPath()}.`, event); + logger.logError(`An error happened on the layer: ${this.getLayerPath()} after it was processed and added on the map.`, event); + + // Decipher the error, allowing children classes to be more specific (ex: Vector specific errors) + const gvError = this.onErrorDecipherError(event); - // Route through #handleLoaded to resolve the loading counter - this.#handleLoaded(event); + // Call overridable method + this.onError(gvError); } /** - * Handles when the layer image source is in error and couldn't be loaded correctly. - * - * Unlike tile errors (where individual tile failures are non-fatal), an image load error means the entire - * layer is not rendering (WMS Image layers use a single image per view). This is always treated as fatal. - * The AbstractGVRaster subclass overrides onImageLoadError() with rescue logic for recoverable cases. - * When the map is panned/zoomed, a new image request may succeed and onLoaded() will restore the status. + * Handles when the layer is in error and couldn't be loaded correctly. * * @param event - The event which is being triggered */ @@ -1291,26 +1267,13 @@ export abstract class AbstractGVLayer extends AbstractBaseGVLayer { } /** - * Handles when the source state changes to detect source-level errors. - * - * This is the fatal error path for source-level failures (e.g., capabilities fetch failed, - * service completely unreachable). Individual tile/feature errors do NOT trigger this handler — - * they are handled by #handleError which treats them as non-fatal. - * - * Once the layer has loaded successfully at least once (loadedOnce === true), source state errors - * are treated as transient and logged as warnings without changing the layer status. + * Method called when the layer source changes to check for errors. * * @param event - The event which is being triggered */ #handleSourceChange(event: Event): void { const state = this.#olSource.getState(); if (state === 'error') { - // If the layer has already loaded successfully, a transient source error is non-fatal - if (this.loadedOnce) { - logger.logWarning(`Source state changed to error for layer: ${this.getLayerPath()}. The layer remains functional.`, event); - return; - } - // Decipher the error, allowing children classes to be more specific const gvError = this.onErrorDecipherError(event);