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>
commit81f626f062d95abe49fcb7d8f098e54646c04034
parentc1755c75f8d54a27ff931a049d6fd9718c0be6bb
authorPaolo Angelelli <paolo.angelelli@qt.io>
committerPaolo Angelelli <paolo.angelelli@qt.io>
commit timeFri, 11 Nov 2016 14:32:38 +0000