diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index f75e9977aac..eaeb66167d5 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,42 @@ 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. 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. + ### 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 62884c99763..93c0bee14ec 100644 --- a/docs/app/config/README.md +++ b/docs/app/config/README.md @@ -75,29 +75,30 @@ 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 +│ ├── overlayObjects +│ ├── listOfGeoviewLayerConfig[] │ └── extraOptions -├── theme +├── components[] +├── overviewMap +├── navBar (controls) ├── appBar (tabs) ├── footerBar (tabs) -├── navBar (controls) -├── overviewMap -├── components[] ├── corePackages[] -├── corePackagesConfig[] -├── externalPackages[] -├── serviceUrls ├── globalSettings -└── schemaVersionUsed +├── serviceUrls +├── theme +├── corePackagesConfig[] +└── externalPackages[] ``` ## 🔗 Related Documentation diff --git a/docs/app/config/configuration-reference.md b/docs/app/config/configuration-reference.md index eae6e53a64d..99d15c94f12 100644 --- a/docs/app/config/configuration-reference.md +++ b/docs/app/config/configuration-reference.md @@ -96,25 +96,63 @@ 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; - schemaVersionUsed?: TypeValidVersions; } ``` +### 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 | `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_. + ### TypeMapConfig Main map configuration object. @@ -122,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. @@ -296,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 +} ``` --- @@ -360,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. @@ -380,11 +418,6 @@ extraOptions?: object; ```json "map": { - "basemapOptions": { - "basemapId": "transport", - "shaded": true, - "labeled": true - }, "interaction": "dynamic", "viewSettings": { "projection": 3978, @@ -395,6 +428,11 @@ extraOptions?: object; "maxZoom": 18, "enableRotation": false }, + "basemapOptions": { + "basemapId": "transport", + "shaded": true, + "labeled": true + }, "listOfGeoviewLayerConfig": [ { "geoviewLayerId": "my-layer", @@ -407,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 +} ``` --- @@ -463,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 @@ -509,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 @@ -571,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) @@ -732,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 c99dbd63471..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,49 +1,48 @@ -{ - "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" - } - } - } - ] - } - } - } - ] -} +{ + "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/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..ff7ae0e5c5b 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,17 @@ } ] }, - "theme": "geo.ca", "components": ["north-arrow", "overview-map"], + "appBar": { + "tabs": { + "core": ["details", "geolocator"] + } + }, "footerBar": { "tabs": { "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..88720530dce 100644 --- a/packages/geoview-core/public/configs/loading-packages-config.json +++ b/packages/geoview-core/public/configs/loading-packages-config.json @@ -10,13 +10,33 @@ "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"] + "footerBar": { + "tabs": { + "core": [] + } + }, + "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..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,4 +1,7 @@ { + "configMeta": { + "description": "FooterBar with layers tab, overlay point markers, intentional bad URL layer, and canRemoveSublayers disabled." + }, "map": { "interaction": "dynamic", "viewSettings": { @@ -120,7 +123,9 @@ "layerId": "points_1.json", "layerName": "Points 1", "initialSettings": { - "controls": { "remove": true } + "controls": { + "remove": true + } } }, { @@ -137,8 +142,12 @@ } ] }, - "theme": "geo.ca", "components": ["north-arrow", "overview-map"], + "appBar": { + "tabs": { + "core": ["geolocator", "export"] + } + }, "footerBar": { "tabs": { "core": ["legend", "details", "layers", "data-table"] @@ -147,13 +156,8 @@ "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..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 @@ -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,41 @@ } ] }, - "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": [], + "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 +141,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 +174,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 9fc2ab8f308..f5c3d025f4d 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,29 @@ } ] }, - "theme": "light", - "components": ["north-arrow", "overview-map"], + "components": [ + "north-arrow", + "overview-map" + ], "appBar": { "tabs": { - "core": ["legend"] + "core": [ + "legend" + ] } }, - "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..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,4 +1,7 @@ { + "configMeta": { + "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", "viewSettings": { @@ -10,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" @@ -65,16 +79,27 @@ } ] }, - "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", + "time-slider" + ] }, "selectedTab": "layers" }, @@ -99,6 +124,8 @@ "showUnsymbolizedFeatures": true, "showLayerHighlightLayerBbox": false, "coordinateInfoEnabled": true, - "hideCoordinateInfoSwitch": false - } + "hideCoordinateInfoSwitch": true, + "displayDateMode": "iso" + }, + "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 6fcb850f8d0..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": { @@ -10,6 +13,182 @@ "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": "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 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", @@ -202,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 3e5899dc55f..5d4aef0e024 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,25 +36,30 @@ "listOfLayerEntryConfig": [ { "layerId": "icon_points.json", - "layerName": "Icons", - "initialSettings": { "states": { "visible": false } } + "layerName": "Icons - GeoJSON" }, { "layerId": "points.json", - "layerName": "Points" + "layerName": "Points - GeoJSON" } ] } ] }, + { + "geoviewLayerId": "shpLYR1", + "geoviewLayerName": "Crown lands - Shapefile", + "geoviewLayerType": "shapefile", + "metadataAccessPath": "./datasets/shapefiles/PLAN_CrownHarvestPlans_SHP_UT83.zip" + }, { "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 +68,20 @@ ] }, { - "geoviewLayerId": "historical-flood", - "geoviewLayerName": "Historical Flood Events (HFE)", + "geoviewLayerId": "esriDynamicLYR1", + "geoviewLayerName": "Forest Industry - Annotation 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": [ @@ -73,9 +90,20 @@ } ] }, + { + "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,36 +113,56 @@ ] }, { - "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], + "extent": [ + -87.77486341686723, + 51.62285357468582, + -84.57727128084842, + 53.833354975551075 + ], "projection": 4326 } } ] }, + { + "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 +171,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,47 +211,90 @@ ] }, { - "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" } ] } ] }, - "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 3763bed669c..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 @@ -28,35 +28,47 @@ "geoviewLayerType": "esriDynamic", "listOfLayerEntryConfig": [ { - "layerId": "ERROR", - "initialSettings": { - "controls": { - "query": true, - "hover": true - }, - "states": { - "queryable": false, - "hoverable": false - } - } + "layerId": "ERROR" } ] } ] }, - "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 4da61b2d621..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 @@ -1,8 +1,20 @@ { + "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": { - "initialView": { "zoomAndCenter": [5, [-90, 50]] }, + "initialView": { + "zoomAndCenter": [ + 5, + [ + -90, + 50 + ] + ] + }, "projection": 3857 }, "basemapOptions": { @@ -88,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 91b0a395986..f19380ea7af 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", @@ -65,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=", @@ -83,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==", @@ -96,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", @@ -109,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=", @@ -122,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=", @@ -135,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", @@ -148,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==", @@ -161,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", @@ -174,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==", @@ -187,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=", @@ -200,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==", @@ -213,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=", @@ -252,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 11303b028e2..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 @@ -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" } ] }, @@ -65,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": { @@ -87,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": { @@ -105,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": { @@ -123,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": { @@ -141,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": { @@ -159,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": { @@ -177,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": { @@ -195,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": { @@ -213,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": { @@ -237,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": { @@ -255,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 042edff5dfc..930d7c53407 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" } ] }, @@ -86,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": { @@ -108,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": { @@ -126,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": { @@ -144,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": { @@ -162,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": { @@ -180,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": { @@ -198,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": { @@ -216,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": { @@ -234,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": { @@ -258,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": { @@ -276,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 ae0ce95c464..d6e51015285 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" } ] }, @@ -83,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 01a33aca0b2..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 @@ -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": { @@ -130,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 + ] } } ] @@ -218,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 f621db6b640..bd93fa148a2 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": { @@ -20,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 dc8291a9bb6..08b0ed88cf8 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": { @@ -238,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": { @@ -263,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 00542edae00..03454268219 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", @@ -92,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 8c8ae047715..2aebcce41de 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", @@ -59,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)", @@ -80,7 +83,9 @@ { "label": "Inactive", "visible": true, - "values": ["inactive"], + "values": [ + "inactive" + ], "settings": { "type": "filledPolygon", "color": "rgba(231, 76, 60, 0.35)", @@ -95,7 +100,9 @@ { "label": "Maintenance", "visible": true, - "values": ["maintenance"], + "values": [ + "maintenance" + ], "settings": { "type": "filledPolygon", "color": "rgba(241, 196, 15, 0.35)", @@ -130,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 eff197df6d6..b8626714070 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": { @@ -74,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 6b3afdc2eff..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": { @@ -18,8 +26,7 @@ "geoviewLayerType": "ogcFeature", "listOfLayerEntryConfig": [ { - "layerId": "lakes", - "layerFilter": "name in ('Lake Victoria', 'Lake Superior', 'L. Erie', 'L. Ontario')" + "layerId": "lakes" } ] }, @@ -30,8 +37,7 @@ "geoviewLayerType": "ogcFeature", "listOfLayerEntryConfig": [ { - "layerId": "lakes", - "layerFilter": "name in ('Lake Victoria', 'Lake Superior', 'L. Erie', 'L. Ontario')" + "layerId": "lakes" }, { "layerId": "lakesERROR" @@ -40,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 7d71f9cf89a..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": { @@ -18,26 +26,47 @@ "geoviewLayerType": "ogcFeature", "listOfLayerEntryConfig": [ { - "layerId": "lakes", - "layerFilter": "name in ('Lake Victoria', 'Lake Superior', 'L. Erie', 'L. Ontario')" + "layerId": "lakes" } ] } ] }, - "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 de446fb28a8..abce7dd1c08 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" } ] }, @@ -43,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, @@ -61,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, @@ -79,7 +83,10 @@ }, "size": 4.002000000000001, "symbol": "circle", - "offset": [0, 0] + "offset": [ + 0, + 0 + ] } }, { @@ -97,7 +104,10 @@ }, "size": 4.002000000000001, "symbol": "circle", - "offset": [0, 0] + "offset": [ + 0, + 0 + ] } } ] @@ -108,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 1ad9b58eeaa..76c37dd28ff 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,26 +30,47 @@ "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" } ] } ] }, - "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 2ead24b405a..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": { @@ -19,8 +27,7 @@ "listOfLayerEntryConfig": [ { "layerId": "usa:states", - "layerName": "US States", - "layerFilter": "STATE_ABBR = 'NY'" + "layerName": "US States" } ] }, @@ -32,26 +39,47 @@ "listOfLayerEntryConfig": [ { "layerId": "usa:statesERROR", - "layerName": "US States", - "layerFilter": "STATE_ABBR = 'NY'" + "layerName": "US States" } ] } ] }, - "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 41ced15ef3e..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": { @@ -18,8 +26,7 @@ "geoviewLayerType": "ogcWfs", "listOfLayerEntryConfig": [ { - "layerId": "usa:states", - "layerFilter": "STATE_ABBR = 'NY'" + "layerId": "usa:states" } ] }, @@ -42,7 +49,9 @@ "listOfLayerEntryConfig": [ { "layerId": "mrds", - "source": { "strategy": "bbox" } + "source": { + "strategy": "bbox" + } } ] }, @@ -66,7 +75,6 @@ "listOfLayerEntryConfig": [ { "layerId": "ms:cities", - "layerFilter": "POPULATION >= 250000", "source": { "featureInfo": { "nameField": "NAME" @@ -83,7 +91,6 @@ "listOfLayerEntryConfig": [ { "layerId": "ms:cities", - "layerFilter": "POPULATION >= 250000", "wmsLayerId": "cities", "source": { "featureInfo": { @@ -95,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 f4f405793c9..d426b9b40db 100644 --- a/packages/geoview-core/public/configs/navigator/layers/wms-cdtk.json +++ b/packages/geoview-core/public/configs/navigator/layers/wms-cdtk.json @@ -45,24 +45,26 @@ "listOfLayerEntryConfig": [ { "layerId": "completed", - "initialSettings": { - "states": { - "visible": false - } - }, "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", @@ -72,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==", @@ -85,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=", @@ -101,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=", @@ -273,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 2935f864258..579bfbbe668 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" @@ -100,11 +99,8 @@ "layerId": "CURRENT_CONDITIONS" }, { - "layerId": "GDPS.ETA_ICEC", - "layerName": "Ice Cover", - "source": { - "wmsStyle": "SEA_ICECONC" - } + "layerId": "RADAR_1KM_RSNO", + "layerName": "Radar Snow" } ] } @@ -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" } ] }, @@ -271,19 +214,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 163f38481fb..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 @@ -18,11 +18,7 @@ "listOfLayerEntryConfig": [ { "layerId": "0", - "layerName": "World Topo Map", - "initialSettings": { - "minZoom": 3, - "maxZoom": 8 - } + "layerName": "World Topo Map" } ] }, @@ -43,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 a009bd39d9d..d376cd121c6 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" } ] }, @@ -40,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/datasets/geojson/metadata-blank.meta b/packages/geoview-core/public/datasets/geojson/metadata-blank.meta index bc72ad2b767..78a54025eae 100644 --- a/packages/geoview-core/public/datasets/geojson/metadata-blank.meta +++ b/packages/geoview-core/public/datasets/geojson/metadata-blank.meta @@ -1,5 +1,4 @@ { - "schemaVersionUsed": "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..87d1ebc9b47 100644 --- a/packages/geoview-core/public/datasets/geojson/metadata.json +++ b/packages/geoview-core/public/datasets/geojson/metadata.json @@ -1,5 +1,4 @@ { - "schemaVersionUsed": "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..f78d372c7ef 100644 --- a/packages/geoview-core/public/datasets/geojson/metadata.meta +++ b/packages/geoview-core/public/datasets/geojson/metadata.meta @@ -1,5 +1,4 @@ { - "schemaVersionUsed": "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..9bf3c3ad850 100644 --- a/packages/geoview-core/public/datasets/geojson/metadata1.meta +++ b/packages/geoview-core/public/datasets/geojson/metadata1.meta @@ -1,140 +1,139 @@ -{ - "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" - } - } - ] -} +{ + "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/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 1c3fc8228d3..7c5d15d7bd5 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' } ] }, @@ -112,13 +107,48 @@

