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

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

Tutorials...

http://workshops.opengeo.org/stack-intro/openlayers.html

http://workshops.opengeo.org/stack-intro/geoserver.html

share|improve this answer
1  
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: "postgis.org";, 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

 
discard

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