GoogleNavigation Framework Reference
    
    
      
    
    
      
      Stay organized with collections
    
    
      
      Save and categorize content based on your preferences.
    
  
  
      
    
  
  
  
  
  
    
  
  
    
    
    
      
        
          
            GMSSyncTileLayer
              
            GMSSyncTileLayer is an abstract subclass of GMSTileLayer that provides a sync interface to
generate image tile data.
          
          
            
              
                - 
                  
                  
                    
                    
                      
                      
                        As per -requestTileForX:y:zoom:receiver:onGMSTileLayer, 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. 
 
                        Declaration
                          Swift func tileFor(x: UInt, y: UInt, zoom: UInt) -> UIImage?
 
 
                          Objective-C - (nullable UIImage *)tileForX:(NSUInteger)x
                             y:(NSUInteger)y
                          zoom:(NSUInteger)zoom;
 
 
 
 
           
        
      
     
  
  
  
    
  
 
  
    
    
      
       
    
    
  
  
  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."],[],["`GMSSyncTileLayer` is a subclass of `GMSTileLayer` offering a synchronous method for generating image tile data. The core function, `tileForX:y:zoom:`, mirrors `requestTileForX:y:zoom:receiver:` but operates synchronously and can potentially block. This method, which isn't executed on the main thread, returns a `UIImage` tile based on provided x, y coordinates, and zoom level. Implementations must be thread-safe due to possible multi-threaded calls.\n"]]