laptop and a wrench

不具合

Using the Measurement widget with the Draw widget calculates incorrect measurement as the last segment is missed in the calculation.

最後に公開された状態: November 7, 2017 ArcGIS API for JavaScript
不具合 ID 番号 BUG-000108386
送信されましたSeptember 28, 2017
最終更新日June 5, 2024
適用対象ArcGIS API for JavaScript
見つかったバージョン3.21
オペレーティング システムWindows OS
オペレーティング システムのバージョン10.0 64 Bit
ステータスNon-Reproducible

参考情報

instead please replace with this code snippet, this is the suggested way. aspect.before(measurement, "setTool", function(method) { // always deactivate draw when switching tools - even if turning measurement tool off // this also prevents draw from destroying necessary map event listeners that the measurement widget relies on draw.deactivate(); }); aspect.after(measurement, "setTool", function(method) { // re-activate draw if theres no active measure tool after setTool logic completes if (!measurement.activeTool) { draw.activate(Draw.LINE); } });

再現の手順

不具合 ID: BUG-000108386

ソフトウェア:

  • ArcGIS API for JavaScript

バグのステータスが変更されたときに通知を受け取る

Esri Support アプリのダウンロード

このトピックについてさらに調べる

ArcGIS エキスパートのサポートを受ける

テクニカル サポートへのお問い合わせ

Esri Support アプリのダウンロード

ダウンロード オプションに移動