Add features option to draw interaction

This commit is contained in:
Antoine Abt
2014-02-21 13:41:07 +01:00
parent ec832bdf6e
commit a971928bbe
2 changed files with 12 additions and 1 deletions

View File

@@ -388,7 +388,8 @@
/**
* @typedef {Object} olx.interaction.DrawOptions
* @property {ol.source.Vector|undefined} source Destination source for the features.
* @property {ol.Collection|undefined} features Destination collection for the drawn features.
* @property {ol.source.Vector|undefined} source Destination source for the drawn features.
* @property {number|undefined} snapTolerance Pixel distance for snapping to the
* drawing finish (default is 12).
* @property {ol.geom.GeometryType} type Drawing type ('Point', 'LineString',