Skip to main content

Class: MapFlightPathStyles

Defined in: src/garminsdk/components/map/flightplan/MapFlightPathStyles.ts:18

A utility class defining common Garmin styles for rendering flight paths.

Constructors

Constructor

new MapFlightPathStyles(): MapFlightPathStyles

Returns

MapFlightPathStyles

Properties

ACTIVE_STROKE_COLOR

readonly static ACTIVE_STROKE_COLOR: "magenta" = 'magenta'

Defined in: src/garminsdk/components/map/flightplan/MapFlightPathStyles.ts:29

The stroke color for the active flight plan leg.


ACTIVE_STROKE_WIDTH

readonly static ACTIVE_STROKE_WIDTH: 4 = 4

Defined in: src/garminsdk/components/map/flightplan/MapFlightPathStyles.ts:26

The stroke width, in pixels, for the active flight plan leg.


BASE_STROKE_COLOR

readonly static BASE_STROKE_COLOR: "rgba(204, 204, 204, 0.5)" = 'rgba(204, 204, 204, 0.5)'

Defined in: src/garminsdk/components/map/flightplan/MapFlightPathStyles.ts:47

The base stroke color for flight plan legs.


BASE_STROKE_WIDTH

readonly static BASE_STROKE_WIDTH: 2 = 2

Defined in: src/garminsdk/components/map/flightplan/MapFlightPathStyles.ts:44

The base stroke width, in pixels, for flight plan legs.


MAGENTA_ARROW_BG_COLOR

readonly static MAGENTA_ARROW_BG_COLOR: "rgba(40, 40, 40, 0.5)" = 'rgba(40, 40, 40, 0.5)'

Defined in: src/garminsdk/components/map/flightplan/MapFlightPathStyles.ts:65

The background color for magenta arrows.


MAGENTA_ARROW_BG_WIDTH

readonly static MAGENTA_ARROW_BG_WIDTH: 6 = 6

Defined in: src/garminsdk/components/map/flightplan/MapFlightPathStyles.ts:62

The width of the background for magenta arrows.


MISSED_APPROACH_STROKE_COLOR

readonly static MISSED_APPROACH_STROKE_COLOR: "white" = 'white'

Defined in: src/garminsdk/components/map/flightplan/MapFlightPathStyles.ts:41

The stroke color for flight plan legs in the missed approach segment while the missed approach is not active.


MISSED_APPROACH_STROKE_WIDTH

readonly static MISSED_APPROACH_STROKE_WIDTH: 1 = 1

Defined in: src/garminsdk/components/map/flightplan/MapFlightPathStyles.ts:38

The stroke width, in pixels, for flight plan legs in the missed approach segment while the missed approach is not active.


PRIOR_STROKE_COLOR

readonly static PRIOR_STROKE_COLOR: "#cccccc" = '#cccccc'

Defined in: src/garminsdk/components/map/flightplan/MapFlightPathStyles.ts:35

The stroke color for flight plan legs positioned before the active leg.


PRIOR_STROKE_WIDTH

readonly static PRIOR_STROKE_WIDTH: 2 = 2

Defined in: src/garminsdk/components/map/flightplan/MapFlightPathStyles.ts:32

The stroke width, in pixels, for flight plan legs positioned before the active leg.


ROLL_HEADING_DASH_ARRAY

readonly static ROLL_HEADING_DASH_ARRAY: number[]

Defined in: src/garminsdk/components/map/flightplan/MapFlightPathStyles.ts:59

The dash array for roll-heading vectors rendered as dashes.


ROLL_HEADING_DASH_STROKE_WIDTH

readonly static ROLL_HEADING_DASH_STROKE_WIDTH: 2 = 2

Defined in: src/garminsdk/components/map/flightplan/MapFlightPathStyles.ts:56

The stroke width, in pixels, for roll-heading vectors rendered as dashes.


STROKE_COLOR

readonly static STROKE_COLOR: "white" = 'white'

Defined in: src/garminsdk/components/map/flightplan/MapFlightPathStyles.ts:23

The stroke color for flight plan legs positioned after the active leg in the same segment as the active leg.


STROKE_WIDTH

readonly static STROKE_WIDTH: 4 = 4

Defined in: src/garminsdk/components/map/flightplan/MapFlightPathStyles.ts:20

The stroke width, in pixels, for flight plan legs positioned after the active leg in the same segment as the active leg.


TRANSITION_STROKE_COLOR

readonly static TRANSITION_STROKE_COLOR: "#666666" = '#666666'

Defined in: src/garminsdk/components/map/flightplan/MapFlightPathStyles.ts:53

The stroke color for procedure transition preview legs.


TRANSITION_STROKE_WIDTH

readonly static TRANSITION_STROKE_WIDTH: 2 = 2

Defined in: src/garminsdk/components/map/flightplan/MapFlightPathStyles.ts:50

The stroke width, in pixels, for procedure transition preview legs.