Skip to main content

Class: MapFormatSupportMatrix

Defined in: workingtitle-instruments-wt21/shared/Map/MapFormatSupportMatrix.ts:6

A class for checking support of map modes against the map format.

Constructors​

Constructor​

new MapFormatSupportMatrix(): MapFormatSupportMatrix

Returns​

MapFormatSupportMatrix

Methods​

isSupported()​

isSupported(format, layer): boolean

Defined in: workingtitle-instruments-wt21/shared/Map/MapFormatSupportMatrix.ts:23

Checks support for a map mode against the format.

Parameters​

ParameterTypeDescription
format"PPOS" | "ROSE" | "ARC" | "PLAN" | "GWX" | "TCAS"The map format to check.
layernumberThe map mode. 0=map 1=terr 2=wx 3=nexrad

Returns​

boolean

True if the map format supports the mode, false otherwise.