Type alias TDirectionToOptions

TDirectionToOptions: {
    accessible?: boolean;
    excludedVortexIds?: string[];
    includedVortexIds?: string[];
    simplify?: TSimplifyDirectionsOptions;
}

Type declaration

  • Optional accessible?: boolean

    If true directions will only take accessible routes

    Default

    false
    
  • Optional excludedVortexIds?: string[]

    Exclude all the vortexes matching the given IDs

  • Optional includedVortexIds?: string[]

    Include all the vortexes matching the given IDs

  • Optional Experimental simplify?: TSimplifyDirectionsOptions

    Apply line-of-sight simplifying to directions. This will attempt to remove unnecessary nodes between turns.