AI-generated Key Takeaways
-
GMSFeatureis a protocol defining the metadata of a feature on a map. -
Do not retain references to
GMSFeatureinstances as they are not guaranteed to be stable. -
featureTypereturns 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() -> FeatureTypeObjective-C
- (nonnull GMSFeatureType)featureType;