MapCompose icon indicating copy to clipboard operation
MapCompose copied to clipboard

Fit minimumScaleMode does not work properly when the map is rotated

Open Nohus opened this issue 3 years ago • 1 comments

With minimumScaleMode = Fit and the map rotated 45°, it is impossible to zoom out enough to see the entire map. Instead the corners of the map are offscreen.

Nohus avatar Nov 22 '21 22:11 Nohus

Yes, I'm aware of that. For now, it hasn't been a big issue (for me). Fixing this requires having the minimum scale depend on the rotation.

p-lr avatar Nov 22 '21 22:11 p-lr

The new 2.4.0 version has proper support for setScrollOffsetRatio. When using it with e.g 0.3f value, it's possible to scroll enough to see the edges.

p-lr avatar Nov 27 '22 10:11 p-lr