laptop and a wrench

Bogue

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

Dernière publication: September 22, 2021 ArcGIS API for JavaScript
Numéro d’ID de bogue BUG-000102171
EnvoiJanuary 18, 2017
Dernière modificationJune 5, 2024
S’applique àArcGIS API for JavaScript
Version trouvée4.2
Système d’exploitationWindows OS
Version du système d’exploitation2012 R2
StatutKnown Limit

Informations supplémentaires

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.

Solution de contournement

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

});

Étapes pour reproduire

ID de bogue: BUG-000102171

Logiciel:

  • ArcGIS API for JavaScript

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement