# GoogleMaps Framework Reference

# GMSPlaceFeature


    @interface GMSPlaceFeature : NSObject <https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Protocols/GMSFeature.html>

An interface representing a place feature (a feature with a Place ID).
- `


  ### [featureType](https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSPlaceFeature#/c:objc(cs)GMSPlaceFeature(py)featureType)


  `

  #### Declaration

  Swift

      var featureType: FeatureType { get }

  Objective-C

      @property(nonatomic, readonly) https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Type-Definitions/GMSFeatureType.html featureType

- `


  ### [placeID](https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSPlaceFeature#/c:objc(cs)GMSPlaceFeature(py)placeID)


  `

  #### Declaration

  Swift

      var placeID: String { get }

  Objective-C

      @property(nonatomic, readonly) NSString *placeID

- `


  ### [-initWithFeatureType:placeID:](https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSPlaceFeature#/c:objc(cs)GMSPlaceFeature(im)initWithFeatureType:placeID:)


  ` Create a feature layer instance for testing.

  This method should be used for your unit tests only. In production, `GMSPlaceFeature` instances
  should only be created by the SDK.

  #### Declaration

  Swift

      convenience init(featureType: FeatureType, placeID: String)

  Objective-C

      - (nonnull instancetype)initWithFeatureType:(nonnull https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Type-Definitions/GMSFeatureType.html)featureType
                                          placeID:(nonnull NSString *)placeID;

- `


  ### [-init](https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSPlaceFeature#/c:objc(cs)GMSPlaceFeature(im)init)


  ` Unavailable

  #### Declaration

  Objective-C

      - (instancetype)init NS_DESIGNATED_INITIALIZER NS_UNAVAILABLE;