fixes #476 & #853: pixel/meter/latlng conversion routines in core & iOS

This commit is contained in:
Justin R. Miller
2015-02-16 09:52:36 -08:00
parent ea31ad99a5
commit 6e41664cb0
19 changed files with 399 additions and 142 deletions

View File

@@ -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;