Type alias TJourneyOptions

TJourneyOptions: {
    connectionPathOptions?: TPathOptions;
    connectionTemplate?: TConnectionTemplateFn;
    departureMarkerTemplate?: TMarkerTemplateFn;
    destinationMarkerTemplate?: TMarkerTemplateFn;
    inactivePathOptions?: TPathOptions;
    overviewInactivePathSizeFactor?: number;
    overviewPathInactiveColor?: string;
    overviewPathMode?: "always" | "current-elevation-and-mapgroup";
    overviewPathOnConnectionsOptions?: TPathOptions;
    overviewPathOptions?: TPathOptions;
    pathOptions?: TPathOptions;
    polygonHighlightColor?: string | false;
    showOverviewPathOnMap?: MappedinMap;
}

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 overviewInactivePathSizeFactor?: number
  • Optional overviewPathInactiveColor?: string
  • Optional overviewPathMode?: "always" | "current-elevation-and-mapgroup"
  • Optional overviewPathOnConnectionsOptions?: TPathOptions
  • Optional overviewPathOptions?: TPathOptions
  • Optional pathOptions?: TPathOptions

    Path Options

  • Optional polygonHighlightColor?: string | false

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

    Default

    '#7babc8'
    
  • Optional showOverviewPathOnMap?: MappedinMap