laptop and a wrench

Bogue

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

Dernière publication: October 16, 2019 ArcGIS API for JavaScript
Numéro d’ID de bogue BUG-000121925
EnvoiApril 24, 2019
Dernière modificationJune 5, 2024
S’applique àArcGIS API for JavaScript
Version trouvée4.11
Système d’exploitationWindows OS
Version du système d’exploitation10.0 64 Bit
StatutWill Not Be Addressed

Informations supplémentaires

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).

Solution de contournement

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.

Étapes pour reproduire

ID de bogue: BUG-000121925

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