Commit ad60eb06e28f7125e95d82fcc5ba0786ab7ae188

  • avatar
  • arvind
  • Thu Sep 05 19:08:52 IST 2013
Changing the zoom level for sat imagery to load
  • Diff rendering mode:
  • inline
  • side by side

main.js

16 "Base Map": tileLayer,16 "Base Map": tileLayer,
17 "Satellite": sat17 "Satellite": sat
18 };18 };
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;
21 map.maxZoom = 13;21 map.maxZoom = 13;
22 map.zoomControl = false;
22 map.zoomControl = true;
23 L.control.scale({position: 'bottomleft'}).addTo(map);23 L.control.scale({position: 'bottomleft'}).addTo(map);
24 L.control.layers(baseLayer, overlays).addTo(map);24 L.control.layers(baseLayer, overlays).addTo(map);
25 loadWayPoints();25 loadWayPoints();