6002: better rendering by using an other layer than the basic one for openstreetmap

svn: r20602
This commit is contained in:
Jérôme Rapinat 2012-10-25 18:56:07 +00:00
parent 9da74d1f95
commit e9cfb24628

View File

@ -262,8 +262,8 @@ openstreetmap_jsc = """
var wms = new OpenLayers.Layer.WMS( var wms = new OpenLayers.Layer.WMS(
"OpenLayers WMS", "OpenLayers WMS",
"http://vmap0.tiles.osgeo.org/wms/vmap0", "http://maps.opengeo.org/geowebcache/service/wms",
{'layers':'basic'}); {'layers':"openstreetmap", 'format': "image/png"});
map.addLayer(wms); map.addLayer(wms);
map.setCenter(new OpenLayers.LonLat(0, 0), 1); map.setCenter(new OpenLayers.LonLat(0, 0), 1);