[OpenLayers-Users] what is Code for wfs layer?

Mustafa646 noorcs22 at gmail.com
Wed Feb 23 11:18:40 EST 2011


Below is code for WMS layer:

 var wmslayer = new OpenLayers.Layer.WMS("US States",
"http://localhost:8080/geoserver/wms", { 'layers': 'topp:states', 'format':
'image/png', 'transparent': 'true' }, {'opacity': 1.0,'isBaseLayer': false,
'visibility': true });

What will be the similar code for WFS layer ?
-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/what-is-Code-for-wfs-layer-tp6056901p6056901.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.


More information about the Users mailing list