void MygeocodequerylocationSearch_QueryCompleted(object sender, QueryCompletedEventArgs<IList<MapLocation>> e)
{
List<GeoCoordinate> r;
if (e.Result.Count > 0)
{
_myQueryLocation = new RouteQuery();
r = new List<GeoCoordinate> { new GeoCoordinate(_myLatitude, _myLongitude), e.Result[0].GeoCoordinate };
_myQueryLocation.Waypoints = r;
_myQueryLocation.QueryCompleted += MyQuerySearchLocation_QueryCompleted;
_myQueryLocation.QueryAsync();
//Mygeocodequerylocation.Dispose();
}
}