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 have a problem using ArcGIS wfs layer in openlayers. I would like to add the layer to the map as vector layer and then using a mousehover to highlight the features. However i cannot bring it to work.

Code example:

var buildings_wfs = new OpenLayers.Layer.Vector("Buildings_WFS",
                   {strategies: [new OpenLayers.Strategy.Fixed()],
                    visibility: true,
                    protocol: new OpenLayers.Protocol.WFS.v1_1_0({
                    srsName: "EPSG:3857",
                    version: "1.1.0",
                    featureType: "Buildings",
                    url: "http://XXX/MapServer/WFSServer",
                    featureNS: "http://XXX/MapServer/WFSServer",
                    geometryName: "Shape",})});

any help is much apreciated.

share|improve this question

Your Answer


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

Browse other questions tagged or ask your own question.