preserve scale and center when MapViews get resized

Issue #409 closed
Andreas Janz created an issue

(requested by the audience during the FOSSGIS2020 live demo)

Given a MapView with specific scale and center:

After the MapView is resize (e.g. by adding another MapView) the scale is altered:

After any resize event, the MapView scale and center should be restored. The example above, should look like this:

During the demo, we had some extreme “jumps” of different MapView scales, resulting from resize events. I then had to quickly “repair” the MapViews and adjust the scale back to normal.

Have a 10 sec look at timestamp 38:30 to see a (not so dramatic) example. During the talk, you find some more extreme cases.
https://media.ccc.de/v/fossgis2020-3107-visualisierung-und-analyse-von-satellitenbildern-mit-der-enmap-box#t=1471

Comments (5)

  1. Log in to comment