This PR is dependent on PR #2245
This PR replaces 5 calculateBounds() calls, distributed in different region of code, with a simple get bounds from the store instead.
Type of change
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
Description
This PR is dependent on PR #2245 This PR replaces 5
calculateBounds()
calls, distributed in different region of code, with a simple get bounds from the store instead.Type of change
How Has This Been Tested?
Hosted June 14th, 10h00: https://alex-nrcan.github.io/geoview/
Checklist:
I have made corresponding changes to the documentationI have added tests that prove my fix is effective or that my feature worksNew and existing unit tests pass locally with my changesThis change is![Reviewable](https://reviewable.io/review_button.svg)