diff options
author | Paolo Angelelli <paolo.angelelli@qt.io> | 2017-01-17 18:16:41 +0100 |
---|---|---|
committer | Paolo Angelelli <paolo.angelelli@qt.io> | 2017-01-26 14:45:37 +0000 |
commit | f586ea00feb414fb0776aa2bc6fbbb356ac61c32 (patch) | |
tree | 181045b22dbfd1fbb64c9ffb9cea2f87d218d9bf /src/plugins/geoservices/esri | |
parent | 05c4125cd65e34d64befeef4c4c2aba1f3b86665 (diff) | |
download | qtlocation-f586ea00feb414fb0776aa2bc6fbbb356ac61c32.tar.gz |
Add rotation/tilting support to QGeoTiledMapScene/QGeoCameraTiles
This patch adds rotation and tilting support to QGeoTiledMapScene
and QGeoCameraTiles.
It also adds the related capabilities to the geoservice plugins
mapping managers
QML Api is added in a separate patch
Change-Id: I3de1b52a9928c4856f6ee57ad39191acebe0f770
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'src/plugins/geoservices/esri')
-rw-r--r-- | src/plugins/geoservices/esri/geotiledmappingmanagerengine_esri.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/plugins/geoservices/esri/geotiledmappingmanagerengine_esri.cpp b/src/plugins/geoservices/esri/geotiledmappingmanagerengine_esri.cpp index abcb3779..a0f00615 100644 --- a/src/plugins/geoservices/esri/geotiledmappingmanagerengine_esri.cpp +++ b/src/plugins/geoservices/esri/geotiledmappingmanagerengine_esri.cpp @@ -95,7 +95,12 @@ GeoTiledMappingManagerEngineEsri::GeoTiledMappingManagerEngineEsri(const QVarian cameraCaps.setMinimumZoomLevel(minimumZoomLevel); cameraCaps.setMaximumZoomLevel(maximumZoomLevel); - + cameraCaps.setSupportsBearing(true); + cameraCaps.setSupportsTilting(true); + cameraCaps.setMinimumTilt(0); + cameraCaps.setMaximumTilt(80); + cameraCaps.setMinimumFieldOfView(20.0); + cameraCaps.setMaximumFieldOfView(120.0); setCameraCapabilities(cameraCaps); setTileSize(QSize(256, 256)); |