summaryrefslogtreecommitdiff
path: root/bin
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 /bin
parentea31ad99a56f1e0afbcc7862ddc62dffd16bc5bb (diff)
downloadqtlocation-mapboxgl-6e41664cb033ee5edf6ae5ac66ed518d9f0d1f89.tar.gz
fixes #476 & #853: pixel/meter/latlng conversion routines in core & iOS
Diffstat (limited to 'bin')
-rw-r--r--bin/render.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/render.cpp b/bin/render.cpp
index 827f247d6c..c791152d1d 100644
--- a/bin/render.cpp
+++ b/bin/render.cpp
@@ -100,7 +100,7 @@ int main(int argc, char *argv[]) {
view.resize(width, height, pixelRatio);
map.resize(width, height, pixelRatio);
- map.setLonLatZoom(lon, lat, zoom);
+ map.setLatLonZoom(LatLng(lat, lon), zoom);
map.setBearing(bearing);
std::unique_ptr<uint32_t[]> pixels;