AnnotationLayer

constructor(featureTable: ArcGISFeatureTable)

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

Since

200.1.0


constructor(item: Item, layerId: Long)

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

Since

200.1.0

See also


constructor(uri: String)

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

Since

200.1.0