@urban-toolkit/autk-map / LayerRenderInfo
Interface: LayerRenderInfo
Defined in: autk-map/src/types-layers.ts:50
Mutable render state associated with a layer.
Properties
color?
optionalcolor?:ColorRGB
Defined in: autk-map/src/types-layers.ts:58
Optional fixed layer color used when thematic color mapping is disabled.
colormap
colormap:
LayerColormap
Defined in: autk-map/src/types-layers.ts:72
Current colormap configuration and derived runtime domain or label state.
isColorMap?
optionalisColorMap?:boolean
Defined in: autk-map/src/types-layers.ts:66
Enables thematic color interpolation when true.
isPick?
optionalisPick?:boolean
Defined in: autk-map/src/types-layers.ts:70
Enables picking for this layer when true.
isSkip?
optionalisSkip?:boolean
Defined in: autk-map/src/types-layers.ts:68
Skips rendering work for this layer when true.
opacity
opacity:
number
Defined in: autk-map/src/types-layers.ts:64
Layer opacity in the range [0, 1].
pickedComps?
optionalpickedComps?:number[]
Defined in: autk-map/src/types-layers.ts:74
Pending canvas-relative pick coordinates [x, y] in CSS pixels, if any.
pointSize?
optionalpointSize?:number
Defined in: autk-map/src/types-layers.ts:52
Point radius in local planar units. Defaults to DEFAULT_POINT_SIZE (64); camera transforms provide all zoom scaling.
polylinesWidth?
optionalpolylinesWidth?:number
Defined in: autk-map/src/types-layers.ts:54
Full polyline/road width in local planar units. Defaults to DEFAULT_LINE_WIDTH (12) for polylines; overrides road category widths when set.
polylinesWidthByComponent?
optionalpolylinesWidthByComponent?:Float32Array<ArrayBufferLike>
Defined in: autk-map/src/types-layers.ts:56
Default full widths per component, used for OSM road styling when polylinesWidth is omitted.
showBorders?
optionalshowBorders?:boolean
Defined in: autk-map/src/types-layers.ts:62
Draws available polygon borders unless false. Can be toggled through updateRenderInfo without rebuilding geometry.
strokeColor?
optionalstrokeColor?:ColorRGB
Defined in: autk-map/src/types-layers.ts:60
Optional fixed border/outline color used by layers with a border pass.