Class: ProcMapFlightPathPlanRenderer
The default procedure preview renderer for Garmin maps.
Implements
Constructors
constructor
• new ProcMapFlightPathPlanRenderer(): ProcMapFlightPathPlanRenderer
Returns
Methods
render
▸ render(plan
, context
, streamStack
, isTransition?
): void
Renders a procedure preview flight plan to a canvas.
Parameters
Name | Type | Default value | Description |
---|---|---|---|
plan | FlightPlan | undefined | The flight plan to render. |
context | CanvasRenderingContext2D | undefined | The canvas 2D rendering context to which to render. |
streamStack | GeoProjectionPathStreamStack | undefined | The path stream stack to which to render. |
isTransition | boolean | false | Whether 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