Export (0) Print
Expand All

MajorRoutesResponse.StartingPoints Property

This documentation is no longer available on MSDN. It is available as a CHM or PDF download. For the newest Geocoding, Imagery, Routing and Traffic services, see the Bing Maps REST Services

A Waypoint Class array containing the calculated start locations from all nearby major roads to the requested destination. Get this property from the service response.

public Waypoint[] StartingPoints { set; get; }

The StartingPoints property only defines the start locations to a destination from all nearby major roads. If you would like calculated routes returned in the MajorRoutesResponse.Routes Property as well, set the MajorRoutesOptions.ReturnRoutes Property to true when making the service request. Note that the service must perform one route calculation for every route returned in the Routes property.

If no major roads are found near the specified MajorRoutesRequest.Destination Property, then the StartingPoints property is returned empty.

Show:
© 2015 Microsoft