PitchKit
API Reference@pitchkit/coreInterfaces

PitchDimensionOverrides

Defined in: packages/core/src/dimensions/registry.ts:24

The real extent of one particular pitch, for providers whose coordinates are metres on an actual pitch rather than a fixed grid.

Only meaningful for non-normalised types: SkillCorner's open data spans 104 to 106 m, because those are the stadiums' real sizes. Overriding a normalised grid (Opta's 0-100) would be meaningless and is rejected.

Properties

PropertyModifierTypeDefined in
length?readonlynumberpackages/core/src/dimensions/registry.ts:25
width?readonlynumberpackages/core/src/dimensions/registry.ts:26

On this page