laptop and a wrench

Bug

In the ArcGIS API for JavaScript 4.6, a latitude and longitude coordinate cannot be used as a parameter to the view's goTo method if the scene uses certain spatial references.

Zuletzt veröffentlicht: March 6, 2018 ArcGIS API for JavaScript
Bug-ID-Nummer BUG-000111006
EingereichtJanuary 22, 2018
Zuletzt geändertJune 5, 2024
Gilt fürArcGIS API for JavaScript
Gefunden in Version4.6
BetriebssystemWindows OS
Betriebssystemversion2012 R2
StatusKnown Limit

Zusätzliche Informationen

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.

Schritte zur Reproduzierung

Bug-ID: BUG-000111006

Software:

  • ArcGIS API for JavaScript

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln