Merge pull request #2204 from probins/dragbox

Correct/improve dragbox docs
This commit is contained in:
Paul Spencer
2014-07-08 19:40:55 -04:00
4 changed files with 11 additions and 3 deletions

View File

@@ -32,6 +32,9 @@ goog.require('ol.interaction.PinchZoom');
* * {@link ol.interaction.MouseWheelZoom}
* * {@link ol.interaction.DragZoom}
*
* Note that DragZoom renders a box as a vector polygon, so this interaction
* should be excluded if you want a build with no vector support.
*
* @param {olx.interaction.DefaultsOptions=} opt_options Defaults options.
* @return {ol.Collection} A collection of interactions to be used with
* the ol.Map constructor's interactions option.