GoogleMaps Framework Reference
    
    
      
    
    
      
      Stay organized with collections
    
    
      
      Save and categorize content based on your preferences.
    
  
  
      
    
  
  
  
  
  
    
  
  
    
    
    
      
        
          
            GMSDatasetFeatureLayer
              
            An interface representing a feature layer for a dataset.
The featureType of a GMSDatasetFeatureLayer will always be GMSFeatureTypeDataset.
          
          
            
              
                - 
                  
                  
                    
                    
                      
                      
                      
                        Declaration
                          Swift var datasetID: String! { get }
 
 
                          Objective-C @property (nonatomic, readonly) NSString *datasetID;
 
 
 
 
           
        
      
     
  
  
  
    
  
 
  
    
    
      
       
    
    
  
  
  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."],[],["This describes the `GMSDatasetFeatureLayer` interface, a feature layer specifically for datasets. It's always of `GMSFeatureTypeDataset`. The key property is `datasetID`, which is a read-only string representing the unique identifier of the dataset. This ID can be accessed using a property in both Swift and Objective-C, allowing retrieval of the dataset's identifier.\n"]]