bcgov / smk-legacy-ui

Legacy Admin UI for the SMK has been de-supported. Please see the CLI under https://github.com/bcgov/smk for an alternative.
Apache License 2.0
8 stars 3 forks source link

"Zoom to" inconsistencies #240

Closed NicoledeGreef closed 5 years ago

NicoledeGreef commented 6 years ago

How to reproduce

What behaviour I'm expecting and which behaviour I'm seeing

We're seeing some inconsistent "Zoom to" link behaviour

-would expect all "Zoom to" links in the feature pop-ups to zoom the user in close enough to see streets regardless of when/how the pop-ups are invoked (e.g. clicking on a feature or searching for features in the search by attribute form)

Minimal example reproducing the issue

Visit: http://moh-qa.apps.gov.bc.ca/alrc/?theme=alpha

-try clicking the point ("New Beginnings") near Port Hardy that is not clustered and then try the Zoom to link in the resulting pop-up; the map does not zoom in at all

-search Residential Care facilities as follows: image then click a result and click "Zoom to" on the resulting pop-up (zooms in a bit but not to the feature on road level); this is perhaps because the 2 results are in Surrey and Kelowna, so the map only zooms you to the extent of both?

NicoledeGreef commented 5 years ago

seems to be fixed so closing this ticket