Type Alias TNavigationOptions

TNavigationOptions: {
    createMarkers?: {
        connection?: boolean;
        departure?: boolean;
        destination?: boolean;
    };
    pathOptions?: {
        color?: string;
        displayArrowsOnPath?: boolean;
        farRadius?: number;
        nearRadius?: number;
    };
    polygons?: {
        departure?: string;
    };
}

Options for navigation.

Type declaration

  • OptionalcreateMarkers?: {
        connection?: boolean;
        departure?: boolean;
        destination?: boolean;
    }

    Controls whether markers are created for the departure, destination, and connection points.

    • Optionalconnection?: boolean

      Controls whether markers are created for connection points.

      true
      
    • Optionaldeparture?: boolean

      Controls whether a marker is created for the departure point.

      true
      
    • Optionaldestination?: boolean

      Controls whether a marker is created for the destination point.

      true
      
  • OptionalpathOptions?: {
        color?: string;
        displayArrowsOnPath?: boolean;
        farRadius?: number;
        nearRadius?: number;
    }

    Options for the path.

    • Optionalcolor?: string

      The color of the path.

      '#40A9FF'
      
    • OptionaldisplayArrowsOnPath?: boolean

      Controls whether arrows are displayed on the path.

      false
      
    • OptionalfarRadius?: number

      The radius of the path far from the markers.

      1
      
    • OptionalnearRadius?: number

      The radius of the path near the markers.

      0.25
      
  • Optionalpolygons?: {
        departure?: string;
    }

    Options for the departure and destination polygons.

    • Optionaldeparture?: string

      The color of the departure polygon.

      '#40A9FF'