Interface: MapSharedCanvasLayerProps<M>
Defined in: src/sdk/components/map/layers/MapSharedCanvasLayer.tsx:26
Component props for MapSharedCanvasLayer.
Extends
Type Parameters
| Type Parameter |
|---|
M |
Properties
children?
optionalchildren:DisplayChildren[]
Defined in: src/sdk/components/FSComponent.ts:125
The children of the display component.
Inherited from
class?
optionalclass: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
collapseOnSleep?
optionalcollapseOnSleep:boolean
Defined in: src/sdk/components/map/layers/MapSharedCanvasLayer.tsx:32
Whether the layer should automatically collapse its shared canvas element to zero size (0px by 0px) when the map
is asleep. Collapsing the canvas element will free memory used by the canvas texture. It will also clear
everything drawn to the canvas, reset its context state, and invalidate it. Defaults to false.
mapProjection
mapProjection:
MapProjection
Defined in: src/sdk/components/map/MapLayer.ts:15
A map projection model.
Inherited from
model
model:
MapModel<M>
Defined in: src/sdk/components/map/MapLayer.ts:12
A map model.
Inherited from
ref?
optionalref:NodeReference<any>
Defined in: src/sdk/components/FSComponent.ts:128
A reference to the display component.
Inherited from
updateFreq?
optionalupdateFreq: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.