@wemap/providers 11.0.0-alpha.0 → 11.0.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js
CHANGED
|
@@ -28797,7 +28797,7 @@ const xn = new Oo(), xe = class extends K {
|
|
|
28797
28797
|
this._mapMatching.network = e, this._itineraryInfoManager = null, this.notify({ ...e && { network: e } }), this._manageStartStop(), this.canUseMapMatching();
|
|
28798
28798
|
}
|
|
28799
28799
|
set itinerary(e) {
|
|
28800
|
-
this._mapMatching.network = e ? e.toNetwork() : null, this._itineraryInfoManager = new lh(e), this.notify({ ...e && { itinerary: e } }), this._manageStartStop(), this.canUseMapMatching() && this._notifyPositionFromItineraryInput(e);
|
|
28800
|
+
this._mapMatching.network = e ? e.toNetwork() : null, this._itineraryInfoManager = new lh(e), this.notify({ ...e && { itinerary: e } }), this._manageStartStop(), this.canUseMapMatching() && e && this._notifyPositionFromItineraryInput(e);
|
|
28801
28801
|
}
|
|
28802
28802
|
canUseMapMatching() {
|
|
28803
28803
|
return this.enabled && this.network;
|