GMSDatasetFeature Class Reference

GMSDatasetFeature Class Reference

Overview

An interface representing a feature from a dataset.

The featureType of a DatasetFeature will always be GMSFeatureTypeDataset.

Inherits <GMSFeature>.

Public Member Functions

(instancetype) - initWithDatasetID:datasetAttributes:
 Create a dataset feature instance for testing uses.
(GMSFeatureType) - featureType
 Type of this feature.

Properties

NSString * datasetID
 Dataset id of the dataset that this feature belongs to.
NSDictionary< NSString
*, NSString * > * 
datasetAttributes
 Key-value mapping of the attributes associated with the feature in the dataset.

Member Function Documentation

- (instancetype) initWithDatasetID: (NSString *)  datasetID
datasetAttributes: (NSDictionary< NSString *, NSString * > *)  datasetAttributes 

Create a dataset feature instance for testing uses.

This method should be used for testing purposes only; GMSDatasetFeature instances should only be created by the SDK in production code.

- (GMSFeatureType) featureType

Type of this feature.


Property Documentation

- (NSString*) datasetID [read, assign]

Dataset id of the dataset that this feature belongs to.

- (NSDictionary<NSString *, NSString *>*) datasetAttributes [read, assign]

Key-value mapping of the attributes associated with the feature in the dataset.