laptop and a wrench

Error

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

Última publicación: February 7, 2019 ArcGIS API for JavaScript
Número de ID del error BUG-000097183
EnviadoJune 15, 2016
Última modificaciónJune 5, 2024
Relacionado conArcGIS API for JavaScript
Versión encontrada3.16
Sistema operativoN/A
Versión de sistema operativoN/A
EstadoWill Not Be Addressed

Información adicional

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

Pasos para reproducir

ID del error: BUG-000097183

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