Ios MapKit中GMSCoordinateBounds的等效值

Ios MapKit中GMSCoordinateBounds的等效值,ios,swift,google-maps,maps,google-maps-sdk-ios,Ios,Swift,Google Maps,Maps,Google Maps Sdk Ios,选择位置后,将在地图视图中放置一个pin mapView.addAnnotation(annotation) let span = MKCoordinateSpanMake(0.05, 0.05) let region = MKCoordinateRegionMake(placemark.coordinate, span) mapView.setRegion(region, animated: true) 我想使用Apple的MapKit缩放到placemark的边界区域。i、 e我希望spa

选择位置后,将在
地图视图中放置一个pin

mapView.addAnnotation(annotation)
let span = MKCoordinateSpanMake(0.05, 0.05)
let region = MKCoordinateRegionMake(placemark.coordinate, span)
mapView.setRegion(region, animated: true)
我想使用Apple的MapKit缩放到placemark的边界区域。i、 e我希望
span
取决于位置的边界区域。 使用Google Maps SDK,这是可行的, 但是使用谷歌的Places pod会增加应用程序的文件大小(+增加应用程序加载时间)

如何使用MapKit和Swift进行此操作