diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index fb5e7ce802a..dba073a6695 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -893,7 +893,7 @@ packages: dependencies: '@babel/compat-data': 7.23.5 '@babel/helper-validator-option': 7.23.5 - browserslist: 4.22.3 + browserslist: 4.23.0 lru-cache: 5.1.1 semver: 6.3.1 dev: true @@ -2700,8 +2700,8 @@ packages: '@jridgewell/trace-mapping': 0.3.22 dev: true - /@jridgewell/resolve-uri@3.1.1: - resolution: {integrity: sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==} + /@jridgewell/resolve-uri@3.1.2: + resolution: {integrity: sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==} engines: {node: '>=6.0.0'} dev: true @@ -2724,7 +2724,7 @@ packages: /@jridgewell/trace-mapping@0.3.22: resolution: {integrity: sha512-Wf963MzWtA2sjrNt+g18IAln9lKnlRp+K2eH4jjIoF1wYeq3aMREpG09xhlhdzS0EjwU7qmUJYangWa+151vZw==} dependencies: - '@jridgewell/resolve-uri': 3.1.1 + '@jridgewell/resolve-uri': 3.1.2 '@jridgewell/sourcemap-codec': 1.4.15 dev: true @@ -4381,15 +4381,15 @@ packages: resolution: {integrity: sha512-9o5UecI3GhkpM6DrXr69PblIuWxPKk9Y0jHBRhdocZ2y7YECBFCsHm79Pr3OyR2AvjhDkabFJaDJMYRazHgsow==} dev: true - /browserslist@4.22.3: - resolution: {integrity: sha512-UAp55yfwNv0klWNapjs/ktHoguxuQNGnOzxYmfnXIS+8AsRDZkSDxg7R1AX3GKzn078SBI5dzwzj/Yx0Or0e3A==} + /browserslist@4.23.0: + resolution: {integrity: sha512-QW8HiM1shhT2GuzkvklfjcKDiWFXHOeFCIA/huJPwHsslwcydgk7X+z2zXpEijP98UCY7HbubZt5J2Zgvf0CaQ==} engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true dependencies: caniuse-lite: 1.0.30001587 - electron-to-chromium: 1.4.668 + electron-to-chromium: 1.4.669 node-releases: 2.0.14 - update-browserslist-db: 1.0.13(browserslist@4.22.3) + update-browserslist-db: 1.0.13(browserslist@4.23.0) dev: true /bser@2.1.1: @@ -4721,7 +4721,7 @@ packages: /core-js-compat@3.36.0: resolution: {integrity: sha512-iV9Pd/PsgjNWBXeq8XRtWVSgz2tKAfhfvBs7qxYty+RlRd+OCksaWmOnc4JKrTc1cToXL1N0s3l/vwlxPtdElw==} dependencies: - browserslist: 4.22.3 + browserslist: 4.23.0 dev: true /core-js-pure@3.36.0: @@ -5085,8 +5085,8 @@ packages: resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==} dev: true - /electron-to-chromium@1.4.668: - resolution: {integrity: sha512-ZOBocMYCehr9W31+GpMclR+KBaDZOoAEabLdhpZ8oU1JFDwIaFY0UDbpXVEUFc0BIP2O2Qn3rkfCjQmMR4T/bQ==} + /electron-to-chromium@1.4.669: + resolution: {integrity: sha512-E2SmpffFPrZhBSgf8ibqanRS2mpuk3FIRDzLDwt7WFpfgJMKDHJs0hmacyP0PS1cWsq0dVkwIIzlscNaterkPg==} dev: true /email-addresses@3.1.0: @@ -9713,13 +9713,13 @@ packages: engines: {node: '>= 0.8'} dev: true - /update-browserslist-db@1.0.13(browserslist@4.22.3): + /update-browserslist-db@1.0.13(browserslist@4.23.0): resolution: {integrity: sha512-xebP81SNcPuNpPP3uzeW1NYXxI3rxyJzF3pD6sH4jE7o/IX+WtSpwnVU+qIsDPyk0d3hmFQ7mjqc6AtV604hbg==} hasBin: true peerDependencies: browserslist: '>= 4.21.0' dependencies: - browserslist: 4.22.3 + browserslist: 4.23.0 escalade: 3.1.2 picocolors: 1.0.0 dev: true @@ -10014,7 +10014,7 @@ packages: '@webassemblyjs/wasm-parser': 1.11.6 acorn: 8.11.3 acorn-import-assertions: 1.9.0(acorn@8.11.3) - browserslist: 4.22.3 + browserslist: 4.23.0 chrome-trace-event: 1.0.3 enhanced-resolve: 5.15.0 es-module-lexer: 1.4.1 diff --git a/packages/geoview-core/public/configs/raw-app-bar.json b/packages/geoview-core/public/configs/raw-app-bar.json new file mode 100644 index 00000000000..d2ccd12b193 --- /dev/null +++ b/packages/geoview-core/public/configs/raw-app-bar.json @@ -0,0 +1,178 @@ +{ + "map": { + "interaction": "dynamic", + "viewSettings": { + "zoom": 3, + "center": [ + -100, + 50 + ], + "projection": 3978 + }, + "basemapOptions": { + "basemapId": "osm", + "shaded": false, + "labeled": false + }, + "listOfGeoviewLayerConfig": [ + { + "geoviewLayerId": "esriFeatureLYR4", + "geoviewLayerName": { + "en": "Water quality at monitoring sites", + "fr": "Qualité eau" + }, + "metadataAccessPath": { + "en": "https://maps-cartes.ec.gc.ca/arcgis/rest/services/DMS/DEU_CSO_Volume/MapServer", + "fr": "https://maps-cartes.ec.gc.ca/arcgis/rest/services/DMS/DEU_CSO_Volume/MapServer" + }, + "geoviewLayerType": "esriFeature", + "initialSettings": { + "visible": "always" + }, + "listOfLayerEntryConfig": [ + { + "layerId": "8" + } + ] + }, + { + "geoviewLayerId": "uniqueValueId", + "geoviewLayerName": { + "en": "uniqueValue", + "fr": "uniqueValue" + }, + "metadataAccessPath": { + "en": "https://maps-cartes.ec.gc.ca/arcgis/rest/services/CESI/MapServer/", + "fr": "https://maps-cartes.ec.gc.ca/arcgis/rest/services/CESI/MapServer/" + }, + "geoviewLayerType": "esriFeature", + "listOfLayerEntryConfig": [ + { + "layerId": "1" + } + ] + }, + { + "geoviewLayerId": "esriFeatureLYR5", + "geoviewLayerName": { + "en": "Top Projects", + "fr": "Projets super" + }, + "metadataAccessPath": { + "en": "https://maps-cartes.services.geo.ca/server_serveur/rest/services/NRCan/900A_and_top_100_en/MapServer/", + "fr": "https://maps-cartes.services.geo.ca/server_serveur/rest/services/NRCan/900A_and_top_100_en/MapServer/" + }, + "geoviewLayerType": "esriFeature", + "listOfLayerEntryConfig": [ + { + "layerId": "0" + } + ] + }, + { + "geoviewLayerId": "geojsonLYR1", + "geoviewLayerName": { + "en": "GeoJSON Sample", + "fr": "GeoJSON Échantillon" + }, + "metadataAccessPath": { + "en": "./datasets/geojson/metadata.json", + "fr": "./datasets/geojson/metadata.json" + }, + "geoviewLayerType": "GeoJSON", + "listOfLayerEntryConfig": [ + { + "layerId": "polygons.json", + "layerName": { + "en": "Polygons", + "fr": "Polygones" + } + }, + { + "layerId": "lines.json", + "layerName": { + "en": "Lines", + "fr": "Lignes" + } + }, + { + "entryType": "group", + "layerId": "point-feature-group", + "layerName": { + "en": "point-feature-group", + "fr": "point-feature-group" + }, + "listOfLayerEntryConfig": [ + { + "layerId": "icon_points.json", + "layerName": { + "en": "Icons", + "fr": "Icones" + }, + "initialSettings": { + "visible": "yes" + } + }, + { + "layerId": "points.json", + "layerName": { + "en": "Points", + "fr": "Points" + } + }, + { + "layerId": "points_1.json", + "layerName": { + "en": "Points 1", + "fr": "Points 1" + } + }, + { + "layerId": "points_2.json", + "layerName": { + "en": "Points 2", + "fr": "Points 2" + } + }, + { + "layerId": "points_3.json", + "layerName": { + "en": "Points 3", + "fr": "Points 3" + } + } + ] + } + ] + } + ] + }, + "theme": "geo.ca", + "appBar": { + "tabs": { + "core": [ + "geolocator", + "export", + "guide", + "details", + "legend" + ] + } + }, + "navBar": [ + "zoom", + "fullscreen", + "home", + "location", + "export" + ], + "components": [ + "north-arrow" + ], + "corePackages": [], + "externalPackages": [], + "suportedLanguages": [ + "en", + "fr" + ] +} \ No newline at end of file diff --git a/packages/geoview-core/public/index.html b/packages/geoview-core/public/index.html index e014068bf14..0347aca9621 100644 --- a/packages/geoview-core/public/index.html +++ b/packages/geoview-core/public/index.html @@ -1,70 +1,76 @@ -
- - -