Skip to main content

Interface: MapOwnAirplaneLayerProps<M>

Component props for MapOwnAirplaneLayer.

Type parameters

NameType
Mextends MapOwnAirplaneLayerModules

Hierarchy

Properties

children

Optional children: DisplayChildren[]

The children of the display component.

Inherited from

MapLayerProps.children

Defined in

src/sdk/components/FSComponent.ts:122


class

Optional class: string | SubscribableSet<string>

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

Inherited from

MapLayerProps.class

Defined in

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


iconAnchor

iconAnchor: Readonly<Omit<Float64Array, "set" | "sort" | "copyWithin">> | Subscribable<Readonly<Omit<Float64Array, "set" | "sort" | "copyWithin">>>

The point on the icon which is anchored to the airplane's position, expressed relative to the icon's width and height, with [0, 0] at the top left and [1, 1] at the bottom right.

Defined in

src/sdk/components/map/layers/MapOwnAirplaneLayer.tsx:42


iconSize

iconSize: number | Subscribable<number>

The size of the airplane icon, in pixels.

Defined in

src/sdk/components/map/layers/MapOwnAirplaneLayer.tsx:36


imageFilePath

imageFilePath: string | Subscribable<string>

The path to the icon's image file.

Defined in

src/sdk/components/map/layers/MapOwnAirplaneLayer.tsx:33


mapProjection

mapProjection: MapProjection

A map projection model.

Inherited from

MapLayerProps.mapProjection

Defined in

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


model

model: MapModel<M>

A map model.

Inherited from

MapLayerProps.model

Defined in

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


ref

Optional ref: NodeReference<any>

A reference to the display component.

Inherited from

MapLayerProps.ref

Defined in

src/sdk/components/FSComponent.ts:125


updateFreq

Optional updateFreq: Subscribable<number>

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

Defined in

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