laptop and a wrench

Erro

The polyline geometry created using the ArcGIS Portal JSON object breaks when zooming into the map view in the ArcGIS Maps SDK for JavaScript 4.33.

ArcGIS Maps SDK for JavaScript
Número de ID do Erro BUG-000179324
EnviadoSeptember 8, 2025
Última ModificaçãoDecember 22, 2025
Aplica-se àArcGIS Maps SDK for JavaScript
Versão encontrada4.33
Sistema OperacionalWindows OS
Versão do Sistema Operacional11.0 64 bit
StatusAs Designed

Informações Adicionais

This behavior is expected. This is creating lines using latitude and longitude coordinates (WGS 84) but displaying them on a Web Mercator map. In this setup, the feature layer’s spatial reference is WGS 84, while the map uses Web Mercator. When the JavaScript API reprojects the feature tile extents from Web Mercator (102100) to WGS 84 (4326), the reprojected extents no longer overlap the lines. Because of this, the lines are not displayed at all. This can be resolved by: - Setting the layer’s spatial reference to match the map view. - Using geometries in the same spatial reference as the map view. - Densifying the geometry (adding more points) so it correctly intersects the visible area. Option 1 is most straightforward in this case and here is the codepen updated - https://codepen.io/U_B_U/pen/LEGoxzX?editors=1000.

Etapas para Reproduzir

ID do Erro: BUG-000179324

Software:

  • ArcGIS Maps SDK 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