ios - 在 iOS 的 Google Maps SDK 寄存器中将 Channel、ClientId 放在哪里?

标签 ios swift google-maps google-maps-api-3

我已经编写了 Swift 代码。我想用 durationInTraffic在 Google Maps SDK for iOS 的注册中。

这里它说 Maps for work 客户应该包括他们的 clientId 和要注册的 channel 。但是我究竟把clientId和channel注册在哪里呢?下面是我的代码:

import UIKit

class AppDelegate: UIResponder, UIApplicationDelegate {

    var window: UIWindow?
    let googleMapsApiKey = "MY_GOOGLE_IOS_API_KEY"

    func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
        // Override point for customization after application launch.
        GMSServices.provideAPIKey(googleMapsApiKey)
        return true
    }
}

最佳答案

查了论坛发现不能分配 channel 注册Google Maps SDK for iOS:
developer.google.com/maps/premium/reports/usage-reports

关于ios - 在 iOS 的 Google Maps SDK 寄存器中将 Channel、ClientId 放在哪里?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44375684/

相关文章:

java - 每当我调用 getMap() 时,我都会收到 nullPointerException

android - Google Maps V2 - Android - 获取标记列表

c# - Unity 的 iOS 插件

ios - UISplitViewController 一致分隔线

swift - .decode 在 swift 4 中返回什么?

swift - 重新使用的 ViewController 中的搜索栏在 segue 后没有响应

ios - 在运行时获取主 Storyboard

ios - 使用 Apple Script 将多个文件从多个文件夹移动到一个

ios - UIImagePickerController 和 fatal error : array element cannot be bridged to Objective-C

android - 一次在每个标记上显示信息窗口