diff --git a/src/ol/interaction/modifyinteraction.js b/src/ol/interaction/modifyinteraction.js index 628cda7b86..bb9fcc0914 100644 --- a/src/ol/interaction/modifyinteraction.js +++ b/src/ol/interaction/modifyinteraction.js @@ -67,7 +67,7 @@ ol.interaction.Modify = function(options) { * @type {ol.Pixel} * @private */ - this.lastPixel_ = null; + this.lastPixel_ = [0, 0]; /** * Segment RTree for each layer