laptop and a wrench

漏洞

The Clear button on the Directions widget clears the map but leaves the destinations in the text boxes.

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

附加信息

This is by design, this button calls clearDirections(), which "Removes the route directions from the directions list. The route and locations persist on the map." What you can do is listen for when this is called and call reset on the widget. example: directions.startup(); directions.on("directions-clear", function(){directions.reset();})

重现步骤

漏洞 ID: BUG-000097473

软件:

  • ArcGIS API for JavaScript

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项