laptop and a wrench

Erro

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.

Última Publicação: January 17, 2019 ArcGIS API for JavaScript
Número de ID do Erro BUG-000118053
EnviadoNovember 8, 2018
Última ModificaçãoJune 5, 2024
Aplica-se àArcGIS API for JavaScript
Versão encontrada4.9
StatusWill Not Be Addressed

Informações Adicionais

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

Etapas para Reproduzir

ID do Erro: BUG-000118053

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