Initialize lastPixel_ properly

This commit is contained in:
ahocevar
2014-03-14 15:24:58 +01:00
parent c8f981b38d
commit 6de1636507

View File

@@ -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