Describes the current paint state.

interface PaintState {
    hovered: boolean;
    level: number;
    selected: boolean;
}

Hierarchy (view full)

Properties

hovered: boolean

true if the feature is being rendered in hovered mode; false otherwise.

Note that HoverController needs to be active on the map (this controller is part of the default LuciadRIA map behavior) for this to be true.

Since

2021.0

level: number

The current level of detail as a non-negative integer value. The least precise detail level is 0. The number of available detail levels is determined by the array returned by FeaturePainter.getDetailLevelScales

selected: boolean

true if the feature is being rendered in selected mode; false otherwise.