routeDraggable property is not working when setting the request option

Corbin Maledo 1 Reputation point
2021-03-04T08:47:22.753+00:00

I am trying to disable route dragging with mouse cursor. when I set the property routeDraggable to false, I still able to change the routes.

Windows Maps
Windows Maps
A Microsoft app that provides voice navigation and turn-by-turn driving, transit, and walking directions.
255 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. IoTGirl 3,126 Reputation points Microsoft Employee
    2021-03-11T22:53:17.923+00:00

    Hello @Corbin Maledo ,

    I have been able to reproduce your issue using our interactive SDK as follows:

    1. Go to https://www.bing.com/api/maps/sdkrelease/mapcontrol/isdk/directionscreatedrivingroute and choose either Release or Experimental branch
    2. Hover on the map to see the hint that the route is draggable
    3. Edit the code to add routeDraggable: false to the settings
    4. Hit the run button to execute the changed code

    Expected result: Route should not be draggable
    Actual result: The hove help is gone but the route is still draggable

    I have reported this to the Bing Maps for Enterprise Team but they work on an AGILE schedule so I can not give you a time line for their review or a fix.

    Sincerely,
    IoTGirl

    0 comments No comments

  2. IoTGirl 3,126 Reputation points Microsoft Employee
    2021-05-24T13:49:19.387+00:00

    Hello @Corbin Maledo ,

    Can you confirm this issue is fixed for you by using the "Experimental branch?

    Go to https://www.bing.com/api/maps/sdkrelease/mapcontrol/isdk/directionscreatedrivingroute and choose Experimental branch in the top right corner

    Sincerely,
    IoTGirl

    0 comments No comments

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.