laptop and a wrench

Erro

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

Última Publicação: February 7, 2019 ArcGIS API for JavaScript
Número de ID do Erro BUG-000097183
EnviadoJune 15, 2016
Última ModificaçãoJune 5, 2024
Aplica-se àArcGIS API for JavaScript
Versão encontrada3.16
Sistema OperacionalN/A
Versão do Sistema OperacionalN/A
StatusWill Not Be Addressed

Informações Adicionais

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

Etapas para Reproduzir

ID do Erro: BUG-000097183

Software:

  • ArcGIS API for JavaScript

Seja notificado quando o status de um erro mudar

Baixe o Aplicativo de Suporte da Esri

Descubra mais sobre este tema

Obtenha ajuda de especialistas do ArcGIS

Entre em contato com Suporte Técnico

Baixe o Aplicativo de Suporte da Esri

Ir para as opções de download