Commit ad60eb06e28f7125e95d82fcc5ba0786ab7ae188
Changing the zoom level for sat imagery to load
| | | | 16 | "Base Map": tileLayer, | 16 | "Base Map": tileLayer, |
---|
17 | "Satellite": sat | 17 | "Satellite": sat |
---|
18 | }; | 18 | }; |
---|
19 | map = L.map('map', {layers:[tileLayer, markers, photos, sat]}).setView([14.31336, 76.64973], 13); | | map = L.map('map', {layers:[tileLayer, markers, photos, sat]}).setView([14.31336, 76.64973], 13); |
---|
20 | map.minZoom = 13; | | 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; | | 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(); |
---|