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.
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.
- Supertypes
- GoToParameters2D ‚ GoToParameters3D
GoToOverride
Type definition
- Since
- ArcGIS Maps SDK for JavaScript 5.0
The following properties define a goTo override function.
Parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| view | | ||
| goToParameters | The overriding target and optional parameters to pass to the MapView's goTo() or SceneView's goTo() method. | |