summaryrefslogtreecommitdiff
path: root/tests/auto/qgeotiledmap/tst_qgeotiledmap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qgeotiledmap/tst_qgeotiledmap.cpp')
-rw-r--r--tests/auto/qgeotiledmap/tst_qgeotiledmap.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/qgeotiledmap/tst_qgeotiledmap.cpp b/tests/auto/qgeotiledmap/tst_qgeotiledmap.cpp
index cc2672b2..e4ecfae9 100644
--- a/tests/auto/qgeotiledmap/tst_qgeotiledmap.cpp
+++ b/tests/auto/qgeotiledmap/tst_qgeotiledmap.cpp
@@ -37,6 +37,7 @@
#include <QtCore/QString>
#include <QtTest/QtTest>
#include <QtTest/QSignalSpy>
+#include <QtPositioning/private/qwebmercator_p.h>
#include <QtLocation/QGeoServiceProvider>
#include <QtLocation/private/qgeotiledmap_p.h>
#include <QtLocation/private/qgeomappingmanager_p.h>
@@ -126,7 +127,7 @@ void tst_QGeoTiledMap::fetchTiles()
m_map->setPrefetchStyle(style);
QGeoCameraData camera;
- camera.setCenter(QGeoProjection::mercatorToCoord(QDoubleVector2D( 0.5 , 0.5 )));
+ camera.setCenter(QWebMercator::mercatorToCoord(QDoubleVector2D( 0.5 , 0.5 )));
//prev_visible
camera.setZoomLevel(zoomLevel-1);