laptop and a wrench

Error

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

Última publicación: September 22, 2021 ArcGIS API for JavaScript
Número de ID del error BUG-000102171
EnviadoJanuary 18, 2017
Última modificaciónJune 5, 2024
Relacionado conArcGIS API for JavaScript
Versión encontrada4.2
Sistema operativoWindows OS
Versión de sistema operativo2012 R2
EstadoKnown Limit

Información adicional

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.

Solución alternativa

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

});

Pasos para reproducir

ID del error: BUG-000102171

Software:

  • ArcGIS API for JavaScript

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga