Optional
accessible?: booleanIf true directions will only take accessible routes
false
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.
true
// Enable smoothing with a radius of 3 metres
mapView.getDirections(firstSpace, secondSpace, {
smoothing: {
radius: 3,
}
})
Options for controlling the behavior of the Directions.