multiple possible routes:using SOAP Route services
-
Wednesday, July 25, 2012 6:11 AM
Hi,
can u have multiple possible routes between two points if i m using SOAP service route request....
thanks in advance
prakas kumar
All Replies
-
Wednesday, July 25, 2012 8:31 AMOwner
No, multiple routes is a newer feature only available in the REST services. Note the SOAP services are old and slow and should not be used for new developments. Documentation on how to use the REST services in .NET can be found here: http://rbrundritt.wordpress.com/2012/01/06/bing-maps-rest-service-net-libraries/http://rbrundritt.wordpress.com
- Proposed As Answer by Richard_BrundrittMicrosoft Employee, Owner Wednesday, July 25, 2012 8:31 AM
- Marked As Answer by prakash_light Thursday, July 26, 2012 4:10 AM
-
Thursday, July 26, 2012 4:13 AMThanks Richard
-
Thursday, July 26, 2012 4:18 AMthe route i m getting from soap services is it shortest one.if yes than what basis(Time/distance)?????
-
Thursday, July 26, 2012 9:36 AMModerator
That depends on what value you passed for the RouteOptions.Optimization property. The default is to minimise time.
http://msdn.microsoft.com/en-us/library/cc981095
twitter: @alastaira blog: http://alastaira.wordpress.com/
- Marked As Answer by prakash_light Thursday, July 26, 2012 11:45 AM
-
Thursday, July 26, 2012 11:47 AMcan i change it to Distance in spite of Time..?
-
Thursday, July 26, 2012 12:55 PMModerator
Yes. Set the Optimization property to RouteOptimization.MinimizeDistancetwitter: @alastaira blog: http://alastaira.wordpress.com/
- Marked As Answer by prakash_light Friday, July 27, 2012 5:05 AM

