GoogleNavigation Framework Reference

  • GMSFeature is a protocol used to represent the metadata of a feature on a map.

  • It's crucial to avoid storing direct references to feature objects due to their instability.

  • The featureType property indicates the category or 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;