我正在尝试使用 CLLocation 创建一个类似于圆半径的区域。我了解半径逻辑以及它如何以米为单位进行测量,但在 MKCoordinate 区域以及 delta 和 lat delta 转换为区域的时间并不那么清楚。我想获得一个 75 英里的区域。这是我的代码....
let center = CLLocationCoordinate2D(latitude: location.coordinate.latitude, longitude: location.coordinate.longitude)
let region = MKCoordinateRegion(center: center, span: MKCoordinateSpan(latitudeDelta: 0.01, longitudeDelta: 0.01))
如果您可以提供解释,而不仅仅是简短的回答,我们将不胜感激。