AnnotationLayer.withItem constructor
Creates a new annotation layer object from a feature service portal item.
Parameters:
item
— A feature service PortalItem.layerId
— The layer ID for which to create the layer.
Creates a new annotation layer object from a feature service portal item.
Parameters:
item
— A feature service PortalItem.layerId
— The layer ID for which to create the layer.