laptop and a wrench

Bogue

The scalebar should not change values when panning or resizing the browser window.

Dernière publication: February 7, 2019 ArcGIS API for JavaScript
Numéro d’ID de bogue BUG-000097183
EnvoiJune 15, 2016
Dernière modificationJune 5, 2024
S’applique àArcGIS API for JavaScript
Version trouvée3.16
Système d’exploitationN/A
Version du système d’exploitationN/A
StatutWill Not Be Addressed

Informations supplémentaires

It's not a bug but expected. In 3x, the scale of the Scalebar is measured where the scalebar is located. So panning north/south on a webmercator map will make the scalebar change, while panning west/east will not. • This is doc'd in 3x as `When the scalebar is inside the map, the actual location of the scalebar is used to calculate the scale.` in https://developers.arcgis.com/javascript/3/jsapi/scalebar-amd.html and in 4x `When the scale bar is inside the map, the actual location of the scale bar is used to calculate the scale.` at https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ScaleBar.html

Étapes pour reproduire

ID de bogue: BUG-000097183

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