Types
import type { GoToParameters2D, GoToParameters3D, GoToParameters, GoToOverride, HeadingLevel } from "@arcgis/core/widgets/support/types.js";

Type definitions

GoToParameters2D

Type definition
Since
ArcGIS Maps SDK for JavaScript 5.0

target

Property
Type
GoToTarget2D
Since
ArcGIS Maps SDK for JavaScript 5.0

The target location/viewpoint/extent to animate to.

options

Property
Type
GoToOptions2D | undefined
Since
ArcGIS Maps SDK for JavaScript 5.0

Options defining the animation and duration of the navigation.

GoToParameters3D

Type definition
Since
ArcGIS Maps SDK for JavaScript 5.0

GoToParameters

Type definition
Since
ArcGIS Maps SDK for JavaScript 5.0

The parameters for the MapView's goTo() method and the SceneView's goTo() method.

GoToOverride

Type definition
Since
ArcGIS Maps SDK for JavaScript 5.0

The following properties define a goTo override function.

Parameters

ParameterTypeDescriptionRequired
view

A reference to the MapView or SceneView where the navigation takes place.

goToParameters

The overriding target and optional parameters to pass to the MapView's goTo() or SceneView's goTo() method.

Returns
Promise<void>

HeadingLevel

Type definition
Since
ArcGIS Maps SDK for JavaScript 5.0

The heading level used for the HTML heading element.

See also
Type
1 | 2 | 3 | 4 | 5 | 6