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

MapEditor 23.12.0 regression: Zooming in & out with an area drawn causes it to move in relative position to the browser window instead of coordinates on map #13

Open
lfse-slafleur opened this issue Jan 10, 2024 · 3 comments

Comments

@lfse-slafleur
Copy link
Member

From @KobusVanRooyen :

Example below: assume this is the network and I draw an area around Pijnacker:
MicrosoftTeams-image

when I zoom out the following happens:
MicrosoftTeams-image (1)

and then when I zoom back in a lot the following happens:
MicrosoftTeams-image (2)

Tested in testing enviroment at: https://test.nwn-design-toolkit-poc.nl/

Kobus confirmed this does not happen in the PoC environment https://nwn-design-toolkit-poc.nl/editor#

@ewoudwerkman
Copy link

Has something to do with resize_area_pi_charts()
image

@ewoudwerkman
Copy link

This only happens after you've drawn a new area.
That does not create an area with the correct state attributes needed in resize_area_pi_charts().
Ctrl+R fixes this (reloads the drawn area correctly)

@edwinmatthijssen
Copy link

Fixed in release v24-1-0

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

No branches or pull requests

3 participants