POISetProperties

Interface POISetProperties

interface POISetProperties {
    enabled?: boolean;
    labelColor?: [number, number, number];
    labelOutlineColor?: [number, number, number];
    name?: string;
    points?: PointOfInterest[];
    styleHovered?: number;
    styleOccluded?: number;
    styleVisible?: number;
    useWorldUnits?: boolean;
}

Properties

enabled?: boolean

Whether the POI set is enabled or not.

true
labelColor?: [number, number, number]

The color of the POI labels in the set as [R, G, B], each value in the range 0-1.

labelOutlineColor?: [number, number, number]

The outline color of the labels in the set as [R, G, B], each value in the range 0-1.

name?: string

Optional. Name of the POS set.

undefined
points?: PointOfInterest[]

The list of PointOfInterests to visualize.

styleHovered?: number

The style of the POIs in the set that are hovered.

styleOccluded?: number

The style of the POIs in the set that are occluded.

styleVisible?: number

The style of the POIs in the set that are visible.

useWorldUnits?: boolean

Specifies how the size specified in the POI set's style is interpreted (see POIStyleProperties). If set to true, the values are interpreted in world space (meters), otherwise in screen space (pixels).

For pixel size on screen typical size values are in the range 15-30. For world unit size typical size values depend on the model.

false