增加MKMapView的最大缩放级别 [英] Increase maximum zoom level on MKMapView
本文介绍了增加MKMapView的最大缩放级别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在mkmapview上有一个图像叠加。
I have an image overlay on a mkmapview.
一旦达到地图的最大放大倍数,我似乎无法放大图像。
我仍然需要大量放大图像。
I can't seem to zoom in the image once i reach the max zoom in values of the map. I still have a lot of zooming in to the image to do.
任何想法?
我怎样才能更改地图的最大放大值?
Any ideas? Like how can i change the max zoom in value of the map?
推荐答案
- 您可以从latitudeDelta和latitudeDelta设置缩放级别。
MKCoordinateRegion region;
MKCoordinateRegion region;
region.center.latitude = appDelegate.latitudeString.floatValue;
region.center.longitude = appDelegate.longitudeString.floatValue;
region.span.latitudeDelta = 0.10;
region.span.longitudeDelta = 0.10;
[self.mapLocation setRegion:region animated:YES];
这篇关于增加MKMapView的最大缩放级别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文