Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-NRCan committed Jan 25, 2024
1 parent 81d444a commit 0faee3f
Show file tree
Hide file tree
Showing 23 changed files with 196 additions and 189 deletions.
55 changes: 31 additions & 24 deletions cgpv-main.js

Large diffs are not rendered by default.

Binary file modified cgpv-main.js.br
Binary file not shown.
2 changes: 1 addition & 1 deletion cgpv-main.js.map

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
{
"layers": [
{
"layerId": "geojsonLYR5/polygons.json"
"layerId": "geojsonLYR5/geojsonLYR5/polygons.json"
}
],
"chart": "pie",
Expand Down Expand Up @@ -232,7 +232,7 @@
{
"layers": [
{
"layerId": "geojsonLYR5/point-feature-group/points.json"
"layerId": "geojsonLYR5/geojsonLYR5/point-feature-group/points.json"
}
],
"chart": "bar",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
{
"layers": [
{
"layerId": "geojsonLYR5/polygons.json"
"layerId": "geojsonLYR5/geojsonLYR5/polygons.json"
}
],
"chart": "pie",
Expand Down Expand Up @@ -232,7 +232,7 @@
{
"layers": [
{
"layerId": "geojsonLYR5/point-feature-group/points.json"
"layerId": "geojsonLYR5/geojsonLYR5/point-feature-group/points.json"
}
],
"chart": "bar",
Expand Down
4 changes: 2 additions & 2 deletions corePackages/geoview-basemap-panel.js

Large diffs are not rendered by default.

Binary file modified corePackages/geoview-basemap-panel.js.br
Binary file not shown.
2 changes: 1 addition & 1 deletion corePackages/geoview-basemap-panel.js.map

Large diffs are not rendered by default.

288 changes: 144 additions & 144 deletions corePackages/geoview-geochart.js

Large diffs are not rendered by default.

Binary file modified corePackages/geoview-geochart.js.br
Binary file not shown.
2 changes: 1 addition & 1 deletion corePackages/geoview-geochart.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions corePackages/geoview-layers-panel.js

Large diffs are not rendered by default.

Binary file modified corePackages/geoview-layers-panel.js.br
Binary file not shown.
2 changes: 1 addition & 1 deletion corePackages/geoview-layers-panel.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions corePackages/geoview-swiper.js

Large diffs are not rendered by default.

Binary file modified corePackages/geoview-swiper.js.br
Binary file not shown.
2 changes: 1 addition & 1 deletion corePackages/geoview-swiper.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions corePackages/geoview-time-slider.js

Large diffs are not rendered by default.

Binary file modified corePackages/geoview-time-slider.js.br
Binary file not shown.
2 changes: 1 addition & 1 deletion corePackages/geoview-time-slider.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/programming/logging.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ The logger class can be found here: [https://github.com/Canadian-Geospatial-Pla
The `logger` provides functions for high-level logging abstraction following best-practices concepts and the following constants:
```ts
// The most detailed messages. Disabled by default. Only shows if actually running in dev environment, never shown otherwise.
export const LOG_TRACE_DETAILED 1;
export const LOG_TRACE_DETAILED = 1;
// For tracing useEffect unmounting. Disabled by default. Only shows if running in dev environment or GEOVIEW_LOG_ACTIVE key is set in local storage.
export const LOG_TRACE_USE_EFFECT_UNMOUNT = 2;
// For tracing rendering. Disabled by default. Only shows if running in dev environment or GEOVIEW_LOG_ACTIVE key is set in local storage.
Expand Down
2 changes: 1 addition & 1 deletion package-footer-panel-geochart.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!doctype html><html lang="en"><head><meta charset="UTF-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><title>Canadian Geospatial Platform Viewer</title><link rel="shortcut icon" href="./favicon.ico"/><meta name="msapplication-TileColor" content="#da532c"/><meta name="msapplication-config" content="./img/browserconfig.xml"/><meta name="theme-color" content="#ffffff"/><meta name="msapplication-TileColor" content="#da532c"/><meta name="theme-color" content="#ffffff"/><link href="https://fonts.googleapis.com/css?family=Roboto|Montserrat:200,300,400,900|Merriweather" rel="stylesheet"/><link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons"/><link rel="stylesheet" href="css/style.css"/><script src="codedoc.js"></script><script src="cgpv-main.js"></script></head><body><div class="header-table"><table><tbody><tr><td><img class="header-logo" alt="logo" src="./img/Logo.png"/></td><td class="header-title"><h1><strong>Package Footer Panel With Geo-Chart</strong></h1></td></tr></tbody></table><table><tbody><tr><td><a href="./index.html">Main</a><br/></td></tr></tbody></table></div><hr/><div id="UIM10" class="geoview-map" data-lang="en" data-config-url="./configs/package-footer-panel-geochart-map1-config.json"></div><hr/><div id="UIM11" class="geoview-map" data-lang="fr" data-config-url="./configs/package-footer-panel-geochart-map2-config.json"></div><hr/><script>// initialize cgpv and api events, a callback is optional, used if calling api's after the rendering is ready
<!doctype html><html lang="en"><head><meta charset="UTF-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><title>Canadian Geospatial Platform Viewer</title><link rel="shortcut icon" href="./favicon.ico"/><meta name="msapplication-TileColor" content="#da532c"/><meta name="msapplication-config" content="./img/browserconfig.xml"/><meta name="theme-color" content="#ffffff"/><meta name="msapplication-TileColor" content="#da532c"/><meta name="theme-color" content="#ffffff"/><link href="https://fonts.googleapis.com/css?family=Roboto|Montserrat:200,300,400,900|Merriweather" rel="stylesheet"/><link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons"/><link rel="stylesheet" href="css/style.css"/><script src="codedoc.js"></script><script src="cgpv-main.js"></script></head><body><div class="header-table"><table><tbody><tr><td><img class="header-logo" alt="logo" src="./img/Logo.png"/></td><td class="header-title"><h1><strong>Package Footer Panel With Geo-Chart</strong></h1></td></tr></tbody></table><table><tbody><tr><td><a href="./index.html">Main</a><br/></td></tr></tbody></table></div><hr/><div id="UIM10" class="geoview-map" data-lang="en" data-config-url="./configs/package-footer-panel-geochart-map1-config.json"></div><hr/><hr/><script>// initialize cgpv and api events, a callback is optional, used if calling api's after the rendering is ready
cgpv.init(async function () {
console.log('api is ready');

Expand Down
2 changes: 1 addition & 1 deletion package-time-slider.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!doctype html><html lang="en"><head><meta charset="UTF-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><title>Canadian Geospatial Platform Viewer</title><link rel="shortcut icon" href="./favicon.ico"/><meta name="msapplication-TileColor" content="#da532c"/><meta name="msapplication-config" content="./img/browserconfig.xml"/><meta name="theme-color" content="#ffffff"/><meta name="msapplication-TileColor" content="#da532c"/><meta name="theme-color" content="#ffffff"/><link href="https://fonts.googleapis.com/css?family=Roboto|Montserrat:200,300,400,900|Merriweather" rel="stylesheet"/><link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons"/><link rel="stylesheet" href="css/style.css"/><script src="cgpv-main.js"></script></head><body><div class="header-table"><table><tbody><tr><td><img class="header-logo" alt="logo" src="./img/Logo.png"/></td><td class="header-title"><h1><strong>Package - Time Slider</strong></h1></td></tr><tr><td><a href="./index.html">Main</a><br/><a href="#HUC1">1. Default Time Slider</a><br/><a href="#HUC2">2. Custom Time Slider</a><br/></td></tr></tbody></table><table><tbody><tr><td>This page is used to showcase the time slider package.</td></tr></tbody></table></div><div class="map-title-holder"><h4 id="HUC1">1. Default Time Slider</h4><a class="ref-link" href="#top">Top</a></div><div id="mapWM1" class="geoview-map" data-lang="en" data-config-url="./configs/package-time-slider-config.json"></div><hr/><div class="map-title-holder"><h4 id="HUC2">2. Custom Time Slider</h4><a class="ref-link" href="#top">Top</a></div><div id="mapWM2" class="geoview-map" data-lang="en" data-config-url="./configs/package-time-slider2-config.json"></div><hr/><script src="codedoc.js"></script><script>// initialize cgpv and api events, a callback is optional, used if calling api's after the rendering is ready
<!doctype html><html lang="en"><head><meta charset="UTF-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><title>Canadian Geospatial Platform Viewer</title><link rel="shortcut icon" href="./favicon.ico"/><meta name="msapplication-TileColor" content="#da532c"/><meta name="msapplication-config" content="./img/browserconfig.xml"/><meta name="theme-color" content="#ffffff"/><meta name="msapplication-TileColor" content="#da532c"/><meta name="theme-color" content="#ffffff"/><link href="https://fonts.googleapis.com/css?family=Roboto|Montserrat:200,300,400,900|Merriweather" rel="stylesheet"/><link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons"/><link rel="stylesheet" href="css/style.css"/><script src="cgpv-main.js"></script></head><body><div class="header-table"><table><tbody><tr><td><img class="header-logo" alt="logo" src="./img/Logo.png"/></td><td class="header-title"><h1><strong>Package - Time Slider</strong></h1></td></tr><tr><td><a href="./index.html">Main</a><br/><a href="#HUC1">1. Default Time Slider</a><br/><a href="#HUC2">2. Custom Time Slider</a><br/></td></tr></tbody></table><table><tbody><tr><td>This page is used to showcase the time slider package.</td></tr></tbody></table></div><div class="map-title-holder"><h4 id="HUC1">1. Default Time Slider</h4><a class="ref-link" href="#top">Top</a></div><div id="mapWM1" class="geoview-map" data-lang="en" data-config-url="./configs/package-time-slider-config.json"></div><hr/><div class="map-title-holder"><h4 id="HUC2">2. Custom Time Slider</h4><a class="ref-link" href="#top">Top</a></div><hr/><script src="codedoc.js"></script><script>// initialize cgpv and api events, a callback is optional, used if calling api's after the rendering is ready
cgpv.init(function () {
console.log('api is ready');

Expand Down

0 comments on commit 0faee3f

Please sign in to comment.