GMSSyncTileLayer.h 1017 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. //
  2. // GMSSyncTileLayer.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. #import <GoogleMaps/GMSTileLayer.h>
  11. #if __has_feature(modules)
  12. @import GoogleMapsBase;
  13. #else
  14. #import <GoogleMapsBase/GoogleMapsBase.h>
  15. #endif
  16. GMS_ASSUME_NONNULL_BEGIN
  17. /**
  18. * GMSSyncTileLayer is an abstract subclass of GMSTileLayer that provides a sync
  19. * interface to generate image tile data.
  20. */
  21. @interface GMSSyncTileLayer : GMSTileLayer
  22. /**
  23. * As per requestTileForX:y:zoom:receiver: on GMSTileLayer, but provides a
  24. * synchronous interface to return tiles. This method may block or otherwise
  25. * perform work, and is not called on the main thread.
  26. *
  27. * Calls to this method may also be made from multiple threads so
  28. * implementations must be threadsafe.
  29. */
  30. - (UIImage *GMS_NULLABLE_PTR)tileForX:(NSUInteger)x y:(NSUInteger)y zoom:(NSUInteger)zoom;
  31. @end
  32. GMS_ASSUME_NONNULL_END