MkMapView缩放帧查找。
提前谢谢 如何在iOS中检测地图的缩放级别。 这意味着就像查找滚动视图高度一样,如何查找特定的缩放级别MkMapView缩放帧查找。,map,zooming,Map,Zooming,提前谢谢 如何在iOS中检测地图的缩放级别。 这意味着就像查找滚动视图高度一样,如何查找特定的缩放级别 #define MERCATOR_RADIUS 85445659.44705395 -(int) Mapzoomlevel { return 21- round(log2(self.mapView.region.span.longitudeDelta * MERCATOR_RADIUS * M_PI / (180.0 * self
#define MERCATOR_RADIUS 85445659.44705395
-(int) Mapzoomlevel {
return 21- round(log2(self.mapView.region.span.longitudeDelta *
MERCATOR_RADIUS * M_PI / (180.0 * self.mapView.bounds.size.width)));
}
-(void)zoom_level_in_floatvalue {
NSLog(@"%f",[self Mapzoomlevel]);
}