Fix for QDeclarativeGeoMap::fitViewportToGeoShape and QGeoRectangle
The current implementation fails to fit if the QGeoRectangle shape
crosses the dateline.
The problem does not happen with QGeoCircle.
This patch fixes the problem.
Change-Id: I043e9ff433f81a07f434112fe19449aec7ec94f6
Task-number: QTBUG-57027
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
| commit | 81f626f062d95abe49fcb7d8f098e54646c04034 |
| parent | c1755c75f8d54a27ff931a049d6fd9718c0be6bb |
| author | Paolo Angelelli <paolo.angelelli@qt.io> |
| committer | Paolo Angelelli <paolo.angelelli@qt.io> |
| commit time | Fri, 11 Nov 2016 14:32:38 +0000 |