Skip to content

RenderLayer

Defined in: core/backend.ts:69

One named layer handed to a backend: GPU buffers + the vector view + optional clip.

buffers: GroupBuffers

Defined in: core/backend.ts:70


optional clipTo?: string

Defined in: core/backend.ts:59

Name of an earlier layer whose filled silhouette clips this one.

VectorLayer.clipTo


drawables: DrawableVector[]

Defined in: core/backend.ts:57

VectorLayer.drawables


name: string

Defined in: core/backend.ts:56

VectorLayer.name


optional sizeMode?: "world" | "screen"

Defined in: core/backend.ts:65

“world” (default): geometry scales with zoom. “screen”: constant pixel size — points and anchored glyphs keep a constant radius/size around their projected anchor, and strokes keep a constant pixel width about their world centerline. Applies to all geometry types.

VectorLayer.sizeMode