GoogleMaps Framework Reference

  • GMSFeature is a protocol defining the metadata of a feature on a map.

  • Do not retain references to GMSFeature instances as they are not guaranteed to be stable.

  • featureType returns the type of the feature.

GMSFeature

  @protocol 
 GMSFeature 
 < 
 NSObject 
 > 
 

An interface representing a feature’s metadata.

Do not save a reference to a particular feature object because the reference will not be stable.

  • Type of this feature.

    Declaration

    Swift

      func 
     featureType 
     () 
     -> 
     FeatureType 
     
    

    Objective-C

      - 
     ( 
     nonnull 
      GMSFeatureType 
     
     ) 
     featureType 
     ; 
     
    
Design a Mobile Site
View Site in Mobile | Classic
Share by: