Closed wolfgangvonludwigsburg closed 6 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] );
33: map.setView(map_start_location);
33: map.setView( map_start_location.slice(1, 3), map_start_location[0] );
leaflet expects [lat, lon], zoom, not zoom, lat, lon
WvL
Thanks for the catch!
sort of typo in demos > main.js:
in demos > main.js: change
33: map.setView(map_start_location);
to33: map.setView( map_start_location.slice(1, 3), map_start_location[0] );
leaflet expects [lat, lon], zoom, not zoom, lat, lon
WvL