Take the 2-minute tour ×
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 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

 
discard

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

Browse other questions tagged or ask your own question.