laptop and a wrench

Erro

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.

Última Publicação: March 6, 2018 ArcGIS API for JavaScript
Número de ID do Erro BUG-000111006
EnviadoJanuary 22, 2018
Última ModificaçãoJune 5, 2024
Aplica-se àArcGIS API for JavaScript
Versão encontrada4.6
Sistema OperacionalWindows OS
Versão do Sistema Operacional2012 R2
StatusKnown Limit

Informações Adicionais

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.

Etapas para Reproduzir

ID do Erro: BUG-000111006

Software:

  • ArcGIS API for JavaScript

Seja notificado quando o status de um erro mudar

Baixe o Aplicativo de Suporte da Esri

Descubra mais sobre este tema

Obtenha ajuda de especialistas do ArcGIS

Entre em contato com Suporte Técnico

Baixe o Aplicativo de Suporte da Esri

Ir para as opções de download