WoosmapIndoorService Class Reference
Inherits from | NSObject |
---|---|
Declared in | WoosmapIndoorService.h |
+ sharedServices
Provides the shared instance of GMSServices for the Google Maps SDK for iOS, creating it if necessary. Classes such as GMSMapView and GMSPanoramaView will hold this instance to provide their connection to Google.
+ (id<NSObject>)sharedServices
Discussion
Provides the shared instance of GMSServices for the Google Maps SDK for iOS, creating it if necessary. Classes such as GMSMapView and GMSPanoramaView will hold this instance to provide their connection to Google.
This is an opaque object. If your application often creates and destroys view or service classes provided by the Google Maps SDK for iOS, it may be useful to hold onto this object directly, as otherwise your connection to Google may be restarted on a regular basis. It also may be useful to take this object in advance of the first map creation, to reduce initial map creation performance cost.
This method will throw an exception if provideAPIKey: has not been called.
Declared In
WoosmapIndoorService.h
+ provideAPIKey:andGMSMapKey:
*Provides your API key to the Google Maps SDK for iOS. This key is generated * for your application via the Google APIs Console, and is paired with your * application’s bundle ID to identify it. This should be called exactly once * by your application, e.g., in application: didFinishLaunchingWithOptions:.
+ (BOOL)provideAPIKey:(NSString *)APIKey andGMSMapKey:(NSString *)mapkey
Parameters
APIKey |
Key provided by Woosmap |
---|---|
mapkey |
Google map key by Google API console |
Return Value
YES if the APIKey was successfully provided
Discussion
*Provides your API key to the Google Maps SDK for iOS. This key is generated * for your application via the Google APIs Console, and is paired with your * application’s bundle ID to identify it. This should be called exactly once * by your application, e.g., in application: didFinishLaunchingWithOptions:.
Declared In
WoosmapIndoorService.h
+ openSourceLicenseInfo
Returns the open source software license information for Google Maps SDK for iOS. This information must be made available within your application.
+ (NSString *)openSourceLicenseInfo
Discussion
Returns the open source software license information for Google Maps SDK for iOS. This information must be made available within your application.
Declared In
WoosmapIndoorService.h
+ SDKVersion
Returns the version for this release of the Google Maps SDK for iOS.
+ (NSString *)SDKVersion
Discussion
Returns the version for this release of the Google Maps SDK for iOS.
Declared In
WoosmapIndoorService.h
– indoorApiKey
Returns API Key for Woosmap indoor usage.
- (NSString *)indoorApiKey
Discussion
Returns API Key for Woosmap indoor usage.
Declared In
WoosmapIndoorService.h