DimensionLayer

constructor(featureTable: ArcGISFeatureTable)

Creates a dimension layer from a feature table containing dimension features. If the feature table does not contain dimension data then the DimensionLayer will fail to load. com.arcgismaps.data.ArcGISFeatureTable.layerInfo and com.arcgismaps.arcgisservices.ArcGISFeatureLayerInfo.featureServiceType can be checked, to verify the feature type, before attempting to create a Layer.

Since

200.1.0

Parameters

featureTable

The feature table, containing dimension features, used as the source of the dimension layer.


constructor(item: Item, layerId: Long)

Creates a new dimension layer object from a feature service portal item.

Since

200.1.0

Parameters

item
layerId

The layer ID for which to create the layer.

See also


constructor(uri: String)

Creates a new dimension layer from a feature service URI. If the specified URI is not a valid Feature Service endpoint, then it will fail to load.

Since

200.1.0

Parameters

uri

The URI to the feature service layer.