summaryrefslogtreecommitdiffstats
path: root/src/location/declarativemaps/qdeclarativegeomap_p.h
diff options
context:
space:
mode:
authorPaolo Angelelli <paolo.angelelli@qt.io>2018-08-11 15:28:20 +0200
committerPaolo Angelelli <paolo.angelelli@qt.io>2018-08-20 10:52:50 +0000
commit367c49e91366aa9b13bc7d64209321168680841e (patch)
tree3c6dacaa42a0d97a2c651598bbb34c54eff073eb /src/location/declarativemaps/qdeclarativegeomap_p.h
parent0a9ef37972aed19ec4451d0a0e24bfacc56bded3 (diff)
Move management of QDeclarativeGeoMap camera data into QGeoMap
This patch makes QDeclarativeGeoMap always refer to QGeoMap when it comes to setting and getting camera data properties. The signal emission for each of these properties is also deferred to the reception of QGeoMap::cameraDataChanged. This patch also enable plugins to enforce tilt ranges per zoom, updating the tilt value (as well as any other camera data value) on their own. Change-Id: Icc16645ea53fa2b53b33530f802ce390a2479d39 Reviewed-by: BogDan Vatra <bogdan@kdab.com>
Diffstat (limited to 'src/location/declarativemaps/qdeclarativegeomap_p.h')
-rw-r--r--src/location/declarativemaps/qdeclarativegeomap_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/location/declarativemaps/qdeclarativegeomap_p.h b/src/location/declarativemaps/qdeclarativegeomap_p.h
index 02379411..f59f6f54 100644
--- a/src/location/declarativemaps/qdeclarativegeomap_p.h
+++ b/src/location/declarativemaps/qdeclarativegeomap_p.h
@@ -271,6 +271,7 @@ private Q_SLOTS:
void onSupportedMapTypesChanged();
void onCameraCapabilitiesChanged(const QGeoCameraCapabilities &oldCameraCapabilities);
void onAttachedCopyrightNoticeVisibilityChanged();
+ void onCameraDataChanged(const QGeoCameraData &cameraData);
private:
void setupMapView(QDeclarativeGeoMapItemView *view);