Calculate area of MKPolygon in an MKMapView
问题 I just don't know how to calculate the area on the MKMapView. Anyone who has solved this problem yet? This is my code, but it returns way too much: func ringArea() -> Double{ var area: Double = 0 if templocations.count > 2 { var p1,p2:CLLocationCoordinate2D for var i = 0; i < templocations.count - 1; i++ { var loc = templocations[i] as CLLocation p1 = CLLocationCoordinate2D(latitude: loc.coordinate.latitude, longitude: loc.coordinate.longitude) loc = templocations[i+1] as CLLocation p2 =