laptop and a wrench

漏洞

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
漏洞 ID 编号 BUG-000179324
已提交September 8, 2025
上次修改时间December 22, 2025
适用范围ArcGIS Maps SDK for JavaScript
找到的版本4.33
操作系统Windows OS
操作系统版本11.0 64 bit
状态As Designed

附加信息

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.

重现步骤

漏洞 ID: BUG-000179324

软件:

  • ArcGIS Maps SDK for JavaScript

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项