[OpenLayers-Dev] Re: How do I fire a function after all features
have been selected by a box in OpenLayers?
Xavier Mamano (jorix)
xavier.mamano at gmail.com
Tue Jan 10 17:37:45 EST 2012
Currently OpenLayers does not offer this possibility with ease.
You must add this two lines, preferably before activating the control:
selectCtrl.handlers.box.keyMask = OpenLayers.Handler.MOD_CTRL;
selectCtrl.handlers.box.dragHandler.keyMask = OpenLayers.Handler.MOD_CTRL;
for the different values of "keyMask"
(You are asking a variety of features that are implemented in
this proposal attempts to simplify the use of SelectFeature and popups, may
be of interest to you use it. --I would like to adjust it to the needs of
> The user is not happy losing the ability to use their mouse to navigate
> the map, so they'd rather have to hold down the "select" key on their
> keyboard in order to drag the box to select the features.
View this message in context: http://osgeo-org.1803224.n2.nabble.com/How-do-I-fire-a-function-after-all-features-have-been-selected-by-a-box-in-OpenLayers-tp7168754p7174136.html
Sent from the OpenLayers Dev mailing list archive at Nabble.com.
More information about the Dev