Merge pull request #2269 from probins/select

Improve docs for interaction.Select
This commit is contained in:
Éric Lemoine
2014-07-03 17:07:03 +02:00
2 changed files with 22 additions and 8 deletions

View File

@@ -16,7 +16,10 @@ goog.require('ol.interaction.Interaction');
/**
* @classdesc
* Handles selection of vector data.
* Handles selection of vector data. A {@link ol.FeatureOverlay} is maintained
* internally to store the selected feature(s). Which features are selected is
* determined by the `condition` option, and optionally the `toggle` or
* `add`/`remove` options.
*
* @constructor
* @extends {ol.interaction.Interaction}
@@ -102,6 +105,7 @@ goog.inherits(ol.interaction.Select, ol.interaction.Interaction);
/**
* Get the selected features.
* @return {ol.Collection} Features collection.
* @todo api
*/