laptop and a wrench

Bug

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

Zuletzt veröffentlicht: September 22, 2021 ArcGIS API for JavaScript
Bug-ID-Nummer BUG-000102171
EingereichtJanuary 18, 2017
Zuletzt geändertJune 5, 2024
Gilt fürArcGIS API for JavaScript
Gefunden in Version4.2
BetriebssystemWindows OS
Betriebssystemversion2012 R2
StatusKnown Limit

Zusätzliche Informationen

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.

Workaround

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();

});

Schritte zur Reproduzierung

Bug-ID: BUG-000102171

Software:

  • ArcGIS API for JavaScript

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln