Initialize all properties in constructor in ol.Geolocation

This commit is contained in:
Tom Payne
2013-04-18 21:02:18 +02:00
parent 43cfc2a4cd
commit b24c46dd19

View File

@@ -49,7 +49,7 @@ ol.Geolocation = function() {
* @private * @private
* @type {number|undefined} * @type {number|undefined}
*/ */
this.watchId_; this.watchId_ = undefined;
this.setTracking(false); this.setTracking(false);