summaryrefslogtreecommitdiff
path: root/src/imports/location/qdeclarativerectanglemapitem.cpp
diff options
context:
space:
mode:
authorPaolo Angelelli <paolo.angelelli@qt.io>2016-11-15 12:58:49 +0100
committerPaolo Angelelli <paolo.angelelli@qt.io>2017-01-26 14:45:42 +0000
commita33f9131a3f5b07831ea9565cb0dc22e078f9475 (patch)
tree9c116ab29c06147a4822abeeb8b27e2501aae04d /src/imports/location/qdeclarativerectanglemapitem.cpp
parentf586ea00feb414fb0776aa2bc6fbbb356ac61c32 (diff)
downloadqtlocation-a33f9131a3f5b07831ea9565cb0dc22e078f9475.tar.gz
Position map items on their geoLeftBound
Currently map items are positioned based on their "first" coordinate. This was because the leftbound was updated at every point update. Now that the geo left bound is data-driven, it is possible to use it to position elements on map. So that polylines and polygons won't wrap around based on their first coordinate (wherever it is), but on their geoLeftBound. This means that two identical polygon with the coordinate list starting at different offset will wrap around in the same way. Same for polylines. And circles won't wrap around anymore on their topmost point, but based on their leftbound too. Change-Id: I04dd04633b878f85e605af8fa84c3cd477a76e32 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'src/imports/location/qdeclarativerectanglemapitem.cpp')
0 files changed, 0 insertions, 0 deletions