Details
-
Bug
-
Resolution: Done
-
P2: Important
-
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
}
}