laptop and a wrench

Bogue

When using the Center property, the extent of the map misplaces once it is loaded in the browser.

Dernière publication: October 26, 2020 ArcGIS API for JavaScript
Numéro d’ID de bogue BUG-000134682
EnvoiOctober 19, 2020
Dernière modificationJune 5, 2024
S’applique àArcGIS API for JavaScript
Version trouvée4.17
Système d’exploitationN/A
Version du système d’exploitationN/A
StatutNon-Reproducible

Informations supplémentaires

When using a point object to set the Center property, the point object must have a spatial reference that is compatible with the MapView's spatial reference. See the spatialReference property of the MapView documentation for more information: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#spatialReference Changing the spatialReference property of the point object to WGS84 (4326) sets the center of the MapView correctly: https://codepen.io/laurenb14/pen/xxOgPLd?editors=1000

Étapes pour reproduire

ID de bogue: BUG-000134682

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