目前我在Google地图上工作。对于谷歌地图上的展示销我使用区域名称和使用地理编码器。所以现在我想放大Google地图。那么现在我如何设置使用geo编码器的跨度。请建议。
麦克
答案 0 :(得分:1)
-(void) showUS
{
MKMapView *mapView = (MKMapView *)self.view;
MKCoordinateRegion region;
MKCoordinateSpan span;
span.longitudeDelta= 56.250000;
CLLocationCoordinate2D center;
center.latitude=38.959409;
center.longitude=-97.734375;
region.span=span;
region.center=center;
@try {
[mapView setRegion:region animated:YES];
}
@catch (NSException * e) {
}
}