GMSPlacePickerConfig.h 780 B

12345678910111213141516171819202122232425262728293031
  1. //
  2. // GMSPlacePickerConfig.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 <GoogleMaps/GMSCoordinateBounds.h>
  11. #import <GoogleMaps/GMSPlacesClient.h>
  12. /**
  13. * Configuration object used to change the behaviour of the place picker.
  14. */
  15. @interface GMSPlacePickerConfig : NSObject
  16. /**
  17. * The initial viewport that the place picker map should show. If this is nil, a sensible default
  18. * will be chosen based on the user's location.
  19. */
  20. @property(nonatomic, strong, readonly) GMSCoordinateBounds *viewport;
  21. /**
  22. * Initialize the configuration.
  23. */
  24. - (instancetype)initWithViewport:(GMSCoordinateBounds *)viewport;
  25. @end