laptop and a wrench

不具合

Add a disablePan method to the JavaScript 4.x API which is available in JavaScript 3.x

最後に公開された状態: September 22, 2021 ArcGIS API for JavaScript
不具合 ID 番号 BUG-000102171
送信されましたJanuary 18, 2017
最終更新日September 22, 2021
適用対象ArcGIS API for JavaScript
見つかったバージョン4.2
サーバー プラットフォームWindows
クライアント プラットフォーム2012 R2
ステータスKnown Limit

参考情報

There is ongoing research being done on various types of map/scene view interaction, this issue was merged into another one specifically for addressing some of these concerns. There is no set time/release when this is slated for implementation.

対処法

Add an event handler for the view's "drag" event and use its stopPropagation method.

For example:

var view = new MapView({

container: "viewDiv",

map: map,

zoom: 4,

center: [15, 65]

});

view.on("drag", function (event) {

event.stopPropagation();

});

再現の手順

不具合 ID: BUG-000102171

ソフトウェア:

  • ArcGIS API for JavaScript

ArcGIS の専門家からヘルプを受ける

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

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

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

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