1. Metadata Issue Layers

'layerId': '33' } ] + }, + { + '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' + } + ] } ] }, 'components': ['overview-map'], + 'appBar': { + 'tabs': { + 'core': ['legend', 'details', 'export'] + } + }, 'footerBar': { 'tabs': { - 'core': ['legend', 'layers', 'details', 'data-table'] + 'core': ['layers', 'data-table'] } }, 'corePackages': [], @@ -141,6 +171,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 +
  • @@ -176,9 +209,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': [], @@ -190,7 +228,7 @@

    2. ESRI Service Issue Layers

    Outlier Service:

    • - Sewer Overflow - Service has inexistant layer index + Sewer Overflow - Service has inexistant layer index View Service
    @@ -250,12 +288,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': [], @@ -267,7 +305,7 @@

    3. Metadata Extent Issue Layers

    Outlier Service:

    • - Water Quality and Reported releases - Services have extent metadata not covering the entirety of the actual data + Water Quality and Reported releases - Services have extent metadata not covering the entirety of the actual data CESI Service NPRI Service
    • 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/sandbox.html b/packages/geoview-core/public/templates/sandbox.html index 421bb02507e..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"] }
      @@ -938,13 +949,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.

        -
      • '1.0' - Version 1.0 (default and only accepted version)
      • +
      • + version string - The schema version. Valid values: '1.0'. Default: '1.0' +
      • +
      • description string - A free-text description of the map configuration.
      • +
      • author string - The author or creator of the map configuration.
      • +
      • date string - The creation or last-modified date (ISO 8601 format recommended).
      -

      Default: '1.0'

      @@ -952,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",
      @@ -962,16 +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" }, - "schemaVersionUsed": "1.0" + "theme": "geo.ca" }

      Dark Theme Configuration:

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

      Global Settings Configuration:

      @@ -993,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",
      @@ -1004,15 +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 - }, - "schemaVersionUsed": "1.0" + "theme": "geo.ca" }
      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 eb21c0fa26d..47ad3047fd8 100644 --- a/packages/geoview-core/schema-default-config.json +++ b/packages/geoview-core/schema-default-config.json @@ -1,33 +1,39 @@ { + "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": "", + "overlayObjects": {}, "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,5 +43,7 @@ "ntsSheetUrl": "https://geogratis.gc.ca/services/delimitation/en/nts", "altitudeUrl": "https://geogratis.gc.ca/services/elevation/cdem/altitude" }, - "version": "1.0" + "theme": "geo.ca", + "corePackagesConfig": [], + "externalPackages": [] } 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 249c35b2d96..7702d00ad33 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 ab00e46604f..ff514f4362f 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'; @@ -850,9 +850,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; 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