简体   繁体   English

细节较少的iOS MapKit

[英]iOS MapKit with less details

I have an iPhone/iPad application that displays the mapkit and adds other informations on top of it using annotations/overlays. 我有一个iPhone / iPad应用程序,该应用程序显示mapkit并使用注释/叠加在其上面添加其他信息。 The problem is that the standard information presented already on the map, especially the road ids, disturb the users and they hardly see some of the information we present using annotations. 问题在于,已经在地图上显示的标准信息(尤其是道路ID)干扰了用户,他们几乎看不到使用注释显示的某些信息。 We have users asking us to remove as much from the map details and to display only our information, which they are interesting in, but I can't figure out how to do that. 我们有用户要求我们从地图详细信息中删除尽可能多的信息,只显示他们感兴趣的信息,但我不知道该怎么做。

Can some of the information from the Standard MapKit type be removed somehow? 是否可以通过某种方式删除标准MapKit类型的某些信息?

Thanks, Bogdan. 谢谢,博格丹。

Set mapType to mutedStandard mapType设置为mutedStandard

@IBOutlet weak var mapView: MKMapView!

override func viewDidLoad() {
    super.viewDidLoad()
    mapView.mapType = .mutedStandard
}

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM