Project-OMOTES / issues-and-project

0 stars 0 forks source link

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 5 months ago

lfse-slafleur commented 5 months ago

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 commented 5 months ago

Has something to do with resize_area_pi_charts() image

ewoudwerkman commented 5 months ago

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 commented 5 months ago

Fixed in release v24-1-0