laptop and a wrench

Bug

Making changes to the padding after the view has loaded within the ArcGIS Maps SDK for JavaScript results in the map view jumping to the side when panning or zooming.

ArcGIS Maps SDK for JavaScript
Bug ID Number BUG-000173213
SubmittedDecember 20, 2024
Last ModifiedMarch 10, 2025
Applies toArcGIS Maps SDK for JavaScript
Version found4.31
Operating SystemWindows OS
Operating System Version11.0 64 bit
StatusAs Designed

Additional Information

The padding must be assigned as a whole, such as: view.padding = { right: 10000 }; The documentation will be updated to be clear about this.

Steps to Reproduce

Bug ID: BUG-000173213

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