Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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


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.