laptop and a wrench

Error

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

Última publicación: October 26, 2020 ArcGIS API for JavaScript
Número de ID del error BUG-000134682
EnviadoOctober 19, 2020
Última modificaciónJune 5, 2024
Relacionado conArcGIS API for JavaScript
Versión encontrada4.17
Sistema operativoN/A
Versión de sistema operativoN/A
EstadoNon-Reproducible

Información adicional

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

Pasos para reproducir

ID del error: BUG-000134682

Software:

  • ArcGIS API for JavaScript

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga