Optional
accessible?: booleanIf true directions will only take accessible routes
Optional
smoothing?: boolean | { Enable or disable line-of-sight directions smoothing. With this option enabled, the directions will be simplified to provide a more visually appealing path and shorter instructions.
Can be a boolean to enable or disable smoothing, or an object with a radius property to specify the line of sight radius in metres.
Options for controlling the behavior of the Directions.