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;