Bug ID Number |
BUG-000165657 |
Submitted | March 5, 2024 |
Last Modified | December 6, 2024 |
Applies to | ArcGIS Maps SDK for JavaScript |
Version found | 4.28 |
Operating System | Windows OS |
Operating System Version | N/A |
Version Fixed | 4.31 |
Status | Fixed
The bug has been fixed. See the Version Fixed and Additional Information, if applicable, for more information.
|
Additional Information
The following is the recommended workaround when using versions before 4.31.:
Create a new spatial reference every time:
const a = new Point({
longitude: 52,
latitude: 42,
spatialReference: new SpatialReference({ wkid: 4326 })
});
Workaround
The following is the recommended workaround when using versions before 4.31.:
- Create a new spatial reference every time: const a = new Point({ longitude: 52, latitude: 42, spatialReference: new SpatialReference({ wkid: 4326 }) });
Steps to Reproduce