GoogleMaps Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
GMSTileReceiver
@protocol GMSTileReceiver <NSObject>
GMSTileReceiver
is provided to GMSTileLayer
when a tile request is made, allowing the
callback to be later (or immediately) invoked.
-
Declaration
Swift
func receiveTileWith(x: UInt, y: UInt, zoom: UInt, image: UIImage?)
Objective-C
- (void)receiveTileWithX:(NSUInteger)x
y:(NSUInteger)y
zoom:(NSUInteger)zoom
image:(nullable UIImage *)image;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-27 UTC.
[null,null,["Last updated 2025-08-27 UTC."],[[["\u003cp\u003e\u003ccode\u003eGMSTileReceiver\u003c/code\u003e is a protocol used by \u003ccode\u003eGMSTileLayer\u003c/code\u003e for handling tile requests.\u003c/p\u003e\n"],["\u003cp\u003eIt provides a callback mechanism, \u003ccode\u003ereceiveTileWithX:y:zoom:image:\u003c/code\u003e, to deliver tile images.\u003c/p\u003e\n"],["\u003cp\u003eThe callback can be invoked immediately or at a later time.\u003c/p\u003e\n"],["\u003cp\u003eThe callback includes information on tile coordinates (x, y, zoom) and the image.\u003c/p\u003e\n"]]],[],null,["# GoogleMaps Framework Reference\n\nGMSTileReceiver\n===============\n\n @protocol GMSTileReceiver \u003cNSObject\u003e\n\n`GMSTileReceiver` is provided to [GMSTileLayer](../Classes/GMSTileLayer.html) when a tile request is made, allowing the\ncallback to be later (or immediately) invoked.\n- `\n ``\n ``\n `\n\n ### [-receiveTileWithX:y:zoom:image:](#/c:objc(pl)GMSTileReceiver(im)receiveTileWithX:y:zoom:image:)\n\n `\n ` \n\n #### Declaration\n\n Swift \n\n func receiveTileWith(x: UInt, y: UInt, zoom: UInt, image: UIImage?)\n\n Objective-C \n\n - (void)receiveTileWithX:(NSUInteger)x\n y:(NSUInteger)y\n zoom:(NSUInteger)zoom\n image:(nullable UIImage *)image;"]]