laptop and a wrench

Bogue

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.

Dernière publication: February 21, 2017 ArcGIS API for JavaScript
Numéro d’ID de bogue BUG-000102159
EnvoiJanuary 17, 2017
Dernière modificationJune 5, 2024
S’applique àArcGIS API for JavaScript
Version trouvée4.2
Système d’exploitationN/A
Version de correction4.3
StatutFixed

Solution de contournement

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

Étapes pour reproduire

ID de bogue: BUG-000102159

Logiciel:

  • ArcGIS API for JavaScript

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement