laptop and a wrench

漏洞

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.

上次发布: March 6, 2018 ArcGIS API for JavaScript
漏洞 ID 编号 BUG-000111006
已提交January 22, 2018
上次修改时间June 5, 2024
适用范围ArcGIS API for JavaScript
找到的版本4.6
操作系统Windows OS
操作系统版本2012 R2
状态Known Limit

附加信息

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.

重现步骤

漏洞 ID: BUG-000111006

软件:

  • ArcGIS API for JavaScript

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项