Skip to main content

Class: MapAirspaceRendering

Utility class containing functions defining the rendering behavior of airspaces for Garmin maps.

Constructors

constructor

new MapAirspaceRendering(): MapAirspaceRendering

Returns

MapAirspaceRendering

Methods

renderOrder

renderOrder(): number

Determines the rendering order of airspaces for Garmin maps.

Returns

number

The relative rendering order of two airspaces for Garmin maps.

Defined in

src/garminsdk/components/map/MapAirspaceRendering.ts:70


selectRenderer

selectRenderer(airspace): MapAirspaceRenderer

Selects airspace renderers for Garmin maps.

Parameters

NameTypeDescription
airspaceLodBoundaryThe airspace to render.

Returns

MapAirspaceRenderer

The renderer to use to render the specified airspace.

Defined in

src/garminsdk/components/map/MapAirspaceRendering.ts:79