public void Initialize()
 {
     webservice = new OneBusAwayWebservice();
 }
示例#2
0
 public double DistanceFromClosestSupportedRegion(GeoCoordinate location)
 {
     return(OneBusAwayWebservice.ClosestRegion(location).DistanceFrom(location.Latitude, location.Longitude));
 }
示例#3
0
 public bool AreLocationsEquivalent(GeoCoordinate location1, GeoCoordinate location2)
 {
     return(OneBusAwayWebservice.GetRoundedLocation(location1) == OneBusAwayWebservice.GetRoundedLocation(location2));
 }
示例#4
0
 public void Initialize()
 {
     webservice = new OneBusAwayWebservice();
 }