The following members of class AnnotationLayer are deprecated. They are provided to keep old source code working. We strongly advise against using them in new code.
Public Functions
(since Esri | Annotation |
(since Esri | Annotation |
(since Esri | Annotation |
(since Esri Esri | select |
(since Esri Esri | selected |
Signals
(since Esri void | select |
(since Esri void | selected |
Member Function Documentation
[since Esri::ArcGISRuntime 100.13, deprecated]
AnnotationLayer::AnnotationLayer (Esri::ArcGISRuntime::ArcGISFeatureTable *featureTable , Esri::ArcGISRuntime::Credential *credential, QObject *parent = nullptr)
This function is deprecated. We strongly advise against using it in new code.
Creates a new annotation layer from a feature service table.
If the feature table does not contain annotation data then the AnnotationLayer will fail to load. ArcGISFeatureTable::layerInfo and ArcGISFeatureLayerInfo::serviceType can be checked to verify the feature type, before attempting to create a Layer.
- featureTable - a feature table ArcGISFeatureTable.
- credential - The credential used to access the remote resource.
- parent - An optional parent QObject.
This function was introduced in Esri::ArcGISRuntime 100.13.
[since Esri::ArcGISRuntime 100.13, deprecated]
AnnotationLayer::AnnotationLayer (const QUrl &url, Esri::ArcGISRuntime::Credential *credential, QObject *parent = nullptr)
This function is deprecated. We strongly advise against using it in new code.
Creates a new annotation layer from a feature service URL.
- url - The URL to the feature service layer.
- credential - The credential used to access the remote resource.
- parent - An optional parent QObject.
If the specified URL is not a valid ArcGIS feature service endpoint, then it will fail to load.
This function was introduced in Esri::ArcGISRuntime 100.13.
[since Esri::ArcGISRuntime 100.13, deprecated]
AnnotationLayer::AnnotationLayer (Esri::ArcGISRuntime::Item *item, qint64 serviceLayerId , Esri::ArcGISRuntime::Credential *credential, QObject *parent = nullptr)
This function is deprecated. We strongly advise against using it in new code.
Creates a new annotation layer from a feature service portal item.
- item - a feature service PortalItem.
- serviceLayerId - the layer ID for which to create the layer.
- credential - The credential used to access the remote resource.
- parent - An optional parent QObject.
This function was introduced in Esri::ArcGISRuntime 100.13.
[override virtual, since Esri::ArcGISRuntime 100.13, deprecated]
Esri::ArcGISRuntime::Credential *AnnotationLayer::credential() const
This function is deprecated. We strongly advise against using it in new code.
Reimplements: RemoteResource::credential() const.
Returns security credentials to access the remote resource.
Only applicable if the resource is secured.
This function was introduced in Esri::ArcGISRuntime 100.13.
[override virtual, since Esri::ArcGISRuntime 100.13, deprecated]
Esri::ArcGISRuntime::RequestConfiguration AnnotationLayer::requestConfiguration () const
This function is deprecated. We strongly advise against using it in new code.
Reimplements: RemoteResource::requestConfiguration() const.
Returns the RequestConfiguration used to customize the request to this RemoteResource.
This function was introduced in Esri::ArcGISRuntime 100.13.
See also setRequestConfiguration().
[since Esri::ArcGISRuntime 100.12, deprecated]
Esri::ArcGISRuntime::TaskWatcher AnnotationLayer::selectFeatures (const Esri::ArcGISRuntime::QueryParameters ¶meters, Esri::ArcGISRuntime::SelectionMode mode)
This function is deprecated. We strongly advise against using it in new code.
Selects all features that match the criteria in the QueryParameters object and adds them to the current list of selected features.
- parameters - The definition of the query to submit to the feature table.
- mode - Defines how the list of currently selected features will be updated with the features returned from the query.
This method returns a TaskWatcher for the asynchronous operation.
This function was introduced in Esri::ArcGISRuntime 100.12.
[signal, since Esri::ArcGISRuntime 100.12, deprecated]
void AnnotationLayer::selectFeaturesCompleted (const QUuid &taskId , Esri::ArcGISRuntime::FeatureQueryResult *featureQueryResult )
This function is deprecated. We strongly advise against using it in new code.
Signal emitted when the selectFeatures(QueryParameters, SelectionMode) operation completes.
- taskId - The task ID of the asynchronous operation.
- featureQueryResult - A feature query result containing an iterator pointing to the selected features from the query.
This function was introduced in Esri::ArcGISRuntime 100.12.
See also Returned QObjects Parenting.
[since Esri::ArcGISRuntime 100.12, deprecated]
Esri::ArcGISRuntime::TaskWatcher AnnotationLayer::selectedFeatures ()
This function is deprecated. We strongly advise against using it in new code.
Returns a list of the currently selected features.
This method returns a TaskWatcher for the asynchronous operation.
This function was introduced in Esri::ArcGISRuntime 100.12.
[signal, since Esri::ArcGISRuntime 100.12, deprecated]
void AnnotationLayer::selectedFeaturesCompleted (const QUuid &taskId , Esri::ArcGISRuntime::FeatureQueryResult *featureQueryResult )
This function is deprecated. We strongly advise against using it in new code.
Signal emitted when the selectedFeatures operation completes.
- taskId - The task ID of the asynchronous operation.
- featureQueryResult - A feature query result containing an iterator pointing to the selected features.
This function was introduced in Esri::ArcGISRuntime 100.12.
See also Returned QObjects Parenting.
[override virtual, since Esri::ArcGISRuntime 100.13, deprecated]
void AnnotationLayer::setRequestConfiguration (const Esri::ArcGISRuntime::RequestConfiguration &requestConfiguration )
This function is deprecated. We strongly advise against using it in new code.
Reimplements: RemoteResource::setRequestConfiguration(const Esri::ArcGISRuntime::RequestConfiguration &requestConfiguration).
Sets the RequestConfiguration, which is used to customize the request to this RemoteResource, to requestConfiguration.
This function was introduced in Esri::ArcGISRuntime 100.13.
See also requestConfiguration().