laptop and a wrench

Bogue

The LocatorTask.ReverseGeocodeAsync method does not return any attribute information only for the offline locator.

Dernière publication: August 11, 2017 ArcGIS Runtime SDK
Numéro d’ID de bogue BUG-000102342
EnvoiJanuary 24, 2017
Dernière modificationJune 5, 2024
S’applique àArcGIS Runtime SDK
Version trouvée100.0.0
Système d’exploitationWindows OS
Version du système d’exploitation10.0
StatutWill Not Be Addressed

Informations supplémentaires

The default return fields for an ArcGIS Runtime locator dataset are Match_addr for a non-composite locator, and Match_addr and Loc_Name for a composite locator. To return additional fields, field names should be added to the ReverseGeocodeParameters.ResultAttributeNames property. Additionally an asterisk ("*") can be used to return all fields.

Solution de contournement

One or more attribute names must be added to the ReverseGeocodeParameters.ResultAttributeNames property, or alternatively "*" for all attributes. ReverseGeocodeParameters rgParams = new ReverseGeocodeParameters();rgParams.MaxDistance = 10;rgParams.OutputSpatialReference = MyMapView.Map.SpatialReference;rgParams.MaxResults = 5;rgParams.ResultAttributeNames.Add("*");

Étapes pour reproduire

ID de bogue: BUG-000102342

Logiciel:

  • ArcGIS Runtime SDK

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