Increase maximum zoom level on MKMapView

旧巷老猫 提交于 2019-12-22 05:39:16

问题


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?


回答1:


  1. you can set the zoom level from latitudeDelta and latitudeDelta.

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];


来源:https://stackoverflow.com/questions/21236576/increase-maximum-zoom-level-on-mkmapview

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!