示例#1
0
 public static void AddMiles(this Point point, double miles, int multiplier = 1)
 {
     point.AddMilesToLatitude(miles * multiplier);
     point.AddMilesToLongitude(miles * multiplier);
     point.Latitude = point.Latitude + miles / MilesToLatitude;
 }