[OpenLayers-Users] Query multiple features from one or more
vector layers
Phil Scadden
p.scadden at gns.cri.nz
Wed May 16 14:13:13 PDT 2012
How about this? (What I do). Create drawFeature control using a display
layer and point Handler.
Register a featureadded event handler which creates a BBOX or DWITHIN
(not all server can handler this...) filter.
Create a wfsProtocol on the layer, and then wfsProtocol.read with that
filter. In my case, the callback on the read, draws the selected
features (unless I have
used SLDSelect instead) and creates a popup from the returned attributes.
Notice: This email and any attachments are confidential. If received in error please destroy and immediately notify us. Do not copy or disclose the contents.
More information about the Users
mailing list