laptop and a wrench

Bug

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
Bug ID Number BUG-000158661
SubmittedMay 30, 2023
Last ModifiedDecember 6, 2024
Applies toArcGIS Maps SDK for JavaScript
Version found4.26
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusAs Designed

Additional Information

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.

Steps to Reproduce

Bug ID: BUG-000158661

Software:

  • ArcGIS Maps SDK for JavaScript

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options