Options for Map.restoreState

Since

2023.1

Hierarchy

  • RestoreStateOptions

Properties

Properties

animate?: boolean | MapNavigatorAnimationOptions

Animation options for Map.restoreState. When false, the restoreState operation will be immediate (synchronous). When true or an options object, the restoreState operation will be animated and asynchronous. This flag affects the resolution of the returned Promise (see return value documentation for details). To alter the animation, you can assign an object literal with the following properties to this option:

Default

false