If the MapView zoom property is defined using the 'MapView.zoom' property, the basemap does not load properly in ArcGIS API for JavaScript 4.2.
上次发布: February 21, 2017ArcGIS API for JavaScript
漏洞 ID 编号
BUG-000102159
已提交
January 17, 2017
上次修改时间
June 5, 2024
适用范围
ArcGIS API for JavaScript
找到的版本
4.2
操作系统
N/A
修正版本
4.3
状态
Fixed
此漏洞已得到修复。 有关详细信息,请参阅“版本修复”和“其他信息”(如果适用)。
解决办法
Use the following approach to change overcome the limitation:var myButton = document.getElementById("myButton"); on(myButton,"click",function (){ view.goTo({ center: view.center, zoom: 10 }); });