laptop and a wrench

Bogue

In the ArcGIS API for JavaScript 4.10 Sketch widget, setting the mode option in the create() method to click or freehand does not work.

Dernière publication: January 17, 2019 ArcGIS API for JavaScript
Numéro d’ID de bogue BUG-000118053
EnvoiNovember 8, 2018
Dernière modificationJune 5, 2024
S’applique àArcGIS API for JavaScript
Version trouvée4.9
StatutWill Not Be Addressed

Informations supplémentaires

The issue is a timing issue. The Sketch widget can be added and created without having to wait for the view to instantiate. Then call the create method when view is instantiate.The following test app shows that it is working. https://codepen.io/anon/pen/LMvadN?&editable=true&editors=100

Étapes pour reproduire

ID de bogue: BUG-000118053

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