[OpenLayers-Dev] select feature filtering
Eric Lemoine
eric.c2c at gmail.com
Wed Dec 12 15:02:47 EST 2007
Hi
I've written a patch that allows passing a filter to the
Handler.Feature constructor. This filter object is basically a
user-defined function. Each time a feature is to be selected, that
function is executed. If the function returns true the feature is
selected, otherwise it's not. This filter thing can be useful when one
wants to restrict feature modification to certain features, based on
some user-defined conditions.
See attached patch. Please comment...
Thanks,
--
Eric
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-feature-select-filter.diff
Type: text/x-diff
Size: 8620 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20071212/bba26e4b/patch-feature-select-filter.bin
More information about the Dev
mailing list