From 1441cb98a9f994925804c112c72d0df9b1742bce Mon Sep 17 00:00:00 2001 From: Sanj Date: Tue, 21 Feb 2012 00:48:09 +0530 Subject: [PATCH] fiddle with OSM layer settings --- chaloBEST/static/js/editstops.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/chaloBEST/static/js/editstops.js b/chaloBEST/static/js/editstops.js index a29b934..a37e7c5 100644 --- a/chaloBEST/static/js/editstops.js +++ b/chaloBEST/static/js/editstops.js @@ -127,9 +127,7 @@ var API_BASE = "/1.0/", var center = new OpenLayers.LonLat(72.855211097628413, 19.010775291486027); map = new OpenLayers.Map("mapCol", {}); var layers = []; - layers[0] = new OpenLayers.Layer.WMS("OpenStreetMaps", - "http://vmap0.tiles.osgeo.org/wms/vmap0", - {layers: 'basic'}); + layers[0] = new OpenLayers.Layer.OSM(); /* layers[0] = new OpenLayers.Layer.Google( "Google Streets", // the default