Initialize all properties in constructor in interactions

This commit is contained in:
Tom Payne
2013-04-18 21:02:53 +02:00
parent b24c46dd19
commit 7d610bde7b
3 changed files with 4 additions and 4 deletions

View File

@@ -36,7 +36,7 @@ ol.interaction.TouchZoom = function() {
* @private
* @type {number|undefined}
*/
this.lastDistance_;
this.lastDistance_ = undefined;
/**
* @private