PositionalHeatmapLayer
Defined in: packages/core/src/scene/types.ts:121
Like HeatmapLayer, but binned into Juego de Posición zones derived
from the pitch markings (penalty areas, six-yard boxes, halfway line)
rather than a uniform binsX x binsY grid — mplsoccer's
bin_statistic_positional + heatmap_positional. Also Canvas-rendered.
Type Parameters
| Type Parameter | Default type |
|---|---|
T | unknown |
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
colorMax? | readonly | string | - | packages/core/src/scene/types.ts:131 |
colorMin? | readonly | string | - | packages/core/src/scene/types.ts:130 |
data | readonly | readonly T[] | - | packages/core/src/scene/types.ts:123 |
layout? | readonly | PositionalLayout | Defaults to "full", the 20-zone layout. | packages/core/src/scene/types.ts:129 |
stroke? | readonly | string | Stroke colour for zone outlines; omitted = no outlines. | packages/core/src/scene/types.ts:133 |
strokeWidth? | readonly | number | - | packages/core/src/scene/types.ts:134 |
type | readonly | "positionalHeatmap" | - | packages/core/src/scene/types.ts:122 |
weight? | readonly | Accessor<T, number> | Omitted = count of points per zone; provided = sum of this per zone. | packages/core/src/scene/types.ts:127 |
x | readonly | Accessor<T, number> | - | packages/core/src/scene/types.ts:124 |
y | readonly | Accessor<T, number> | - | packages/core/src/scene/types.ts:125 |