As per -requestTileForX:y:zoom:receiver: on GMSTileLayer, but provides a synchronous interface to return tiles. This method may block or otherwise perform work, and is not called on the main thread.
Calls to this method may also be made from multiple threads so implementations must be threadsafe.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-15 UTC."],[[["\u003cp\u003e\u003ccode\u003eGMSSyncTileLayer\u003c/code\u003e is a subclass of \u003ccode\u003eGMSTileLayer\u003c/code\u003e offering a synchronous interface for generating image tile data.\u003c/p\u003e\n"],["\u003cp\u003eIt provides a method \u003ccode\u003etileForX:y:zoom:\u003c/code\u003e (or \u003ccode\u003etileFor(x:y:zoom:)\u003c/code\u003e in Swift) to synchronously return tile images.\u003c/p\u003e\n"],["\u003cp\u003eThis method is executed off the main thread and must be thread-safe due to potential multi-threaded calls.\u003c/p\u003e\n"]]],[],null,["# GoogleMaps Framework Reference\n\nGMSSyncTileLayer\n================\n\n @interface GMSSyncTileLayer : ../Classes/GMSTileLayer.html\n\n`GMSSyncTileLayer` is an abstract subclass of [GMSTileLayer](../Classes/GMSTileLayer.html) that provides a sync interface to\ngenerate image tile data.\n- `\n ``\n ``\n `\n\n ### [-tileForX:y:zoom:](#/c:objc(cs)GMSSyncTileLayer(im)tileForX:y:zoom:)\n\n `\n ` \n As per `-requestTileForX:y:zoom:receiver:` on [GMSTileLayer](../Classes/GMSTileLayer.html), but provides a synchronous\n interface to return tiles. This method may block or otherwise perform work, and is not called on\n the main thread.\n\n Calls to this method may also be made from multiple threads so implementations must be\n threadsafe. \n\n #### Declaration\n\n Swift \n\n func tileFor(x: UInt, y: UInt, zoom: UInt) -\u003e UIImage?\n\n Objective-C \n\n - (nullable UIImage *)tileForX:(NSUInteger)x\n y:(NSUInteger)y\n zoom:(NSUInteger)zoom;"]]