Initialize all properties in constructor in ol.Geolocation
This commit is contained in:
@@ -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);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user