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

Point style for vector features.

Type declaration

  • Optional color?: ColorRepresentation

    The color of the point.

    Default Value

    {@link DEFAULT_POINT_COLOR}
    
  • Optional image?: 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.

    Default Value

    undefined

  • Optional pointSize?: number

    The size of points, in pixels.

    Default Value

    {@link DEFAULT_POINT_SIZE}
    
  • Optional sizeAttenuation?: boolean

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

    Default Value

    false