Fill style for vector features.

interface FillStyle {
    color?: ColorRepresentation;
    depthTest?: boolean;
    opacity?: number;
    renderOrder?: number;
    shading?: boolean;
}

Hierarchy (view full)

Properties

The fill color.

DEFAULT_SURFACE_COLOR

depthTest?: boolean

Determine if depth test is enabled.

opacity?: number

The opacity of the style.

1
renderOrder?: number

The render order of objects with this style.

Note: this value is relative to the host entity's own render order. For example, if a feature has a render order of 3, and the entity has a render order of 10, then the actual render order of the displayed mesh will be 13.

shading?: boolean

Whether to use shaded materials or flat materials.

false