Fix for close draw polygon error
This commit is contained in:
@@ -194,7 +194,7 @@ ol.interaction.Modify = function(options) {
|
|||||||
* @type {Array}
|
* @type {Array}
|
||||||
* @private
|
* @private
|
||||||
*/
|
*/
|
||||||
this.dragSegments_ = null;
|
this.dragSegments_ = [];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Draw overlay where sketch features are drawn.
|
* Draw overlay where sketch features are drawn.
|
||||||
|
|||||||
Reference in New Issue
Block a user