laptop and a wrench

Bogue

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

Dernière publication: June 30, 2016 ArcGIS API for JavaScript
Numéro d’ID de bogue BUG-000097473
EnvoiJune 28, 2016
Dernière modificationJune 5, 2024
S’applique àArcGIS API for JavaScript
Version trouvée3.16
Système d’exploitationN/A
StatutWill Not Be Addressed

Informations supplémentaires

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

Étapes pour reproduire

ID de bogue: BUG-000097473

Logiciel:

  • ArcGIS API for JavaScript

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement