Configure draw interaction with a vector source

This commit is contained in:
Éric Lemoine
2014-01-20 15:09:13 +01:00
parent 646dd18149
commit 9d6d0e03c2
3 changed files with 15 additions and 17 deletions

View File

@@ -363,7 +363,7 @@
/**
* @typedef {Object} olx.interaction.DrawOptions
* @property {ol.layer.Vector|undefined} layer Destination layer for the features.
* @property {ol.source.Vector|undefined} source Destination source for the 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',