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

fitViewportToMapItems does not calculate the correct zoom level

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 5.9
    • None

      this happens since the zoom is computed based on the on-screen bounding box, which is, however, not 100% dictated by geocoordinates.
      Meaning that the on-screen footprint of the items result from their displacement on the map AND their on-screen size.

      So a very zoomed out map would produce an item bounding box larger than their geosize.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            paangele Paolo Angelelli
            paangele Paolo Angelelli
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes