Optional
createControls whether markers are created for the departure, destination, and connection points.
Optional
connection?: boolean | ((instruction: TDirectionInstruction) => Marker)Controls whether markers are created for connection points and allows a custom marker to be created.
Optional
departure?: boolean | ((instruction: TDirectionInstruction) => Marker)Controls whether a marker is created for the departure point and allows a custom marker to be created.
Optional
destination?: boolean | ((instruction: TDirectionInstruction) => Marker)Controls whether a marker is created for the destination point and allows a custom marker to be created.
Optional
markerOptions for the markers at the departure and destination.
Optional
departureThe color of the departure marker.
Optional
destinationThe color of the destination marker.
Optional
pathOptions for the path.
Optional
accentThe accent color of the path. This is applied to arrows if they are displayed
Optional
animateControls whether arrows are animated.
Optional
color?: stringThe color of the path.
Optional
displayControls whether arrows are displayed on the path.
duration in milliseconds for the path to be drawn
Optional
farThe radius of the path far from the markers.
Optional
interactive?: booleanWhether the path should be clickable.
Optional
nearThe radius of the path near the markers.
Options for navigation.