Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-NRCan committed Mar 8, 2024
1 parent 3363dd0 commit 3dc4388
Show file tree
Hide file tree
Showing 14 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions add-panels.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
};

// call an api function to add a panel with a button in the default group
cgpv.api.maps['mapWM'].appBarButtons.createAppbarPanel(button, panel, null);
cgpv.api.maps['mapWM'].appBarApi.createAppbarPanel(button, panel, null);
});

// get add nav-bar panel button element for WM map
Expand All @@ -75,7 +75,7 @@
};

// call an api function to add a panel with a button
cgpv.api.maps['mapWM'].navBarButtons.createNavbarButtonPanel(button, panel, null);
cgpv.api.maps['mapWM'].navBarApi.createNavbarButtonPanel(button, panel, null);
});

// get add nav-bar button element for WM map
Expand All @@ -94,7 +94,7 @@
};

// call an api function to add a panel with a button
cgpv.api.maps['mapWM'].navBarButtons.createNavbarButton(button, null);
cgpv.api.maps['mapWM'].navBarApi.createNavbarButton(button, null);
});

// get add nav-bar button group element for WM map
Expand All @@ -118,6 +118,6 @@
};

// call an api function to add a new button panel in the nav-bar in a new group
cgpv.api.maps['mapWM'].navBarButtons.createNavbarButtonPanel(button, panel, 'newGroup');
cgpv.api.maps['mapWM'].navBarApi.createNavbarButtonPanel(button, panel, 'newGroup');
});
});</script></body></html>
4 changes: 2 additions & 2 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 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-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-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-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-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 legend.html
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@
};

// call an api function to add a panel with a button in the default group
api.maps[mapIdFour].appBarButtons.createAppbarPanel(button, panel, null);
api.maps[mapIdFour].appBarApi.createAppbarPanel(button, panel, null);

const legendDiv = document.getElementById('legend-item-example');
// TODO: The legend component does not render properly
Expand Down

0 comments on commit 3dc4388

Please sign in to comment.