Skip to main content

Interface: MapLayerProps<M>

An interface for basic map layer properties.

Type parameters

Name
M

Hierarchy

Properties

children

Optional children: DisplayChildren[]

The children of the display component.

Inherited from

ComponentProps.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.

Defined in

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


mapProjection

mapProjection: MapProjection

A map projection model.

Defined in

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


model

model: MapModel<M>

A map model.

Defined in

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


ref

Optional ref: NodeReference<any>

A reference to the display component.

Inherited from

ComponentProps.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.

Defined in

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