FeatureLayer.withFeatureTable constructor

FeatureLayer.withFeatureTable(
  1. FeatureTable featureTable
)

Creates a new feature layer from a given FeatureTable.

Any inherited FeatureTable type can be used as the input parameter for this constructor, except FeatureCollectionTable. To display features in a FeatureCollectionTable, use FeatureCollectionLayer.

Parameters:

  • featureTable — The feature table used as the data source of the feature layer.