summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/location/maps/qgeotiledmap.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/location/maps/qgeotiledmap.cpp b/src/location/maps/qgeotiledmap.cpp
index 85931efd..dbfe45ea 100644
--- a/src/location/maps/qgeotiledmap.cpp
+++ b/src/location/maps/qgeotiledmap.cpp
@@ -340,7 +340,8 @@ void QGeoTiledMapPrivate::changeActiveMapType(const QGeoMapType mapType)
m_mapScene->setTileSize(m_cameraCapabilities.tileSize());
m_visibleTiles->setMapType(mapType);
m_prefetchTiles->setMapType(mapType);
- updateScene();
+ changeCameraData(m_cameraData); // Updates the zoom level to the possibly new tile size
+ // updateScene called in changeCameraData()
}
void QGeoTiledMapPrivate::changeTileVersion(int version)