I'm new in Geoserver and OpenLayers Could you tell me how to display GML Layer from Geoserver using OpenLayers ?? I Would like to show the labels for each Feature
1 Answer
3
-
1I've follow the tutorial above.nothing error, but nothing shown on OpenLayers Map– lambanxDec 17, 2010 at 4:30
-
var wfslayer = new OpenLayers.Layer.Vector("WFS", { strategies: [new OpenLayers.Strategy.BBOX()], protocol: new OpenLayers.Protocol.WFS({ url: "localhost:1234/geoserver/wfs", featureType: "mobilegis:perkantoran", featureNS: "postgis.org", srsName: "EPSG:32752", version: "1.1.0" }) }); map.addLayer(wfslayer);– lambanxDec 17, 2010 at 4:30
-