laptop and a wrench

漏洞

The maxScale and minScale Property are always 0 for MapImageLayer sublayers on ArcGIS API for JavaScript 4.1 and above.

上次发布: June 20, 2017 ArcGIS API for JavaScript
漏洞 ID 编号 BUG-000104613
已提交April 20, 2017
上次修改时间June 5, 2024
适用范围ArcGIS API for JavaScript
找到的版本4.3
操作系统N/A
操作系统版本N/A
状态Will Not Be Addressed

附加信息

Since the sublayers are manually set and only visible and id are specified, the rest of the properties use default values (0,0) If you want to keep the minScale/maxScale of the sublayers, you can either do new MapImageLayer({ sublayers: [{ id: ..., visible:..., minScale: ..., maxScale }] }) or var layer = new MapImageLayer({url: ...}); layer.sublayers.getItemAt(...).visible = ...;

重现步骤

漏洞 ID: BUG-000104613

软件:

  • ArcGIS API for JavaScript

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项