Interface GiraffeStateAttr

interface GiraffeStateAttr {
    bakedSections?: Record<string, StackedSection[]>;
    closingSignal?: boolean;
    contextMenuClick?: {
        label: string;
        lat: number;
        lng: number;
    };
    layerTree?: LayerTree;
    mapContent?: MapContent;
    mapHoverCoords?: [number, number];
    mapView?: MapView;
    project?: Project;
    projectAppsByAppID?: {
        1?: GiraffeProjectApp;
    } & Record<string, OtherProjectApp<Record<string, any>, Record<string, any>>>;
    projectLayers?: ProjectLayer[];
    projectOrigin?: GeoCoordinate;
    projects?: Record<string, Project>;
    rawSections?: Record<string, RawSection>;
    selected?: (RawSection | Lensable)[];
    selectedProjectApp?: GiraffeProjectApp | OtherProjectApp<Record<string, any>, Record<string, any>>;
    uiLayout?: {
        controlled: {
            leftBarOpen: boolean;
            leftBarOpenWidth: number;
            lensTableHeight: number;
            rightBarOpen: boolean;
            rightBarOpenWidth: number;
            sdkPopupOpen: boolean;
        };
        derived: {
            bottomBarIframeHeight: number;
            leftBarWidth: number;
            lensTableHeight: number;
            rightBarWidth: number;
        };
        windowDimensions: {
            height: number;
            width: number;
        };
    };
    userEvent?: {
        lngLat: [number, number];
        menuItem: string;
        type: "contextmenu";
    };
    vistas?: Vista[];
}

Properties

bakedSections?: Record<string, StackedSection[]>
closingSignal?: boolean
contextMenuClick?: {
    label: string;
    lat: number;
    lng: number;
}
layerTree?: LayerTree
mapContent?: MapContent
mapHoverCoords?: [number, number]
mapView?: MapView
project?: Project
projectAppsByAppID?: {
    1?: GiraffeProjectApp;
} & Record<string, OtherProjectApp<Record<string, any>, Record<string, any>>>
projectLayers?: ProjectLayer[]
projectOrigin?: GeoCoordinate
projects?: Record<string, Project>
rawSections?: Record<string, RawSection>
selected?: (RawSection | Lensable)[]
selectedProjectApp?: GiraffeProjectApp | OtherProjectApp<Record<string, any>, Record<string, any>>
uiLayout?: {
    controlled: {
        leftBarOpen: boolean;
        leftBarOpenWidth: number;
        lensTableHeight: number;
        rightBarOpen: boolean;
        rightBarOpenWidth: number;
        sdkPopupOpen: boolean;
    };
    derived: {
        bottomBarIframeHeight: number;
        leftBarWidth: number;
        lensTableHeight: number;
        rightBarWidth: number;
    };
    windowDimensions: {
        height: number;
        width: number;
    };
}
userEvent?: {
    lngLat: [number, number];
    menuItem: string;
    type: "contextmenu";
}
vistas?: Vista[]