Direction card issue

Balasaheb Molawade 136 Reputation points
2025-02-22T11:18:12.67+00:00

Hi,

Hi,

We are using Bing Maps Directions to plot the route. When direction open we set Waypoints A and B as the case origin and destination programmatically. However, sometimes when the Directions card loads, Waypoints A and B are not set and get cleared. This issue only occurs when we set Optimize direction. 

https://www.bing.com/api/maps/sdk/mapcontrol/isdk/directionsinputpanel#JS

 Our use case is that when the Directions card loads, Waypoints A and B should automatically be set as the case origin and destination. After that, users should be able to add additional waypoints manually. However, at times, when the Directions card loads, Waypoints A and B are not set.

Another issue we are facing is that if Waypoints A and B have the same address, clicking the "Go" button hides the entire Directions card.

Thanks

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
42,182 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.