enter code hereMKCoordinateRegion viewRegion;
viewRegion = MKCoordinateRegionMakeWithDistance(CLLocationCoordinate2DMake(51.4998844,-0.1261814), 10*1000, 10*1000);
[mapView setRegion:viewRegion animated:YES];
MapLocation *annotation;
annotation = [[MapLocation alloc] init];
annotation.coordinate =CLLocationCoordinate2DMake(51.4998844, -0.1261814);
annotation.placeTitle = [NSString stringWithString:@"London"];
[mapView addAnnotation:annotation];
[annotation release];`enter code here`
我将伦敦坐标设置为 10 公里半径。然后我将我的 iphone 地图与http://www.freemaptools.com/radius-around-point.htm进行比较。我发现 freemaptools 显示的位置比 iPhone 地图多得多。例如,我在 iPhone 上没有看到“White Stadt”,但我在 freemaptools 上看到了它。但为什么?请看我的照片。
更新:我添加了 span = 2*10 但这对我没有帮助。我们看到更多的领域。请看河上。