Class: MapRunwayOutlineIcon
An icon which depicts a schematic outline of a runway.
Implements
MapWaypointIcon
<MapRunwayOutlineWaypoint
>
Constructors
constructor
• new MapRunwayOutlineIcon(waypoint
, priority
, options?
, designationImgCache?
): MapRunwayOutlineIcon
Constructor.
Parameters
Name | Type | Description |
---|---|---|
waypoint | MapRunwayOutlineWaypoint | The waypoint associated with this icon. |
priority | number | 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? | MapRunwayDesignationImageCache | The cache from which this icon retrieves runway designation images. If not defined, this icon will not render runway designations. |
Returns
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
Name | Type |
---|---|
context | CanvasRenderingContext2D |
mapProjection | MapProjection |
Returns
void
Inherit Doc
Implementation of
MapWaypointIcon.draw
Defined in
src/garminsdk/components/map/MapRunwayOutlineIcon.ts:166