Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zooming makes popupt to jump within the map BQDSP-1705 #27

Open
nikolay-cylogy opened this issue Mar 3, 2020 · 1 comment
Open

Zooming makes popupt to jump within the map BQDSP-1705 #27

nikolay-cylogy opened this issue Mar 3, 2020 · 1 comment

Comments

@nikolay-cylogy
Copy link

Zooming makes popupt to jump within the map BQDSP-1705

EX: Air Quality Monitoring Map - when you firstly click by any zone - the popup appears. But when you zoom the map - it can be stay somewhere outside the visible area
image
https://dev-sa-baaqmd-preview.cylogy.com/about-air-quality/interactive-data-maps
Generally - when perform zooming - the popup is jumping around the map - that's not correct. I suppose it should stay at one position, utill user would close it https://prnt.sc/qyijs2

@robgaston
Copy link
Contributor

@nikolay-cylogy to my knowledge, currently the popup stays pointing at the same geographic location as the user zooms/pans the map. This means it will not be in a static position on the screen if the user pans or zooms.

In my opinion, this behavior is good, as it means the popup will always point to the thing (geographic location) that it references on the map.

If we do not want the popup to move around at all, perhaps a good solution would be to dismiss the popup when the map moves (ie when the user pans or zooms). We should probably discuss this further with district staff to decide how to move forward on this, as it seems to me that there are pros & cons to both approaches.

what do you think? thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants