Initialize all properties in constructor in interactions
This commit is contained in:
@@ -36,7 +36,7 @@ ol.interaction.TouchZoom = function() {
|
||||
* @private
|
||||
* @type {number|undefined}
|
||||
*/
|
||||
this.lastDistance_;
|
||||
this.lastDistance_ = undefined;
|
||||
|
||||
/**
|
||||
* @private
|
||||
|
||||
Reference in New Issue
Block a user