Latest 1.0.9
Homepage https://github.com/DingLe888/GDMap
License MIT
Platforms ios 8.0
Frameworks GLKit, OpenGLES, CoreGraphics, QuartzCore, CoreLocation, CoreTelephony, SystemConfiguration, Security, AdSupport, JavaScriptCore, UIKit, Foundation
Authors

GDMap 目的

是Arena地图部分Api的实现

配置要求

  • 在Appdelegate 的 application:didFinishLaunchingWithOptions方法中注册高德地图的key
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {

        let GDKey1 = "3193f87ffdedbf5ef545a0831fe4fea4"        
        GDMapManager.setGDAppKey(GDKey1)

        return true
}
  • 需要配置定位权限,如果需要同时支持在iOS8-iOS10和iOS11系统上后台定位,建议在plist文件中同时添加NSLocationWhenInUseUsageDescription、NSLocationAlwaysUsageDescription和NSLocationAlwaysAndWhenInUseUsageDescription权限申请。
  • 后台定位需要开启 Capabilities 中 background Model 的Location updates选项。

资源文件

  • arena.plugins.plist文件主要是配合Arena而做的一个维护api和函数实现之间的映射关系plist文件,不需要去关心。
  • pod install 结束后需要手动把Resources中的bundle文件引入主工程。

Latest podspec

{
    "name": "GDMap",
    "version": "1.0.9",
    "summary": "u96c6u6210u9ad8u5fb7SDKu66b4u9732u4e00u4e9bu65b9u6cd5",
    "description": "TODO: Add long description of the pod here.",
    "homepage": "https://github.com/DingLe888/GDMap",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "[email protected]": "[email protected]"
    },
    "source": {
        "git": "https://github.com/DingLe888/GDMap.git",
        "tag": "1.0.9"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "GDMap/Classes/**/*",
    "resources": [
        "*.bundle",
        "*.plist"
    ],
    "frameworks": [
        "GLKit",
        "OpenGLES",
        "CoreGraphics",
        "QuartzCore",
        "CoreLocation",
        "CoreTelephony",
        "SystemConfiguration",
        "Security",
        "AdSupport",
        "JavaScriptCore",
        "UIKit",
        "Foundation"
    ],
    "libraries": [
        "z",
        "stdc++.6.0.9",
        "c++"
    ],
    "vendored_frameworks": "Frameworks/*"
}

Pin It on Pinterest

Share This