Partial version of GlobalState used to update the global state of the MapView. All properties are optional.

interface UpdateGlobalState {
    backgroundAlpha?: number;
    backgroundColor?: string;
    environment?: EnvMapOptions;
    geometry?: { hoverColor?: string };
    multiFloorView?: Partial<MultiFloorViewEffectState>;
    text3d?: { hoverColor?: string };
}

Properties

backgroundAlpha?: number

The alpha value of the background, between 0 and 1.

1
backgroundColor?: string

The color of the background, in hex format(#000000).

environment?: EnvMapOptions

environment map for reflections.

'basic'
geometry?: { hoverColor?: string }

Type declaration

  • OptionalhoverColor?: string

    hover color of the geometries

multiFloorView?: Partial<MultiFloorViewEffectState>

Update visual effect settings for floors visible through open-to-below spaces. Only the provided fields are updated; omitted fields keep their current values.

text3d?: { hoverColor?: string }

Type declaration

  • OptionalhoverColor?: string

    hover color of the text3d