Cocoa touch 如何在Route Me开源地图上查找已加载地图分幅的边界?

Cocoa touch 如何在Route Me开源地图上查找已加载地图分幅的边界?,cocoa-touch,gps,cllocationmanager,route-me,Cocoa Touch,Gps,Cllocationmanager,Route Me,使用以下开源Route Me应用程序,我正在加载Maptiles mapview = [[RMMapView alloc] initWithFrame:CGRectMake(0.0f, 0.0f, 320.0f, 460.0f)]; [mapview setBackgroundColor:[UIColor whiteColor]]; mapview.delegate = self; id <RMTileSource> tileSource = [[[RMDBMapSource al

使用以下开源Route Me应用程序,我正在加载Maptiles

mapview = [[RMMapView alloc] initWithFrame:CGRectMake(0.0f, 0.0f, 320.0f, 460.0f)];
[mapview setBackgroundColor:[UIColor whiteColor]];
mapview.delegate = self;

id <RMTileSource> tileSource = [[[RMDBMapSource alloc] initWithPath:"@tilefile.db"] autorelease];

RMMapContents *rmcontents = [[RMMapContents alloc] initWithView:mapview tilesource:tileSource]; 
[self.view addSubview:mapview];//attached to mapview

如何从上述方法中获得4角位置?

您必须自己编写这样一个方法:

RMSphericalTrapezium trap;
CLLocationCoordinate2D nePoint = CLLocationCoordinate2DMake(
    trap.northeast.latitude,
    trap.northeast.longitude);

剩下的3个点,使用东南、西南和西北,与上面类似。

我的答案有用吗?请随意投票。
RMSphericalTrapezium trap;
CLLocationCoordinate2D nePoint = CLLocationCoordinate2DMake(
    trap.northeast.latitude,
    trap.northeast.longitude);