diff options
author | Paolo Angelelli <paolo.angelelli@qt.io> | 2017-05-02 16:04:13 +0200 |
---|---|---|
committer | Paolo Angelelli <paolo.angelelli@qt.io> | 2017-05-03 16:42:26 +0000 |
commit | 18f7e6dc9f59159b70cb7e6a8745738f42d4f46f (patch) | |
tree | 6e0bf8a54ebeb4bbbd09cba57b673a9e662259e2 /src/location/declarativemaps/qdeclarativegeomap_p.h | |
parent | 61bb8c49ec662adf1622cd0bf91de51a2305adb9 (diff) | |
download | qtlocation-18f7e6dc9f59159b70cb7e6a8745738f42d4f46f.tar.gz |
Fix for MapGestureArea pinch and scroll wheel not honoring min zoom
This patch fixes a regression introduced with
e81ba34a98b259723e783e2d2df4321309992291, which made possible to
zoom below the minimum valid zoom level for a viewport size.
Change-Id: I4e71530b9bc5423ea24083146963c3bd0928f14a
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'src/location/declarativemaps/qdeclarativegeomap_p.h')
-rw-r--r-- | src/location/declarativemaps/qdeclarativegeomap_p.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/location/declarativemaps/qdeclarativegeomap_p.h b/src/location/declarativemaps/qdeclarativegeomap_p.h index c63bb571..f07a2e7f 100644 --- a/src/location/declarativemaps/qdeclarativegeomap_p.h +++ b/src/location/declarativemaps/qdeclarativegeomap_p.h @@ -228,6 +228,8 @@ protected: void setError(QGeoServiceProvider::Error error, const QString &errorString); void initialize(); + void setZoomLevel(qreal zoomLevel, bool overzoom); + private Q_SLOTS: void mappingManagerInitialized(); void pluginReady(); |