Initialize all properties in constructor in ol.Geolocation
This commit is contained in:
@@ -49,7 +49,7 @@ ol.Geolocation = function() {
|
||||
* @private
|
||||
* @type {number|undefined}
|
||||
*/
|
||||
this.watchId_;
|
||||
this.watchId_ = undefined;
|
||||
|
||||
this.setTracking(false);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user