Sign up ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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

share|improve this question

1 Answer 1


share|improve this answer
I've follow the tutorial above.nothing error, but nothing shown on OpenLayers Map – lambanx Dec 17 '10 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: "";, srsName: "EPSG:32752", version: "1.1.0" }) }); map.addLayer(wfslayer); – lambanx Dec 17 '10 at 4:30
neither of these tutorials are available any longer. – Kyle Jan 21 '13 at 23:56

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.