laptop and a wrench

Bug

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

Zuletzt veröffentlicht: February 7, 2019 ArcGIS API for JavaScript
Bug-ID-Nummer BUG-000097183
EingereichtJune 15, 2016
Zuletzt geändertJune 5, 2024
Gilt fürArcGIS API for JavaScript
Gefunden in Version3.16
BetriebssystemN/A
BetriebssystemversionN/A
StatusWill Not Be Addressed

Zusätzliche Informationen

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

Schritte zur Reproduzierung

Bug-ID: BUG-000097183

Software:

  • ArcGIS API for JavaScript

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln