summaryrefslogtreecommitdiff
path: root/src/location/declarativemaps/qdeclarativegeoserviceprovider_p.h
diff options
context:
space:
mode:
authorPaolo Angelelli <paolo.angelelli@qt.io>2017-01-11 16:50:51 +0100
committerPaolo Angelelli <paolo.angelelli@qt.io>2017-01-26 14:45:55 +0000
commit12b62e04e4c17ddeaeaae46ec09af2eb7244e840 (patch)
tree1034de34bde68db66f449b2810fb8505da432e28 /src/location/declarativemaps/qdeclarativegeoserviceprovider_p.h
parentc03576000da714a73626f985e84b6084c9deb4fd (diff)
downloadqtlocation-12b62e04e4c17ddeaeaae46ec09af2eb7244e840.tar.gz
Make QDeclarativeGeoMap::setVisibleRegion support all QGeoShapes
This patch uses QGeoShape::boundingGeoRectangle to set the visible region, supporting the new QGeoShapes, simplifying the logic in ::fitViewportToGeoShape, and not requiring updates if new QGeoShapes are added. Change-Id: I4f4c21bc0b62aae9432024d8f20db774d191255b Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'src/location/declarativemaps/qdeclarativegeoserviceprovider_p.h')
0 files changed, 0 insertions, 0 deletions