Initialize all properties in constructor in ol.Geolocation
This commit is contained in:
1 parent
43cfc2a4cd
commit
b24c46dd19
1 file changed
+1
-1
@@ -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