Support minPointsPerRing and default to 3
This commit is contained in:
@@ -415,6 +415,8 @@
|
||||
* drawing finish (default is 12).
|
||||
* @property {ol.geom.GeometryType} type Drawing type ('Point', 'LineString',
|
||||
* 'Polygon', 'MultiPoint', 'MultiLineString', or 'MultiPolygon').
|
||||
* @property {number|undefined} minPointsPerRing The number of points that must
|
||||
* be drawn before a polygon ring can be finished (default is 3).
|
||||
* @property {ol.style.Style|Array.<ol.style.Style>|ol.feature.StyleFunction|undefined} style
|
||||
* Style for sketch features.
|
||||
* @todo stability experimental
|
||||
|
||||
Reference in New Issue
Block a user