Type alias TJourneyOptions

TJourneyOptions: {
    connectionPathOptions?: TPathOptions;
    connectionTemplate?: TConnectionTemplateFn;
    departureMarkerTemplate?: TMarkerTemplateFn;
    destinationMarkerTemplate?: TMarkerTemplateFn;
    inactivePathOptions?: TPathOptions;
    pathOptions?: TPathOptions;
    polygonHighlightColor?: string | false;
}

Configure the behaviour of a Journey.

Type declaration

  • Optional connectionPathOptions?: TPathOptions

    Path Options for map to map vertical paths.

  • Optional connectionTemplate?: TConnectionTemplateFn

    Function that returns an HTML template to use as a connection tooltips (elevators, escalators, etc)

  • Optional departureMarkerTemplate?: TMarkerTemplateFn

    Function that returns an HTML template to use as a departure marker. Override with null | undefined to disable

  • Optional destinationMarkerTemplate?: TMarkerTemplateFn

    Function that returns an HTML template to use as a destination marker. Override with null | undefined to disable

  • Optional inactivePathOptions?: TPathOptions

    Path Options for the non-current path in multi-destination mode.

  • Optional pathOptions?: TPathOptions

    Path Options

  • Optional polygonHighlightColor?: string | false

    What color to highlight departure and destination polygons Pass false to disable

    Default

    '#ff834c'