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

Description:

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 at 9:44 PM by rbrundritt, version 5

Comments

darcon77 Oct 4, 2011 at 3: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.