| 12345678910111213141516171819202122232425262728293031323334353637383940 |
- //
- // GMSUserAddedPlace.h
- // Google Maps SDK for iOS
- //
- // Copyright 2014 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 <CoreLocation/CoreLocation.h>
- #import <Foundation/Foundation.h>
- /**
- * Represents a place constructed by a user, suitable for adding to Google's collection of places.
- *
- * All properties must be set before passing to GMSPlacesClient.addPlace, except that either website
- * _or_ phoneNumber may be nil.
- */
- @interface GMSUserAddedPlace : NSObject
- /** Name of the place. */
- @property(nonatomic, copy) NSString *name;
- /** Address of the place. */
- @property(nonatomic, copy) NSString *address;
- /** Location of the place. */
- @property(nonatomic, assign) CLLocationCoordinate2D coordinate;
- /** Phone number of the place. */
- @property(nonatomic, copy) NSString *phoneNumber;
- /** List of types of the place as an array of NSStrings, like the GMSPlace.types property. */
- @property(nonatomic, copy) NSArray *types;
- /** The website for the place. */
- @property(nonatomic, copy) NSString *website;
- @end
|