[Users] Add WFS to map and ClickableFeatures
pablo zader
pzader at gmail.com
Tue Aug 11 08:02:59 CEST 2015
Hi list
I am working with Geoexplorer (GXP + Openlayers + GeoExt) and need add WFS
layer to Map. how can I do it?
What I really need is to load a WFS layer and select a feature with the
mouse.
I am trying with this code. but can't add to map:
var WFSgeoDB=new OpenLayers.Layer.Vector("WFS", {
strategies: [new OpenLayers.Strategy.BBOX()],
protocol: new OpenLayers.Protocol.WFS.v1_1_0({
url: "http://localhost:8080/services/WFSgeoDB",
featureType: "streets",
featureNS: "http://www.deegree.org/app",
featurePrefix: "app",
geometryName: "road"
})
});
Then I discovered this class: *gxp.plugins.ClickableFeatures *(
http://horizon.boundlessgeo.com/opengeo-docs/sdk-api/lib/plugins/ClickableFeatures.html
)
, but not how to use it. You can serve this class for what I want? someone
could give some example of its use?
Thanks in advanced
Pablo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20150811/c2f9f4c5/attachment.html
More information about the Users
mailing list