GMSSyncTileLayer.h 844 B

1234567891011121314151617181920212223242526272829
  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. /**
  12. * GMSSyncTileLayer is an abstract subclass of GMSTileLayer that provides a sync
  13. * interface to generate image tile data.
  14. */
  15. @interface GMSSyncTileLayer : GMSTileLayer
  16. /**
  17. * As per requestTileForX:y:zoom:receiver: on GMSTileLayer, but provides a
  18. * synchronous interface to return tiles. This method may block or otherwise
  19. * perform work, and is not called on the main thread.
  20. *
  21. * Calls to this method may also be made from multiple threads so
  22. * implementations must be threadsafe.
  23. */
  24. - (UIImage *)tileForX:(NSUInteger)x y:(NSUInteger)y zoom:(NSUInteger)zoom;
  25. @end