Commit ad60eb06e28f7125e95d82fcc5ba0786ab7ae188
- Diff rendering mode:
- inline
- side by side
main.js
(3 / 3)
  | |||
16 | 16 | "Base Map": tileLayer, | |
17 | 17 | "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 | 21 | map.maxZoom = 13; | |
22 | map.zoomControl = false; | ||
22 | map.zoomControl = true; | ||
23 | 23 | L.control.scale({position: 'bottomleft'}).addTo(map); | |
24 | 24 | L.control.layers(baseLayer, overlays).addTo(map); | |
25 | 25 | loadWayPoints(); |