Skip to main content

Interface: LogoSymbolOptions

Defined in: packages/sdvplot/src/maplibre.ts:26

logoSymbols options.

Properties​

alpha?​

optional alpha?: number

Defined in: packages/sdvplot/src/maplibre.ts:44

The logos' opacity in [0, 1] (icon-opacity). Default 1.


id?​

optional id?: string

Defined in: packages/sdvplot/src/maplibre.ts:46

The source and layer id. Default "sdvplot-logos".


idSystem?​

optional idSystem?: IdSystem

Defined in: packages/sdvplot/src/maplibre.ts:40

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:34

The league the teams belong to, e.g. "nfl".


season?​

optional season?: SeasonInput

Defined in: packages/sdvplot/src/maplibre.ts:36

A season (number or string) for every row, or the name of a row column holding each row's season.


size?​

optional size?: number

Defined in: packages/sdvplot/src/maplibre.ts:42

The logo's height on screen in px, 1 or more. Default 32.


team​

team: string

Defined in: packages/sdvplot/src/maplibre.ts:32

Name of the row column holding the team (abbreviation, name or id, a number or a string; see idSystem).


variant?​

optional variant?: Variant

Defined in: packages/sdvplot/src/maplibre.ts:38

Logo variant, e.g. "dark". Default "default".


x​

x: string

Defined in: packages/sdvplot/src/maplibre.ts:28

Name of the row column holding each logo's longitude.


y​

y: string

Defined in: packages/sdvplot/src/maplibre.ts:30

Name of the row column holding each logo's latitude.