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();
 }