Merge pull request #1861 from ahocevar/init-lastpixel

Initialize lastPixel_ properly
This commit is contained in:
Andreas Hocevar
2014-03-14 15:44:52 +01:00

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