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.
最後に公開された状態: January 17, 2019ArcGIS API for JavaScript
不具合 ID 番号
BUG-000118053
送信されました
November 8, 2018
最終更新日
June 5, 2024
適用対象
ArcGIS API for JavaScript
見つかったバージョン
4.9
ステータス
Will Not Be Addressed
開発チームは、この問題またはリクエストを検討した結果、これに対処しないことに決定しました。 問題の「参考情報」セクションに、さらに詳細な説明が示されていることがあります。
参考情報
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