laptop and a wrench

Erro

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

Última Publicação: June 30, 2016 ArcGIS API for JavaScript
Número de ID do Erro BUG-000097473
EnviadoJune 28, 2016
Última ModificaçãoJune 5, 2024
Aplica-se àArcGIS API for JavaScript
Versão encontrada3.16
Sistema OperacionalN/A
StatusWill Not Be Addressed

Informações Adicionais

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

Etapas para Reproduzir

ID do Erro: BUG-000097473

Software:

  • ArcGIS API for JavaScript

Seja notificado quando o status de um erro mudar

Baixe o Aplicativo de Suporte da Esri

Descubra mais sobre este tema

Obtenha ajuda de especialistas do ArcGIS

Entre em contato com Suporte Técnico

Baixe o Aplicativo de Suporte da Esri

Ir para as opções de download