ios - 使用 MapKit 的地形和卫星 View

标签 ios mapkit

我是 Mapkit View 的新手。当我给出没有目的地的纬度和经度时,我想显示。 MapKit中是否可以通过地形、卫星 View 来显示 map ?有教程链接吗?我看过一些访问 Google map API(html 文件)的示例。有必要吗?

最佳答案

或者您可以通过编程方式将其设置为

mapView.mapType = MKMapTypeSatellite;

如果 Swift 3 不支持,请尝试以下操作:

    map.mapType = MKMapType.satellite;

关于ios - 使用 MapKit 的地形和卫星 View ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1564709/

相关文章:

ios - 应用程序在 [[AKMicrophone alloc]initWith :[[AVAudioFormat alloc]initStandardFormatWithSampleRate:AVAudioPCMFormatFloat32 channels:2]] 上崩溃

ios - 我的 iPhone 应用程序应该占用多少内存?

swift - 如何动画 MKMapKit 注释删除

ios - 如何获取特定路线的转弯指示?

ios - NSOperation对象(线程环境)中的非原子属性,何时使用?

objective-c - 调用viewDidLoad()中的方法。使用索引路径

ios - 第一次点火后的延迟计时器

ios - map View :rendererForOverlay delegate method never called when addOverlay is called on MKMapView

ios - 在 Swift 中构建地理定位

iphone - iOS 6 中的 MapKit - 如何查找附近的地点...?