laptop and a wrench

Bug

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

Zuletzt veröffentlicht: October 26, 2020 ArcGIS API for JavaScript
Bug-ID-Nummer BUG-000134682
EingereichtOctober 19, 2020
Zuletzt geändertJune 5, 2024
Gilt fürArcGIS API for JavaScript
Gefunden in Version4.17
BetriebssystemN/A
BetriebssystemversionN/A
StatusNon-Reproducible

Zusätzliche Informationen

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

Schritte zur Reproduzierung

Bug-ID: BUG-000134682

Software:

  • ArcGIS API for JavaScript

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln