Skip to main content

Class: MapRunwayOutlineIcon

An icon which depicts a schematic outline of a runway.

Implements

Constructors

constructor

new MapRunwayOutlineIcon(waypoint, priority, options?, designationImgCache?): MapRunwayOutlineIcon

Constructor.

Parameters

NameTypeDescription
waypointMapRunwayOutlineWaypointThe waypoint associated with this icon.
prioritynumber | Subscribable<number>The render priority of this icon, or a subscribable which provides it. Icons with higher priorities should be rendered above those with lower priorities.
options?Readonly<MapRunwayOutlineIconOptions>Styling options.
designationImgCache?MapRunwayDesignationImageCacheThe cache from which this icon retrieves runway designation images. If not defined, this icon will not render runway designations.

Returns

MapRunwayOutlineIcon

Defined in

src/garminsdk/components/map/MapRunwayOutlineIcon.ts:138

Properties

priority

Readonly priority: Subscribable<number>

Implementation of

MapWaypointIcon.priority

Defined in

src/garminsdk/components/map/MapRunwayOutlineIcon.ts:69


waypoint

Readonly waypoint: MapRunwayOutlineWaypoint

The waypoint associated with this icon.

Implementation of

MapWaypointIcon.waypoint

Defined in

src/garminsdk/components/map/MapRunwayOutlineIcon.ts:139

Methods

draw

draw(context, mapProjection): void

Parameters

NameType
contextCanvasRenderingContext2D
mapProjectionMapProjection

Returns

void

Inherit Doc

Implementation of

MapWaypointIcon.draw

Defined in

src/garminsdk/components/map/MapRunwayOutlineIcon.ts:166