Give the draw interaction a style option

This commit is contained in:
Tim Schaub
2014-02-07 13:59:55 -07:00
parent 76f6961f83
commit 10d5073732
2 changed files with 7 additions and 4 deletions

View File

@@ -380,7 +380,8 @@
* drawing finish (default is 12).
* @property {ol.geom.GeometryType} type Drawing type ('Point', 'LineString',
* 'Polygon', 'MultiPoint', 'MultiLineString', or 'MultiPolygon').
* @property {ol.feature.StyleFunction|undefined} styleFunction Style function.
* @property {ol.style.Style|Array.<ol.style.Style>|ol.feature.StyleFunction|undefined} style
* Style for sketch features.
* @todo stability experimental
*/