Skip to main content

Class: MapFlightPathStyles

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

Constructors

constructor

new MapFlightPathStyles(): MapFlightPathStyles

Returns

MapFlightPathStyles

Properties

ACTIVE_STROKE_COLOR

Static Readonly ACTIVE_STROKE_COLOR: "magenta"

The stroke color for the active flight plan leg.

Defined in

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


ACTIVE_STROKE_WIDTH

Static Readonly ACTIVE_STROKE_WIDTH: 4

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

Defined in

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


BASE_STROKE_COLOR

Static Readonly BASE_STROKE_COLOR: "rgba(204, 204, 204, 0.5)"

The base stroke color for flight plan legs.

Defined in

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


BASE_STROKE_WIDTH

Static Readonly BASE_STROKE_WIDTH: 2

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

Defined in

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


MAGENTA_ARROW_BG_COLOR

Static Readonly MAGENTA_ARROW_BG_COLOR: "rgba(40, 40, 40, 0.5)"

The background color for magenta arrows.

Defined in

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


MAGENTA_ARROW_BG_WIDTH

Static Readonly MAGENTA_ARROW_BG_WIDTH: 6

The width of the background for magenta arrows.

Defined in

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


MISSED_APPROACH_STROKE_COLOR

Static Readonly MISSED_APPROACH_STROKE_COLOR: "white"

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

Defined in

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


MISSED_APPROACH_STROKE_WIDTH

Static Readonly MISSED_APPROACH_STROKE_WIDTH: 1

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

Defined in

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


PRIOR_STROKE_COLOR

Static Readonly PRIOR_STROKE_COLOR: "#cccccc"

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

Defined in

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


PRIOR_STROKE_WIDTH

Static Readonly PRIOR_STROKE_WIDTH: 2

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

Defined in

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


ROLL_HEADING_DASH_ARRAY

Static Readonly ROLL_HEADING_DASH_ARRAY: number[]

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

Defined in

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


ROLL_HEADING_DASH_STROKE_WIDTH

Static Readonly ROLL_HEADING_DASH_STROKE_WIDTH: 2

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

Defined in

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


STROKE_COLOR

Static Readonly STROKE_COLOR: "white"

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

Defined in

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


STROKE_WIDTH

Static Readonly STROKE_WIDTH: 4

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

Defined in

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


TRANSITION_STROKE_COLOR

Static Readonly TRANSITION_STROKE_COLOR: "#666666"

The stroke color for procedure transition preview legs.

Defined in

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


TRANSITION_STROKE_WIDTH

Static Readonly TRANSITION_STROKE_WIDTH: 2

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

Defined in

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