diff options
author | Paolo Angelelli <paolo.angelelli@qt.io> | 2017-01-11 16:50:51 +0100 |
---|---|---|
committer | Paolo Angelelli <paolo.angelelli@qt.io> | 2017-01-26 14:45:55 +0000 |
commit | 12b62e04e4c17ddeaeaae46ec09af2eb7244e840 (patch) | |
tree | 1034de34bde68db66f449b2810fb8505da432e28 /src/imports/location/qgeomapitemgeometry_p.h | |
parent | c03576000da714a73626f985e84b6084c9deb4fd (diff) | |
download | qtlocation-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/imports/location/qgeomapitemgeometry_p.h')
0 files changed, 0 insertions, 0 deletions