GMSUserAddedPlace.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. //
  2. // GMSUserAddedPlace.h
  3. // Google Maps SDK for iOS
  4. //
  5. // Copyright 2014 Google Inc.
  6. //
  7. // Usage of this SDK is subject to the Google Maps/Google Earth APIs Terms of
  8. // Service: https://developers.google.com/maps/terms
  9. //
  10. #import <CoreLocation/CoreLocation.h>
  11. #import <Foundation/Foundation.h>
  12. /**
  13. * Represents a place constructed by a user, suitable for adding to Google's collection of places.
  14. *
  15. * All properties must be set before passing to GMSPlacesClient.addPlace, except that either website
  16. * _or_ phoneNumber may be nil.
  17. */
  18. @interface GMSUserAddedPlace : NSObject
  19. /** Name of the place. */
  20. @property(nonatomic, copy) NSString *name;
  21. /** Address of the place. */
  22. @property(nonatomic, copy) NSString *address;
  23. /** Location of the place. */
  24. @property(nonatomic, assign) CLLocationCoordinate2D coordinate;
  25. /** Phone number of the place. */
  26. @property(nonatomic, copy) NSString *phoneNumber;
  27. /** List of types of the place as an array of NSStrings, like the GMSPlace.types property. */
  28. @property(nonatomic, copy) NSArray *types;
  29. /** The website for the place. */
  30. @property(nonatomic, copy) NSString *website;
  31. @end