[[["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\u003eGMSURLTileLayer\u003c/code\u003e fetches map tiles using URLs provided by a \u003ccode\u003eGMSTileURLConstructor\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eYou can customize the user agent for HTTP requests made by the tile layer.\u003c/p\u003e\n"],["\u003cp\u003eIt's easily initialized using a convenience constructor that takes a \u003ccode\u003eGMSTileURLConstructor\u003c/code\u003e to define how tile URLs are generated.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGMSURLTileProvider\u003c/code\u003e cannot be subclassed and should only be created using its designated constructor.\u003c/p\u003e\n"]]],["`GMSURLTileLayer` fetches tiles using URLs provided by a `GMSTileURLConstructor`. Create instances using `tileLayerWithURLConstructor:`, passing a constructor that returns a URL for given x, y, and zoom levels. The `userAgent` property allows customization of the HTTP request user agent; otherwise, the default iOS agent is used. Subclassing `GMSURLTileProvider` is not supported. A code example demonstrates how to generate the constructor.\n"],null,["GMSURLTileLayer \n\n @interface GMSURLTileLayer : ../Classes/GMSTileLayer.html\n\n`GMSURLTileProvider` fetches tiles based on the URLs returned from a [GMSTileURLConstructor](../Type-Definitions/GMSTileURLConstructor.html). For\nexample: \n\n```\n GMSTileURLConstructor constructor = ^(NSUInteger x, NSUInteger y, NSUInteger zoom) {\n NSString *URLStr =\n [NSString stringWithFormat:@\"https://example.com/%d/%d/%d.png\", x, y, zoom];\n return [NSURL URLWithString:URLStr];\n };\n GMSTileLayer *layer =\n [GMSURLTileLayer tileLayerWithURLConstructor:constructor];\n layer.userAgent = @\"SDK user agent\";\n layer.map = map;\n \n```\n\n\u003cbr /\u003e\n\n`GMSURLTileProvider` may not be subclassed and should only be created via its convenience\nconstructor.\n- `\n ``\n ``\n `\n\n [+tileLayerWithURLConstructor:](#/c:objc(cs)GMSURLTileLayer(cm)tileLayerWithURLConstructor:)`\n ` \n Convenience constructor. `constructor` must be non-nil. \n\n Declaration \n Swift \n\n convenience init(urlConstructor constructor: @escaping ../Type-Definitions/GMSTileURLConstructor.html)\n\n Objective-C \n\n + (nonnull instancetype)tileLayerWithURLConstructor:\n (nonnull ../Type-Definitions/GMSTileURLConstructor.html)constructor;\n\n- `\n ``\n ``\n `\n\n [userAgent](#/c:objc(cs)GMSURLTileLayer(py)userAgent)`\n ` \n Specify the user agent to describe your application. If this is nil (the default), the default\n iOS user agent is used for HTTP requests. \n\n Declaration \n Swift \n\n var userAgent: String? { get set }\n\n Objective-C \n\n @property (nonatomic, copy, nullable) NSString *userAgent;"]]