GMSPlusCode.h 704 Bytes
Newer Older
Julio Hermosa committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
//
//  GMSPlusCode.h
//  Google Places SDK for iOS
//
//  Copyright 2018 Google Inc.
//
//  Usage of this SDK is subject to the Google Maps/Google Earth APIs Terms of
//  Service: https://developers.google.com/maps/terms
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

/**
 * A class containing the Plus codes representation for a location.
 * See https://plus.codes/ for more details.
 */
@interface GMSPlusCode : NSObject

/** Geo plus code, e.g. "8FVC9G8F+5W" */
@property(nonatomic, readonly, copy) NSString *globalCode;

/** Compound plus code, e.g. "9G8F+5W Zurich, Switzerland" */
@property(nullable, nonatomic, readonly, copy) NSString *compoundCode;

@end

NS_ASSUME_NONNULL_END