Class: MapRunwayOutlineIcon
Defined in: src/garminsdk/components/map/MapRunwayOutlineIcon.ts:37
An icon which depicts a schematic outline of a runway.
Implements
MapWaypointIcon
<MapRunwayOutlineWaypoint
>
Constructors
Constructor
new MapRunwayOutlineIcon(
waypoint
,priority
,options?
,designationImgCache?
):MapRunwayOutlineIcon
Defined in: src/garminsdk/components/map/MapRunwayOutlineIcon.ts:138
Constructor.
Parameters
Parameter | 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
MapRunwayOutlineIcon
Properties
priority
readonly
priority:Subscribable
<number
>
Defined in: src/garminsdk/components/map/MapRunwayOutlineIcon.ts:69
The render priority of this icon. Icons with higher priorities will be rendered on top of icons with lower priorities.
Implementation of
MapWaypointIcon.priority
waypoint
readonly
waypoint:MapRunwayOutlineWaypoint
Defined in: src/garminsdk/components/map/MapRunwayOutlineIcon.ts:139
The waypoint associated with this icon.
Implementation of
MapWaypointIcon.waypoint
Methods
draw()
draw(
context
,mapProjection
):void
Defined in: src/garminsdk/components/map/MapRunwayOutlineIcon.ts:166
Parameters
Parameter | Type |
---|---|
context | CanvasRenderingContext2D |
mapProjection | MapProjection |
Returns
void
Inherit Doc
Implementation of
MapWaypointIcon.draw