fiddle with OSM layer settings

This commit is contained in:
Sanj 2012-02-21 00:48:09 +05:30
parent fbde0b9f2f
commit 1441cb98a9

View File

@ -127,9 +127,7 @@ var API_BASE = "/1.0/",
var center = new OpenLayers.LonLat(72.855211097628413, 19.010775291486027); var center = new OpenLayers.LonLat(72.855211097628413, 19.010775291486027);
map = new OpenLayers.Map("mapCol", {}); map = new OpenLayers.Map("mapCol", {});
var layers = []; var layers = [];
layers[0] = new OpenLayers.Layer.WMS("OpenStreetMaps", layers[0] = new OpenLayers.Layer.OSM();
"http://vmap0.tiles.osgeo.org/wms/vmap0",
{layers: 'basic'});
/* /*
layers[0] = new OpenLayers.Layer.Google( layers[0] = new OpenLayers.Layer.Google(
"Google Streets", // the default "Google Streets", // the default