Fix for close draw polygon error

This commit is contained in:
Mattias Josefsson
2016-04-25 11:48:55 +02:00
parent 60926626df
commit e85d8fa749

View File

@@ -194,7 +194,7 @@ ol.interaction.Modify = function(options) {
* @type {Array}
* @private
*/
this.dragSegments_ = null;
this.dragSegments_ = [];
/**
* Draw overlay where sketch features are drawn.