You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
letfrom={latitude: 51.054556,longitude: 3.725333,name: 'A'};letto={latitude: 51.04892,longitude: 3.728874,name: 'B'};planner.query({
from, to
}).take(3).on('end',()=>{console.log(from)});
the id attribute of fromand to will be changed to for example "Departure Point" which is undesireable behavior and will cause problems when using const. Better to make a copy of these ILocation objects in the planner.
The text was updated successfully, but these errors were encountered:
When calling the planner as follows:
the id attribute of
from
andto
will be changed to for example "Departure Point" which is undesireable behavior and will cause problems when usingconst
. Better to make a copy of theseILocation
objects in the planner.The text was updated successfully, but these errors were encountered: