laptop and a wrench

Bug

The center property of the MapView does not work as expected if a basemap with Spatial Reference EPSG 2056 is loaded in ArcGIS Maps SDK for JavaScript v4.26.

ArcGIS Maps SDK for JavaScript
Bug ID Number BUG-000158931
SubmittedJune 8, 2023
Last ModifiedDecember 6, 2024
Applies toArcGIS Maps SDK for JavaScript
Version found4.26
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusAs Designed

Additional Information

A center can be created with longitude and latitude, or a point object. The x,y properties can be used, but only as part of a point object. https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#center

Steps to Reproduce

Bug ID: BUG-000158931

Software:

  • ArcGIS Maps SDK 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