laptop and a wrench

Error

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

Última publicación: June 30, 2016 ArcGIS API for JavaScript
Número de ID del error BUG-000097473
EnviadoJune 28, 2016
Última modificaciónJune 5, 2024
Relacionado conArcGIS API for JavaScript
Versión encontrada3.16
Sistema operativoN/A
EstadoWill Not Be Addressed

Información adicional

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

Pasos para reproducir

ID del error: BUG-000097473

Software:

  • ArcGIS API for JavaScript

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga