FeatureLayerOptions.Builder

  • FeatureLayerOptions.Builder helps configure instances of FeatureLayerOptions for map features.

  • You can specify the dataset ID using the datasetId() method.

  • featureType() allows setting the type of feature to be displayed on the map.

  • The build() method creates a FeatureLayerOptions object based on the builder's configuration.

public static final class FeatureLayerOptions.Builder extends Object

A builder that helps configure an instance of FeatureLayerOptions.

Public Constructor Summary

Public Method Summary

FeatureLayerOptions
build()
FeatureLayerOptions.Builder
datasetId(String datasetId)
Sets the datasetId.
FeatureLayerOptions.Builder
featureType(String featureType)
Sets the FeatureType.

Inherited Method Summary

Public Constructors

public Builder ()

Public Methods

public FeatureLayerOptions build ()

public FeatureLayerOptions.Builder datasetId (String datasetId)

Sets the datasetId.

Parameters
datasetId

public FeatureLayerOptions.Builder featureType (String featureType)

Sets the FeatureType.

Parameters
featureType