This topic has not yet been rated - Rate this topic

MapsDirectionsTask.Start Property

April 12, 2014

The starting location for which driving directions are displayed.

Namespace:  Microsoft.Phone.Tasks
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)
XMLNS for XAML: Not mapped to an xmlns.
public LabeledMapLocation Start { get; set; }
<object>
  <object.Start>
    <LabeledMapLocation .../>
  </object.Start>
</object>

Property Value

Type: Microsoft.Phone.Tasks.LabeledMapLocation
Type: LabeledMapLocation. The starting location for which driving directions are displayed.

If the starting location is null or invalid when Show() is called, the user’s current location is used as the starting location. However, if both the starting and ending location are null or invalid, the Show() method will throw an InvalidOperationException.

Windows Phone OS

Supported in: 8.1, 8.0

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.