Map4D SDK
适用于 iOS 的 Map4D SDK,用 C/C++、Objective C 编写。
安装
使用 CocoaPods。
- 更新您的 Cocoapods 当地仓库
pod repo update
- 添加到 Podfile
pod 'Map4dMap'
使用
- 从 Info.plist 中提供访问密钥
<key>Map4dMapAccessKey</key>
<string>YOUR_ACCESS_KEY</string>
- 创建地图视图
import UIKit
import Map4dMap
class ViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
let mapView = MFMapView(frame: self.view.frame)
view = mapView
}
}
文档
https://docs.map4d.vn/map4d-map/ios/
许可协议
版权所有(C) 2023 IOT Link Ltd. 保留所有权利。