diff options
author | Paolo Angelelli <paolo.angelelli@qt.io> | 2018-08-11 15:28:20 +0200 |
---|---|---|
committer | Paolo Angelelli <paolo.angelelli@qt.io> | 2018-08-20 10:52:50 +0000 |
commit | 367c49e91366aa9b13bc7d64209321168680841e (patch) | |
tree | 3c6dacaa42a0d97a2c651598bbb34c54eff073eb /src/location/maps/qgeomap_p.h | |
parent | 0a9ef37972aed19ec4451d0a0e24bfacc56bded3 (diff) | |
download | qtlocation-367c49e91366aa9b13bc7d64209321168680841e.tar.gz |
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/maps/qgeomap_p.h')
-rw-r--r-- | src/location/maps/qgeomap_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/location/maps/qgeomap_p.h b/src/location/maps/qgeomap_p.h index 0c396e16..f19f847a 100644 --- a/src/location/maps/qgeomap_p.h +++ b/src/location/maps/qgeomap_p.h @@ -108,7 +108,7 @@ public: int viewportHeight() const; - QGeoCameraData cameraData() const; + const QGeoCameraData &cameraData() const; QGeoCameraCapabilities cameraCapabilities() const; virtual Capabilities capabilities() const; |