laptop and a wrench

Bug

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.

Last Published: February 21, 2017 ArcGIS API for JavaScript
Bug ID Number BUG-000102159
SubmittedJanuary 17, 2017
Last ModifiedJune 5, 2024
Applies toArcGIS API for JavaScript
Version found4.2
Operating SystemN/A
Version Fixed4.3
StatusFixed

Workaround

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 }); });

Steps to Reproduce

Bug ID: BUG-000102159

Software:

  • ArcGIS API 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