| 漏洞 ID 编号 |
BUG-000130105 |
| 已提交 | April 13, 2020 |
| 上次修改时间 | February 14, 2025 |
| 适用范围 | ArcGIS Maps SDK for JavaScript |
| 找到的版本 | 4.14 |
| 操作系统 | Windows OS |
| 操作系统版本 | 10.0 64 Bit |
| 状态 | Under Consideration
该问题已由开发团队审核。 其尚未被优先纳入发布计划,但将对其进行监控以确定总体影响。 在优先级排序过程中考虑的因素包括受影响或请求功能的用户数量、业务影响、是否存在解决方法等。 如果漏洞对您的业务产生不利影响,请参阅“操作方法:升级缺陷”(https://support.esri.com/en/technical-article/000024129)。
|
解决办法
Link workaround: https://codepen.io/AuraipornA/pen/QWQoezq
- Instead of making a clone of the graphicsLayer and having the Polygon and Graphic made outside the function, make a function with the Polygon and Graphic within it.
- Add in graphicsLayer.removeAll() to reset the old graphic.
- Add in graphicsLayer.add(Graphic) to make the newly defined Polygon that were made using the HTML buttons using a single click as seen in BUG-000130105_workaround (Line number 75 - 92).
重现步骤