This project is read-only.

Route Service Helper

Author: Ricky Brundritt

Category: Data

Module Size: 11 kb (minified 4 kb)

Original Source: Calculating long routes with Bing Maps V7

Dependencies: none


This module is designed for use with Bing Maps v7. It wraps the Bing Maps REST Routing service and makes it easy to request routes with any number of waypoints. This does this by making multiple route requests and merging the route results.


Currently this module is limited to driving and walking directions, transit directions are not supported. User context information and route tolerances are also not supported.

Last edited Feb 8, 2014 at 10:44 PM by rbrundritt, version 5


Wislam06 Jan 26, 2015 at 7:21 AM 
Hye darcon77!
I have been working on route optimization for bing maps. It moves from point to point which is closest to you , however i am stuck with the way point limit of 25. Is there any easy to surpass this limit because this module is a bit complex?

darcon77 Oct 4, 2011 at 4:17 PM 
Ricky, I've been following your posts and want to thank you for all the effort you put in into making migration to newer Bing Maps control as seamless to older control users as possible.
From my understanding the above module does not support route optimization. It would take the waypoints in the order they are passed and return the route that just joins them together. I was wondering how hard or easy would it be to implement some kind of a route optimization in Bing? I have experimented with Traveling Salesman's problem, but it's not viable since it takes over a minute to optimize a route with 20 stops.