laptop and a wrench

Bug

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

Zuletzt veröffentlicht: June 30, 2016 ArcGIS API for JavaScript
Bug-ID-Nummer BUG-000097473
EingereichtJune 28, 2016
Zuletzt geändertJune 5, 2024
Gilt fürArcGIS API for JavaScript
Gefunden in Version3.16
BetriebssystemN/A
StatusWill Not Be Addressed

Zusätzliche Informationen

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();})

Schritte zur Reproduzierung

Bug-ID: BUG-000097473

Software:

  • ArcGIS API for JavaScript

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln