Commit ad60eb06e28f7125e95d82fcc5ba0786ab7ae188

  • avatar
  • arvind
  • Thu Sep 05 19:08:52 IST 2013
Changing the zoom level for sat imagery to load
main.js
(3 / 3)
  
1616 "Base Map": tileLayer,
1717 "Satellite": sat
1818 };
19 map = L.map('map', {layers:[tileLayer, markers, photos, sat]}).setView([14.31336, 76.64973], 13);
20 map.minZoom = 13;
19 map = L.map('map', {layers:[tileLayer, markers, photos, sat]}).setView([14.31336, 76.64973], 10);
20 map.minZoom = 10;
2121 map.maxZoom = 13;
22 map.zoomControl = false;
22 map.zoomControl = true;
2323 L.control.scale({position: 'bottomleft'}).addTo(map);
2424 L.control.layers(baseLayer, overlays).addTo(map);
2525 loadWayPoints();