Skip to main content

Interface: MapOwnAirplaneLayerProps<M>

Defined in: src/sdk/components/map/layers/MapOwnAirplaneLayer.tsx:31

Component props for MapOwnAirplaneLayer.

Extends​

Type Parameters​

Type Parameter
M extends MapOwnAirplaneLayerModules

Properties​

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


iconAnchor​

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

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

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.


iconSize​

iconSize: number | Subscribable<number>

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

The size of the airplane icon, in pixels.


imageFilePath​

imageFilePath: string | Subscribable<string>

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

The path to the icon's image file.


mapProjection​

mapProjection: MapProjection

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

A map projection model.

Inherited from​

MapLayerProps.mapProjection


model​

model: MapModel<M>

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


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