Skip to main content

Class: MapFormatSupportMatrix

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

Checks support for a map mode against the format.

Parameters

NameTypeDescription
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.

Defined in

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