Annotation Layer
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. 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
The feature table, containing annotation features, used as the source of the annotation layer.
Creates a new annotation layer object from a feature service portal item.
Since
200.1.0
Parameters
A feature service com.arcgismaps.mapping.PortalItem.
The layer ID for which to create the layer.
See also
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
Parameters
The URI to the feature service layer.