Skip to main content

Class: MapConfig

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Components/Map/MapConfig.ts:7

A configuration object which defines options related to maps.

Implements

Constructors

Constructor

new MapConfig(element): MapConfig

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Components/Map/MapConfig.ts:24

Creates a new MapConfig from a configuration document element.

Parameters

ParameterTypeDescription
elementundefined | ElementA configuration document element.

Returns

MapConfig

Properties

ownAirplaneIconSrc

readonly ownAirplaneIconSrc: string

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Components/Map/MapConfig.ts:12

The path to the own airplane icon's image asset.


trafficRangeInnerRingShow

readonly trafficRangeInnerRingShow: boolean

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Components/Map/MapConfig.ts:18

Whether to show the dashed inner ring on the traffic map.


trafficRangeLabelRadial

readonly trafficRangeLabelRadial: number

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Components/Map/MapConfig.ts:15

The radial on which the range labels on the traffic map are positioned, in degrees.