diff options
author | Justin R. Miller <incanus@codesorcery.net> | 2015-02-16 09:52:36 -0800 |
---|---|---|
committer | Justin R. Miller <incanus@codesorcery.net> | 2015-02-16 09:52:36 -0800 |
commit | 6e41664cb033ee5edf6ae5ac66ed518d9f0d1f89 (patch) | |
tree | a70192b174ea6dc69b1fa0b13f9a33358a9110e5 /test/headless | |
parent | ea31ad99a56f1e0afbcc7862ddc62dffd16bc5bb (diff) | |
download | qtlocation-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.cpp | 2 |
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. |