Numéro d’ID de bogue |
BUG-000111006 |
Envoi | January 22, 2018 |
Dernière modification | June 5, 2024 |
S’applique à | ArcGIS API for JavaScript |
Version trouvée | 4.6 |
Système d’exploitation | Windows OS |
Version du système d’exploitation | 2012 R2 |
Statut | Known Limit
Après examen par l’équipe de développement, il a été déterminé que ce problème est lié à une limitation connue du logiciel sur laquelle Esri n’a aucun contrôle. Pour d’autres explications, reportez-vous à la section Informations supplémentaires correspondant au problème.
|
Informations supplémentaires
Currently there is no support for reprojecting from and to other coordinate systems than WGS84 and WebMercator on the client-side. This is why passing in latitude and longitude in view.goto() with the scene in 28356 doesn't work. It also doesn't work in 4.5. Pass in some other coordinates and remove the heading and the camera doesn't move.
What was changed in 4.6 is to show an error message, so that the user is aware what the problem is.
This is likely to change when the projectionEngine is implemented on the client-side, but I don't know how soon that will be completed. The best workaround is to add a library that takes care of the projection conversion, or to pass in coordinates directly in the spatial reference of the scene.
Étapes pour reproduire
ID de bogue: BUG-000111006
Logiciel:
- ArcGIS API for JavaScript