On Apr 30, 11:33 am, "[email protected]" <[email protected]>
wrote:
> It's all pre-determined paths based on the two inputs from the user
> into the dropdown menu.  I can plainly see this.  But I have no clue
> if a) this can be done in v3, and b) how on earth they did it
> themselves.

they did it themselves by applying Dikjstra's algorithm to calculate
the shortest path in a network.  See the javascript files:
RoutingAlgorithm.js for the algorithm and PATHS.js for the network,
which is comprised of vertices and paths.   For more details see
http://en.wikipedia.org/wiki/Dijkstra's_algorithm

...

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to