From ad60eb06e28f7125e95d82fcc5ba0786ab7ae188 Mon Sep 17 00:00:00 2001 From: Arvind Date: Thu, 5 Sep 2013 19:08:52 +0530 Subject: [PATCH] Changing the zoom level for sat imagery to load --- main.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.js b/main.js index 41cbc59..4ba4a67 100644 --- a/main.js +++ b/main.js @@ -16,10 +16,10 @@ function init(){ "Base Map": tileLayer, "Satellite": sat }; - map = L.map('map', {layers:[tileLayer, markers, photos, sat]}).setView([14.31336, 76.64973], 13); - map.minZoom = 13; + map = L.map('map', {layers:[tileLayer, markers, photos, sat]}).setView([14.31336, 76.64973], 10); + map.minZoom = 10; map.maxZoom = 13; - map.zoomControl = false; + map.zoomControl = true; L.control.scale({position: 'bottomleft'}).addTo(map); L.control.layers(baseLayer, overlays).addTo(map); loadWayPoints(); -- 1.7.10.4