Interface: RouteLineOptions
Defined in: packages/sdvplot/src/maplibre.ts:99
routeLines options.
Properties
alpha?
optionalalpha?:number
Defined in: packages/sdvplot/src/maplibre.ts:129
The lines' opacity in [0, 1] (line-opacity). Default 1.
background?
optionalbackground?:string
Defined in: packages/sdvplot/src/maplibre.ts:123
The basemap's background (basemap("dark").background under the dark basemap). Given, every team colour keeps 3:1
contrast against it and aims to stay distinct from the other teams' (CIE76 ΔE of 20 or more), through the shared
team palette, as teamColorPalette does in the other adapters.
fallback?
optionalfallback?:string
Defined in: packages/sdvplot/src/maplibre.ts:125
The colour of a team that does not resolve, or has no colour. Default "#808080".
id?
optionalid?:string
Defined in: packages/sdvplot/src/maplibre.ts:131
The source and layer id. Default "sdvplot-routes".
idSystem?
optionalidSystem?:IdSystem
Defined in: packages/sdvplot/src/maplibre.ts:115
How the team values are read. Default "auto".
league
league:
"aaf"|"ahl"|"ajhl"|"bchl"|"cchl"|"cebl"|"cfb"|"cfl"|"chl"|"cricket"|"easl"|"echl"|"f1"|"fiba"|"gojhl"|"iihf"|"kijhl"|"lba"|"mbb"|"mhl"|"milb"|"mjhl"|"mlb"|"nba"|"nbagl"|"nbl"|"ncaa_baseball"|"ncaa_mhockey"|"ncaa_softball"|"ncaa_whockey"|"nfl"|"nhl"|"nojhl"|"ohl"|"ojhl"|"phf"|"pwhl"|"qmjhl"|"sjhl"|"soccer"|"sphl"|"ufl"|"usfl"|"ushl"|"vijhl"|"wbb"|"whl"|"wnba"|"xfl"
Defined in: packages/sdvplot/src/maplibre.ts:111
The league the teams belong to, e.g. "nfl".
season?
optionalseason?:SeasonInput
Defined in: packages/sdvplot/src/maplibre.ts:113
The season the teams are resolved for.
team
team:
string
Defined in: packages/sdvplot/src/maplibre.ts:109
Name of the row column holding the team the leg is coloured by.
which?
optionalwhich?:Which
Defined in: packages/sdvplot/src/maplibre.ts:117
"primary" (default) or "secondary" colour.
width?
optionalwidth?:number
Defined in: packages/sdvplot/src/maplibre.ts:127
The line's width in px, 1 or more. Default 3.
x
x:
string
Defined in: packages/sdvplot/src/maplibre.ts:101
Name of the row column holding each leg's start longitude.
xend
xend:
string
Defined in: packages/sdvplot/src/maplibre.ts:105
Name of the row column holding each leg's end longitude.
y
y:
string
Defined in: packages/sdvplot/src/maplibre.ts:103
Name of the row column holding each leg's start latitude.
yend
yend:
string
Defined in: packages/sdvplot/src/maplibre.ts:107
Name of the row column holding each leg's end latitude.