Skip to content
pyautark (soon)

@urban-toolkit/autk-map


@urban-toolkit/autk-map / LayerData

Interface: LayerData

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

Render-ready layer payload produced by loaders and triangulation steps.

Properties

border?

optional border?: LayerBorder[]

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

Optional border geometry for outlined 2D triangle layers.


borderComponents?

optional borderComponents?: LayerBorderComponent[]

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

Cumulative border-component metadata aligned with border.


components

components: LayerComponent[]

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

Per-primitive component metadata aligned with geometry.


geometry

geometry: LayerGeometry[]

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

Geometry buffers for the layer primitives.


pointInstanceCount?

optional pointInstanceCount?: number

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

Number of point instances stored in pointInstances.


pointInstances?

optional pointInstances?: Float32Array<ArrayBufferLike>

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

Packed point-instance centers [x, y, ...] for instanced point rendering.


pointSize?

optional pointSize?: number

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

Base point radius in local planar units for instanced point rendering.


raster?

optional raster?: Float32Array<ArrayBufferLike>

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

Raster scalar values, for raster layers only.


rasterResX?

optional rasterResX?: number

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

Raster grid width in cells, for raster layers only.


rasterResY?

optional rasterResY?: number

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

Raster grid height in cells, for raster layers only.


thematic?

optional thematic?: LayerThematic[]

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

Per-component or per-cell thematic values used for color mapping.

Released under the MIT License.