laptop and a wrench

Bogue

Adding a layer with 175,000 records to ArcGIS Pro SDK using LayerFactory.Instance.CreateLayer causes the layer to draw slowly despite applying a definition query to reduce the number of features to display.

Dernière publication: June 11, 2019 ArcGIS Pro
Numéro d’ID de bogue BUG-000122522
EnvoiMay 21, 2019
Dernière modificationMay 16, 2025
S’applique àArcGIS Pro
Version trouvée2.3.2
Système d’exploitationWindows OS
Version du système d’exploitation10.0 64 Bit
StatutNon-Reproducible

Informations supplémentaires

This issue is no longer reproducible. It is recommended to set a definition query during layer creation with LayerCreationParams instead of creating a layer first and then applying a definition query. Refer to: https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/topic26422.html Sample code: string webServiceLayerURL = "https://services.arcgis.com/.../FeatureServer/0"; var lyrCrtParam = new FeatureLayerCreationParams(new Uri(webServiceLayerURL)) { DefinitionQuery = new DefinitionQuery("query1", "oa01cdold LIKE '47%'") }; var lyr = LayerFactory.Instance.CreateLayer(lyrCrtParam, MapView.Active.Map);

Étapes pour reproduire

ID de bogue: BUG-000122522

Logiciel:

  • ArcGIS Pro

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement