Home > @magiclane/maps-sdk > RouteTrafficEvent > asyncUpdateToFromData
RouteTrafficEvent.asyncUpdateToFromData() method
Update the local data needed for 'from' and 'to' landmarks address and description.
Signature:
asyncUpdateToFromData(onCompleteCallback: (err: GemError) => void): void;Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
onCompleteCallback |
(err: GemError) => void |
The callback that completes with the result of the operation. |
Returns:
void