AI-generated Key Takeaways
-
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.
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;