The zoom property of the MapView does not work if a Web Map Tile Service (WMTS) layer is loaded as a basemap in ArcGIS Maps SDK for JavaScript 4.26.
ArcGIS Maps SDK for JavaScript
漏洞 ID 编号
BUG-000158661
已提交
May 30, 2023
上次修改时间
December 6, 2024
适用范围
ArcGIS Maps SDK for JavaScript
找到的版本
4.26
操作系统
Windows OS
操作系统版本
10.0 64 Bit
状态
As Designed
经开发团队审核,已确定此行为符合设计。 有关详细信息,请参阅“其他信息”部分。
附加信息
This issue is as designed and an explanation is provided in the MapView documenation. The WMTSLayer does not have a TileInfo property. If there are no other layers with TileInfo, the effectiveLODs are null and setting zoom on the MapView is not possible. Refer to https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#mapview-lods for more information.