Skip to content

@urban-toolkit/autk-map


@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? ​

optional color?: 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? ​

optional isColorMap?: boolean

Defined in: autk-map/src/types-layers.ts:66

Enables thematic color interpolation when true.


isPick? ​

optional isPick?: boolean

Defined in: autk-map/src/types-layers.ts:70

Enables picking for this layer when true.


isSkip? ​

optional isSkip?: 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? ​

optional pickedComps?: number[]

Defined in: autk-map/src/types-layers.ts:74

Pending canvas-relative pick coordinates [x, y] in CSS pixels, if any.


pointSize? ​

optional pointSize?: 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? ​

optional polylinesWidth?: 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? ​

optional polylinesWidthByComponent?: 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? ​

optional showBorders?: 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? ​

optional strokeColor?: ColorRGB

Defined in: autk-map/src/types-layers.ts:60

Optional fixed border/outline color used by layers with a border pass.

Released under the MIT License.