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

MapCircle rendering glitch

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.9.2
    • 5.9.1
    • None

    Description

      Hi,

      I am using the following code to render a list of position with an effect on radius.
      When the model "gpsTrace" have a length equals to 30, the radius is 0.5333333333333333 and produce a rendering glitch. The attached picture show the glitch.


      MapItemView {
                  model: gpsTrace
                  delegate: MapCircle {
                      center {
                          latitude: latitude
                          longitude: longitude
                      }
                      radius: 1.5 - 1.0 * index / gpsTrace.rowCount() // Bug when radius = 0.5333333333333333

                      color: Qt.lighter("red", 1 + 0.9 * index / gpsTrace.rowCount());
                      border.width: 1
                  }
      }

       

       

      Attachments

        1. main.qml
          1 kB
        2. bug.png
          bug.png
          48 kB
        For Gerrit Dashboard: QTBUG-62154
        # Subject Branch Project Status CR V

        Activity

          People

            paangele Paolo Angelelli
            w.martin William MARTIN
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes