Show MKPolyline on top of MapView when type is SatelliteFlyover?

。_饼干妹妹 提交于 2020-02-22 07:17:13

问题


I want to show a few MKPolylines on top of MapKit's mapView. The problem is when setting the map type to .satelliteFlyover my polylines will disappear. If I change to just using .satellite they're visible.

mapView.type = .satelliteFlyover
mapView.addOverlay(polyline)

来源:https://stackoverflow.com/questions/56917088/show-mkpolyline-on-top-of-mapview-when-type-is-satelliteflyover

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