PointStyle: BaseStyle & {
    color?: ColorRepresentation;
    image?: Texture | string | null;
    pointSize?: number;
    sizeAttenuation?: boolean;
}

Point style for vector features.

Type declaration

  • Optionalcolor?: ColorRepresentation

    The color of the point.

    DEFAULT_POINT_COLOR

  • Optionalimage?: Texture | string | null

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

    undefined

  • OptionalpointSize?: number

    The size of points, in pixels.

    DEFAULT_POINT_SIZE

  • OptionalsizeAttenuation?: boolean

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

    false