laptop and a wrench

Error

The MapView goTo() method does not respect padding or view extent when the browser window is reduced to a smaller size.

Última publicación: October 16, 2019 ArcGIS API for JavaScript
Número de ID del error BUG-000121925
EnviadoApril 24, 2019
Última modificaciónJune 5, 2024
Relacionado conArcGIS API for JavaScript
Versión encontrada4.11
Sistema operativoWindows OS
Versión de sistema operativo10.0 64 Bit
EstadoWill Not Be Addressed

Información adicional

Some updates have been made for the MapView padding. In 2D, the center and scale are preserved when resized. This can not be done because by default it snaps to LODs (level of details).

Solución alternativa

To achieve this effect :

  1. Disable snapToZoom.
  2. Save the view.extent when the view stops moving.
  3. Apply the saved extent when the view resizes.

Pasos para reproducir

ID del error: BUG-000121925

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