tangrams / tangram

WebGL map rendering engine for creative cartography
https://tangram.city
MIT License
2.22k stars 290 forks source link

in demos > main.js: wrong paramters sequence in map.setView(...) #624

Closed wolfgangvonludwigsburg closed 6 years ago

wolfgangvonludwigsburg commented 7 years ago

sort of typo in demos > main.js:

in demos > main.js: change 33: map.setView(map_start_location); to 33: map.setView( map_start_location.slice(1, 3), map_start_location[0] );

leaflet expects [lat, lon], zoom, not zoom, lat, lon

WvL

meetar commented 6 years ago

Thanks for the catch!