Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-61080

On Android setting Map.visibleRegion doesn't adjust map zoom when region is small

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 5.9.0
    • 5.6.1
    • QPA
    • None
    • Android

    Description

      Consider the demo attached to `main.qml`. It creates a circle on a map, and then reduces its radius significantly and updates `visibleRegion` to match. It turns out that when the `radius` is small enough, the map zoom doesn't adjust, it stays the same (even if you pinch to zoom in/out and pan, the map recenters on subsequent `visibleRegions` assignments, but does not adjust zoom level).

      The issue does not seem to present when using a "Desktop" kit.

      Attachments

        1. main.qml
          1 kB
          Kuba Orlik
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            paangele Paolo Angelelli
            kuba-orlik Kuba Orlik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes