[OpenLayers-Users] add layer on osm map

Luca Santaniello lsantaniello at cidsoftware.it
Thu Sep 15 05:40:33 EDT 2011


Hi all,

I need add geoserver WGS84 (EPSG:4326) to my map. The map contains 
already OSM base layer.

If I use follow code, I don't see my layer. Why?

var myLayer = new OpenLayers.Layer.WMS(label, serverWmsUrl, { layers: 
layerName}, {visibility: true});
map.addLayer([myLayer]);

Help me please

-- 
Luca Santaniello



More information about the Users mailing list