Skip to content
Types
import type { GoTo } from "@arcgis/core/widgets/support/GoTo.js";
Subclasses:
BookmarksViewModel, CompassViewModel, CoordinateConversionViewModel, DirectionalPadViewModel, DirectionsViewModel, FeaturesViewModel, FloorFilterViewModel, HomeViewModel, GeolocationPositioning, SearchViewModel
Since
ArcGIS Maps SDK for JavaScript 4.8

Properties

PropertyTypeClass

goToOverride

Property
Type
GoToOverride | null | undefined

This function provides the ability to override either the MapView goTo() or SceneView goTo() methods.

See also
Example
// The following snippet uses Search but can be applied to any
// widgets that support the goToOverride property.
search.goToOverride = function(view, goToParams) {
goToParams.options = {
duration: updatedDuration
};
return view.goTo(goToParams.target, goToParams.options);
};