laptop and a wrench

Bogue

Directions widget loads stops out of order when working with multiple locations as input with addStops() method.

Dernière publication: October 24, 2018 ArcGIS API for JavaScript
Numéro d’ID de bogue BUG-000115490
EnvoiJuly 19, 2018
Dernière modificationJune 5, 2024
S’applique àArcGIS API for JavaScript
Version trouvée3.25
Système d’exploitationWindows OS
Version du système d’exploitation10.0 64 Bit
StatutWill Not Be Addressed

Informations supplémentaires

Use provided workaround.

Solution de contournement

Use the addStop() method and loop through the array of stops to add to widget one at a time. For example:stopsAdding = [stop1, stop2, stop3, etc];for (var i = 0; i <  stopsAdding.length; i++) {          directions.addStop(stopsAdding[i]);        };

Étapes pour reproduire

ID de bogue: BUG-000115490

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