Skip to content

Setting minimum scale mode and zooming below FILL equivalent gives scaling issues #47

@az-faro

Description

@az-faro

When I use MapViewConfiguration.setMinimumScaleMode() with anything other than MinimumScaleMode.FILL and zoom out below where FILL would stop zooming in normal cases the scaling of the map goes crazy.

See example image of a drawing. Notice how the entire lower half of it is stretched to double size in the y axis. Similarly there is some stretching at the right edge of the image as well:
bild

Another example, here we can see duplication in the lower and right part of the image with both correct and streched data shown at the same time:
bild

Similarly I have noticed that when this happens the CoordinateTranslater.translateAndScaleAbsoluteToRelativeY() misbehaves and gives incorrect values.

As soon as you get back within the limits of FILL everything starts working correctly again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions