[OpenLayers-Users] SelectFeature: enable clickTolerance to select
multi-features at one time
Simon
liuxd8510 at gmail.com
Fri Aug 26 09:48:26 EDT 2011
In my app, there's functional requirement to let user identify feature
attributes: click at a position, then features from several vector layers
that locates within clickTolerance will be selected and the selected
features list will be shown up in a popup panel.
after researching OpenLayers capabilities, I found that there's no
clickTolerance in SelectFeature config options, and also only one feature
from a single layer can be selected by click at one time. I am trying to
hack SelectFeature.js, however just can't make it due to my knowledge
limitation.
Another control "GetFeature" has clickTolerance, but it is supposed to be
used in getting feature from remote server. I think I should use
SelectFeature.
Any ideas about how to implement above function?
Appreciate a lot!
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/SelectFeature-enable-clickTolerance-to-select-multi-features-at-one-time-tp6728814p6728814.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users
mailing list