| Numéro d’ID de bogue |
BUG-000129000 |
| Envoi | February 27, 2020 |
| Dernière modification | June 5, 2024 |
| S’applique à | ArcGIS Runtime SDK |
| Version trouvée | 100.7 |
| Système d’exploitation | Windows OS |
| Version du système d’exploitation | 10.0 64 Bit |
| Statut | Will Not Be Addressed
L’équipe de développement a examiné le problème ou la demande et a décidé qu’ils ne seraient pas traités. Pour d’autres explications, reportez-vous à la section Informations supplémentaires correspondant au problème.
|
Informations supplémentaires
When using the IdentifyLayerAsync method of the MapView class, the second parameter expects a Point object. The Location property of the GeoViewInputEventArgs returns a MapPoint which is why the error is thrown - the map point x,y values are outside the view extent. To fix this, use the GeoViewInputEventArgs.Position Property to pass in the x,y values into the IdentifyLayerAsync method as shown below:
IdentifyLayerResult identifyResult = await MyMapView.IdentifyLayerAsync(layer, new Point(e.Position.X, e.Position.Y), 10, false, 100);
Étapes pour reproduire
ID de bogue: BUG-000129000
Logiciel: