Skip to main content

Interface: MapWaypointsLayerProps

Defined in: src/garminsdk/components/map/layers/MapWaypointsLayer.tsx:29

Component props for MapWaypointsLayer.

Extends

Properties

bus

bus: EventBus

Defined in: src/garminsdk/components/map/layers/MapWaypointsLayer.tsx:31

The event bus.


children?

optional children: DisplayChildren[]

Defined in: src/sdk/components/FSComponent.ts:122

The children of the display component.

Inherited from

MapLayerProps.children


class?

optional class: string | SubscribableSet<string>

Defined in: src/sdk/components/map/MapLayer.ts:25

The CSS class(es) to apply to the root of this layer.

Inherited from

MapLayerProps.class


facilityLoader?

optional facilityLoader: FacilityLoader

Defined in: src/garminsdk/components/map/layers/MapWaypointsLayer.tsx:34

The facility loader to use. If not defined, then a default instance will be created.


mapProjection

mapProjection: MapProjection

Defined in: src/sdk/components/map/MapLayer.ts:15

A map projection model.

Inherited from

MapLayerProps.mapProjection


model

model: MapModel<MapWaypointsLayerModules>

Defined in: src/sdk/components/map/MapLayer.ts:12

A map model.

Inherited from

MapLayerProps.model


ref?

optional ref: NodeReference<any>

Defined in: src/sdk/components/FSComponent.ts:125

A reference to the display component.

Inherited from

MapLayerProps.ref


supportRunwayOutlines

supportRunwayOutlines: boolean

Defined in: src/garminsdk/components/map/layers/MapWaypointsLayer.tsx:40

Whether to support the rendering of runway outlines.


updateFreq?

optional updateFreq: Subscribable<number>

Defined in: src/sdk/components/map/MapLayer.ts:22

A subscribable which provides the maximum update frequency of the layer, in hertz. Note that the actual update frequency will not exceed the update frequency of the layer's parent map. If not defined, the frequency will default to that of the layer's parent map.

Inherited from

MapLayerProps.updateFreq


userFacilityScopeFilter()?

optional userFacilityScopeFilter: (scope) => boolean

Defined in: src/garminsdk/components/map/layers/MapWaypointsLayer.tsx:48

A function that filters user facilities to be displayed by the layer based on their scopes. If not defined, then user facilities will not be filtered based on scope.

Parameters

ParameterTypeDescription
scopestringA user facility scope.

Returns

boolean

Whether to display the user facility with the specified scope.


waypointRenderer

waypointRenderer: MapWaypointRenderer

Defined in: src/garminsdk/components/map/layers/MapWaypointsLayer.tsx:37

The waypoint renderer to use.