DatasetFeature

  • DatasetFeature represents map features with a dataset ID for data-driven styling, but this functionality is not available in the Navigation SDK.

  • It primarily exists for compatibility with com.google.android.gms:play-services-maps.

  • You can access the datasetId and datasetAttributes of a DatasetFeature using the provided methods.

  • DatasetFeature inherits methods from the Feature class for accessing feature properties like FeatureType.

public final class DatasetFeature extends Feature

Data-driven styling features are not available to the Navigation SDK. They exists for compile time compatibility with com.google.android.gms:play-services-maps only.

A class representing a Feature with a datasetId.

Public Method Summary

Map<String, String>
getDatasetAttributes()
Returns the datasetAttributes of the DatasetFeature.
String
getDatasetId()
Returns the datasetId of the DatasetFeature.

Inherited Method Summary

Public Methods

public Map<String, String> getDatasetAttributes ()

Returns the datasetAttributes of the DatasetFeature.

public String getDatasetId ()

Returns the datasetId of the DatasetFeature.