laptop and a wrench

Erro

WebTiledLayers cannot be added to the map if the spatial reference of the service is not 102100 in the ArcGIS API for JavaScript 4.5.

Última Publicação: December 13, 2017 ArcGIS API for JavaScript
Número de ID do Erro BUG-000110133
EnviadoDecember 12, 2017
Última ModificaçãoJune 5, 2024
Aplica-se àArcGIS API for JavaScript
Versão encontrada4.5
StatusWill Not Be Addressed

Informações Adicionais

Updated the code snippet that was originally submitted with the issue to work, please refer to https://codepen.io/anon/pen/xeyKyW?&editable=true&editors=100 for working example.

Solução Provisória

Add the following parameter to the constructor of the WebTiledLayer:

spatialReference: new SpatialReference(<service's spatial reference>);

Etapas para Reproduzir

ID do Erro: BUG-000110133

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