FeatureSelector

Inherits from:<OpenLayers.Control>
Summary
FeatureSelector
Properties
layerPredicatePredicate which tells if a layer should be considered for feature selection or not.
controllerFeature selection function.
callbackCallback for selection results.
exceptionHandlerCallback for exception handler.
eventTypesTypes of map events this control should react to.

Properties

layerPredicate

Predicate which tells if a layer should be considered for feature selection or not.

controller

Feature selection function.  Function with an interface function(layers, selectionGeometry, mode, { callback: callback, exceptionHandler: exceptionHandler }).

callback

Callback for selection results.  Function with an interface function(result).

exceptionHandler

Callback for exception handler.  Function with an interface function(message, exception).

eventTypes

Types of map events this control should react to.