6002: better rendering by using an other layer than the basic one for openstreetmap
svn: r20602
This commit is contained in:
parent
9da74d1f95
commit
e9cfb24628
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user