Skip to main content

Interface: MapSystemWaypointsLayerProps

Defined in: src/sdk/components/mapsystem/layers/MapSystemWaypointsLayer.tsx:35

Props on the MapSystemWaypointsLayer component.

Extends​

Properties​

airportFacilityDataFlags?​

optional airportFacilityDataFlags: number

Defined in: src/sdk/components/mapsystem/layers/MapSystemWaypointsLayer.tsx:65

Bitflags describing the requested data to be loaded in airport facilities retrieved by the layer. This controls what data are available from the airport waypoints that the layer registers with the waypoint renderer. Defaults to AirportFacilityDataFlags.All.


bus​

bus: EventBus

Defined in: src/sdk/components/mapsystem/layers/MapSystemWaypointsLayer.tsx:37

The event bus.


children?​

optional children: DisplayChildren[]

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

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/sdk/components/mapsystem/layers/MapSystemWaypointsLayer.tsx:40

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


iconFactory​

iconFactory: MapSystemIconFactory

Defined in: src/sdk/components/mapsystem/layers/MapSystemWaypointsLayer.tsx:46

The icon factory to use with this component.


labelFactory​

labelFactory: MapSystemLabelFactory

Defined in: src/sdk/components/mapsystem/layers/MapSystemWaypointsLayer.tsx:49

The label factory to use with this component.


mapProjection​

mapProjection: MapProjection

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

A map projection model.

Inherited from​

MapLayerProps.mapProjection


model​

model: MapModel<MapSystemWaypointsLayerModules>

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:128

A reference to the display component.

Inherited from​

MapLayerProps.ref


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


useMapTargetAsSearchCenter?​

optional useMapTargetAsSearchCenter: boolean

Defined in: src/sdk/components/mapsystem/layers/MapSystemWaypointsLayer.tsx:55

Whether to use the map's projection target as the center for facility searches instead of the map's center. Defaults to false.


waypointCache?​

optional waypointCache: FacilityWaypointCache

Defined in: src/sdk/components/mapsystem/layers/MapSystemWaypointsLayer.tsx:58

An optional waypoint cache to use with this layer. Will default to DefaultFacilityWaypointCache if not supplied.


waypointRenderer​

waypointRenderer: MapSystemWaypointsRenderer

Defined in: src/sdk/components/mapsystem/layers/MapSystemWaypointsLayer.tsx:43

The waypoint renderer to use.