Point style for vector features.

interface PointStyle {
    color?: ColorRepresentation;
    depthTest?: boolean;
    image?: null | string | Texture;
    opacity?: number;
    pointSize?: number;
    renderOrder?: number;
    sizeAttenuation?: boolean;
}

Hierarchy (view full)

Properties

The color of the point.

DEFAULT_POINT_COLOR

depthTest?: boolean

Determine if depth test is enabled.

image?: null | string | Texture

The image to use for the point. May be either a THREE.js texture or a URL to a remote image file.

undefined

opacity?: number

The opacity of the style.

1
pointSize?: number

The size of points, in pixels.

DEFAULT_POINT_SIZE

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.

sizeAttenuation?: boolean

If enabled, point size decreases with distance. See the THREE.js documentation for more information.

false