apiKeyForGoogleMaps

This property allows the super app to configure the Google Map API key.

Note: Must configure this property before initializing the SDK.

Property

copy
/**
 Properties below are for GriverMap. Ignore if you are not using GriverMap

 To use the Maps SDK for iOS you must have an API key. The API key is a unique identifier that is used to authenticate requests associated with your project for usage and billing purposes. [Reference](https://developers.google.com/maps/documentation/ios-sdk/get-api-key)
 */
@property (nonatomic, copy) NSString * _Nullable APIKeyForGoogleMaps;

Name

Type

Description

Required

APIKeyForGoogleMaps

NSString

Indicates the API key for Google maps.

Yes

Sample

copy
func createGriverConfiguration() -> GRVConfiguration {
    let configuration = GRVConfiguration()
    configuration.apiKeyForGoogleMaps = "GoogleMaps API Key"
    return configuration
}