none
Direction by transit for multiple waypoint RRS feed

  • Question

  • Hi,

    We have developed one application to get the route between enter locations. When we chose route by driving for multiple location then it works but when we chose direction by Transit then it only shows direction between two locations. 

    Is any one face this issue and have solution for it.

    Thanks!

    Balasaheb

    Monday, March 14, 2016 2:53 PM

Answers

All replies

  • Transit routes only support two waypoints.

    http://rbrundritt.wordpress.com

    Tuesday, March 15, 2016 1:31 AM
  • Hi Ricky,

    Thanks for your response. This is very helpful.

    We have one more question. For most of the address we did not get the direction when we choose Transit. Any idea why.

    Thanks!

    Balasaheb 

    Tuesday, March 15, 2016 2:48 PM
  • Can you provide examples of where you are calculating transit directions. Transit directions are not supported everywhere.

    http://rbrundritt.wordpress.com

    Tuesday, March 15, 2016 6:04 PM
  • Hi Ricky,

    Below is the sample address for which we are trying to the Transit direction.

    1. Bainbridge, NY

    2. 3918 Franklin St, Auburn, NY 13021 

    Can you please check and let us know what is the wrong in this address.

    Thanks!

    Balasaheb


    Balasaheb

    Tuesday, March 29, 2016 2:06 PM
  • Took a quick look at this. It looks like "Bainbridge, NY" has two medium confidence results which is causing the routing service to complain as it isn't sure which one to use. Note that this is highlighted in the response from the routing service.

    I'll let the geocoding team know about this issue.

    Update: It we have an update coming to our geocoder later this year. It looks like it will resolve this issue.


    http://rbrundritt.wordpress.com


    Tuesday, March 29, 2016 7:20 PM
  • Hi Ricky,

    I just wanted to check if anything has changed recently on this( we use v8 web control). we also have similar requirement to plot a route on map with multiple waypoints with Transit directions.

    Also, I would like to check if this feature was ever there on any older control ( v7 etc ?)

    Monday, August 14, 2017 8:23 PM
  • Multi-waypoint routing is not supported for transit routing and never has been. That said, you can easily calculate multiple individual routes. Here are some code samples:

    http://bingmapsv8samples.azurewebsites.net/#Display%20Multiple%20Routes

    http://bingmapsv8samples.azurewebsites.net/#Display%20Multiple%20Routes


    [Blog] [twitter] [LinkedIn]

    Monday, August 14, 2017 10:12 PM
  • Thank you.
    Tuesday, August 15, 2017 12:53 PM