Remove QGeoMapController from QGeoMap


Refactor code to use QGeoCameraData directly. All functionality related
to zoom, center boundary checks are now handled in QDeclaratvieGeoMap class.
This makes handling of center and zoomLevel properties much simpler and
less error prone, since camera data can not be modified along the
call stack. As result we avoid forwarding change signals back and forth:

* qgeodeclarativegeomap::setCenter -> qgeomapcontroller::setCenter
* qgeomapcontroller::setCenter -> qgeomap::setCameraData
* qgeomap::setCameraData -> qgeomacontroller::cameraDataChanged
* qgeomapcontroller::cameraDataChanged -> emit qdecalartivegeomap::centerChanged

Call always setCenter and setZoomLevel on qdeclarativegeomap
instance instead.

Introduce initialize() method to handle cases where map plugin is loaded
and scenegraph geometery is not yet set. This is required to correctly
handle new boundary checks to limit grey areas.

Change-Id: I6066cefd4a648dc76333dc241d1f261451a32e9c
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
commitde165175549642c7fefa901d41ee96ef0702879c
parent3d8da84e368f87386f14287b10fb6d08e3ce2b48
authorMichal Klocek <michal.klocek@theqtcompany.com>
committerMichal Klocek <michal.klocek@theqtcompany.com>
commit timeThu, 17 Mar 2016 06:56:11 +0000