卫星模式下的MKMapView在变焦时显示黑屏 [英] MKMapView in satellite mode displays black screen while zooming
问题描述
此问题仅发生在卫星地图中。是否有修复以避免显示此黑屏?
This problem occurs only in satellite map. Is there a fix to avoid displaying this black screen?
注意:Apple Map应用程序未在设备中显示此黑屏但MKMapView显示此黑屏。
Note: Apple Map application not displaying this black screen in device But MKMapView displaying this black screen.
推荐答案
将 mapView 的缩放级别设置为最大缩放级别18 为 MKMapView
没有设置预定义的zoomlevel,所以我们必须使用 MKCoordinateSpan手动设置它?
Set zoomlevel of mapView to maximum zoom level 18 as MKMapView
didn't have predefine zoomlevel set so we have to set it manually using MKCoordinateSpan
关于zoomlevel你可以通过这个链接获得帮助 http://troybrant.net/blog/2010/01/mkmapview-and-zoom-levels-a-visual-guide/
About zoomlevel you will get help by this link http://troybrant.net/blog/2010/01/mkmapview-and-zoom-levels-a-visual-guide/
这篇关于卫星模式下的MKMapView在变焦时显示黑屏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!