GoogleMaps Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
GMSTileURLConstructor
typedef NSURL *_Nullable (^GMSTileURLConstructor)(NSUInteger, NSUInteger,
NSUInteger)
GMSTileURLConstructor
is a block taking x
, y
and zoom
and returning an NSURL, or nil to
indicate no tile for that location.
@related GMSURLTileLayer
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\u003eGMSTileURLConstructor\u003c/code\u003e is a block that generates URLs for map tiles based on their x, y coordinates and zoom level.\u003c/p\u003e\n"],["\u003cp\u003eIt is used to provide tile image URLs to \u003ccode\u003eGMSURLTileLayer\u003c/code\u003e, allowing the display of custom map tiles.\u003c/p\u003e\n"],["\u003cp\u003eIf a tile is not available for a specific location, the block returns \u003ccode\u003enil\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# GoogleMaps Framework Reference\n\nGMSTileURLConstructor\n=====================\n\n typedef NSURL *_Nullable (^GMSTileURLConstructor)(NSUInteger, NSUInteger,\n NSUInteger)\n\n`GMSTileURLConstructor` is a block taking `x`, `y` and `zoom` and returning an NSURL, or nil to\nindicate no tile for that location.\n\n@related [GMSURLTileLayer](../Classes/GMSURLTileLayer.html)"]]