Skip to main content

Class: ProcMapFlightPathPlanRenderer

The default procedure preview renderer for Garmin maps.

Implements

Constructors

constructor

new ProcMapFlightPathPlanRenderer(): ProcMapFlightPathPlanRenderer

Returns

ProcMapFlightPathPlanRenderer

Methods

render

render(plan, context, streamStack, isTransition?): void

Renders a procedure preview flight plan to a canvas.

Parameters

NameTypeDefault valueDescription
planFlightPlanundefinedThe flight plan to render.
contextCanvasRenderingContext2DundefinedThe canvas 2D rendering context to which to render.
streamStackGeoProjectionPathStreamStackundefinedThe path stream stack to which to render.
isTransitionbooleanfalseWhether the rendered plan is a transition preview. Defaults to false.

Returns

void

Implementation of

MapFlightPathProcRenderer.render

Defined in

src/garminsdk/components/map/flightplan/ProcMapFlightPathPlanRenderer.ts:145