Class Navigation

Hierarchy

  • Navigation

Constructors

Properties

Methods

Constructors

Properties

directions: Directions
draw: ((directions, options?) => void) = ...

Type declaration

    • (directions, options?): void
    • Draws the specified directions on the map.

      Parameters

      Returns void

options: {
    createMarkers: {
        connection: boolean;
        departure: boolean;
        destination: boolean;
    };
    pathOptions: {
        color: string;
        displayArrowsOnPath: boolean;
        farRadius: number;
        nearRadius: number;
    };
    polygons: {
        departure: string;
    };
} = defaultOptions

Type declaration

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

Methods

  • Returns void