laptop and a wrench

漏洞

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.

上次发布: December 13, 2017 ArcGIS API for JavaScript
漏洞 ID 编号 BUG-000110133
已提交December 12, 2017
上次修改时间June 5, 2024
适用范围ArcGIS API for JavaScript
找到的版本4.5
状态Will Not Be Addressed

附加信息

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.

解决办法

Add the following parameter to the constructor of the WebTiledLayer:

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

重现步骤

漏洞 ID: BUG-000110133

软件:

  • ArcGIS API for JavaScript

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项