The ID or node representing the DOM element containing the widget.
This function provides the ability to override either the IMapView goTo() or SceneView goTo() methods.
Indicates the heading level to use for the origin and destination addresses (i.e.
The widget's default CSS icon class.
The unique ID assigned to the widget when the widget is created.
The widget's label.
The most recent route result.
The maximum number of stops allowed for routing.
The URL of the REST endpoint of the Route service.
Defines the symbol used to draw the route on the map.
Controls the default properties used when searching.
The default stop symbols used to display locations between the origin and final destination.
The view from which the widget will operate.
The view model for this widget.
Indicates whether the widget is visible.
A utility method used for building the value for a widget's class
property.
Destroys the widget instance.
Emits an event on the instance.
Calculate the route to the input locations and display the list of directions.
Indicates whether there is an event listener on the instance that matches the provided event name.
isFulfilled()
may be used to verify if creating an instance of the class is fulfilled (either resolved or rejected).
isRejected()
may be used to verify if creating an instance of the class is rejected.
isResolved()
may be used to verify if creating an instance of the class is resolved.
Registers an event handler on the instance.
Widget teardown helper.
This method is primarily used by developers when implementing custom widgets. Executes after widget is ready for rendering.
This method is primarily used by developers when implementing custom widgets. It must be implemented by subclasses for rendering.
Renders widget to the DOM immediately.
This method is primarily used by developers when implementing custom widgets. Schedules widget rendering.
when()
may be leveraged once an instance of the class is created.
Zoom so that the full route is displayed within the current map extent.
Generated using TypeDoc
An authorization string used to access a resource or service.
Read more...