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>
commit12b62e04e4c17ddeaeaae46ec09af2eb7244e840
parentc03576000da714a73626f985e84b6084c9deb4fd
authorPaolo Angelelli <paolo.angelelli@qt.io>
committerPaolo Angelelli <paolo.angelelli@qt.io>
commit timeThu, 26 Jan 2017 14:45:55 +0000