GMSCoordinateBounds+GoogleMaps.h 857 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. //
  2. // GMSCoordinateBounds+GoogleMaps.h
  3. // Google Maps SDK for iOS
  4. //
  5. // Copyright 2013 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. #if __has_feature(modules)
  11. @import GoogleMapsBase;
  12. #else
  13. #import <GoogleMapsBase/GoogleMapsBase.h>
  14. #endif
  15. #import <GoogleMaps/GMSProjection.h>
  16. @class GMSPath;
  17. GMS_ASSUME_NONNULL_BEGIN
  18. @interface GMSCoordinateBounds (GoogleMaps)
  19. /**
  20. * Inits with bounds that encompass |region|.
  21. */
  22. - (id)initWithRegion:(GMSVisibleRegion)region;
  23. /**
  24. * Inits with bounds that encompass |path|.
  25. */
  26. - (id)initWithPath:(GMSPath *)path;
  27. /**
  28. * Returns a GMSCoordinateBounds representing the current bounds extended to
  29. * include |path|.
  30. */
  31. - (GMSCoordinateBounds *)includingPath:(GMSPath *)path;
  32. @end
  33. GMS_ASSUME_NONNULL_END