The scalebar should not change values when panning or resizing the browser window.
上次发布: February 7, 2019ArcGIS API for JavaScript
漏洞 ID 编号
BUG-000097183
已提交
June 15, 2016
上次修改时间
June 5, 2024
适用范围
ArcGIS API for JavaScript
找到的版本
3.16
操作系统
N/A
操作系统版本
N/A
状态
Will Not Be Addressed
开发团队已考虑过该问题或请求,并决定不会解决该问题。 问题的“其他信息”部分可能包含进一步说明。
附加信息
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