summaryrefslogtreecommitdiff
path: root/src/location/doc/src/qml-maps.qdoc
diff options
context:
space:
mode:
authorPaolo Angelelli <paolo.angelelli@theqtcompany.com>2016-04-11 18:44:33 +0200
committerPaolo Angelelli <paolo.angelelli@theqtcompany.com>2016-06-28 13:22:22 +0000
commitd8623babde6117bae84dfd90c50e6241482183be (patch)
tree69fe7ec44bcad2b8536509272fdfa945a84bebf9 /src/location/doc/src/qml-maps.qdoc
parent83feab53cede063b11435c6f2fe58e3c933676eb (diff)
downloadqtlocation-d8623babde6117bae84dfd90c50e6241482183be.tar.gz
Fix for wandering QGeoMapPolylineGeometry
QGeoMapPolylineGeometry is currently erratic due to the semi-randomly varying geoLeftBound, that basically defines how the line will be drawn. This patch uses a consistent way to calculate this value in all the QDeclarativeGeo-items, at coordinate-definition time. The new approach implies that each pair of points in a polyline are connected in the longitudinal direction of the shortest path. The patch attempts to optimize the common addCoordinate path by incrementally searching for the left bound. The patch also makes the other geoshapes (GeoPolygon, GeoCircle) behave in the same way. Task-number: QTBUG-43107 Task-number: QTBUG-52610 Change-Id: I7a0f6c4370fd6c50999fd2e5b1a7aa5954c8a8fc Reviewed-by: Michal Klocek <michal.klocek@theqtcompany.com>
Diffstat (limited to 'src/location/doc/src/qml-maps.qdoc')
0 files changed, 0 insertions, 0 deletions