Time of route?

I am interested in obtaining the necessary time of a route (not only the distance). For example, from A origin to B point. Is possible to do this? How?

Thanks in advance

Alex

[200 byte] By [XinuXano] at [2008-2-11]
# 1
Dear Caleb T,

The time of route is more interesting for evaluate de best itinerary

between two points (not only in distance) for shortest/fastest route.

Are news about this topic and desired VE function?

Thanks a lot

alex_ending at 2007-8-30 > top of Msdn Tech,Windows Live Developer Forums,Virtual Earth: Map Control Development...
# 2

Is it not just ?

VERouteItinerary.Time = value

StuartRobinson at 2007-8-30 > top of Msdn Tech,Windows Live Developer Forums,Virtual Earth: Map Control Development...
# 3
Thanks Stuart!
1) It had not seen this in the SDK. Sorry for my question!

2) Some notes about VERouteItinerary.Time from my experience:

  • VERouteItinerary.Time is a string, for example: "5 Minutes" or "1 Minute"
  • if value is less than one minute, the string is "Less Than One Minute"
  • if value is more than one hour, the string is similar to: "33 Hours, 41 Minutes" or "5 Hour"
  • Remember that Time value is dependent of VERouteType (Shortest or Quickest)
alex_ending at 2007-8-30 > top of Msdn Tech,Windows Live Developer Forums,Virtual Earth: Map Control Development...

Windows Live Developer Forums

Site Classified