summaryrefslogtreecommitdiff
path: root/test/headless
diff options
context:
space:
mode:
authorJustin R. Miller <incanus@codesorcery.net>2015-02-16 09:52:36 -0800
committerJustin R. Miller <incanus@codesorcery.net>2015-02-16 09:52:36 -0800
commit6e41664cb033ee5edf6ae5ac66ed518d9f0d1f89 (patch)
treea70192b174ea6dc69b1fa0b13f9a33358a9110e5 /test/headless
parentea31ad99a56f1e0afbcc7862ddc62dffd16bc5bb (diff)
downloadqtlocation-mapboxgl-6e41664cb033ee5edf6ae5ac66ed518d9f0d1f89.tar.gz
fixes #476 & #853: pixel/meter/latlng conversion routines in core & iOS
Diffstat (limited to 'test/headless')
-rw-r--r--test/headless/headless.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/headless/headless.cpp b/test/headless/headless.cpp
index e7e1153923..b92002aa23 100644
--- a/test/headless/headless.cpp
+++ b/test/headless/headless.cpp
@@ -147,7 +147,7 @@ TEST_P(HeadlessTest, render) {
view.resize(width, height, pixelRatio);
map.resize(width, height, pixelRatio);
- map.setLonLatZoom(longitude, latitude, zoom);
+ map.setLatLngZoom(mbgl::LatLng(latitude, longitude), zoom);
map.setBearing(bearing);
// Run the loop. It will terminate when we don't have any further listeners.