GooglePlaces Framework Reference
GMSPlusCode
@interface GMSPlusCode : NSObject
A class containing the Plus codes representation for a location. See https://plus.codes/ for more
details.
-
Geo plus code, e.g. “8FVC9G8F+5W”
Declaration
Swift
var globalCode: String { get }
Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull globalCode;
-
Compound plus code, e.g. “9G8F+5W Zurich, Switzerland”
Declaration
Swift
var compoundCode: String? { get }
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *compoundCode;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-08 UTC.
[null,null,["Last updated 2024-11-08 UTC."],[[["GMSPlusCode provides a representation of location using Plus Codes, allowing for precise identification worldwide."],["It includes a global code, a short code like \"8FVC9G8F+5W\", for universal location pinpointing."],["It may also contain a compound code, such as \"9G8F+5W Zurich, Switzerland\", which combines a short code with a human-readable location."]]],[]]