urbi-exhibitions
Version:
31 lines (30 loc) • 1.66 kB
TypeScript
import { PropsWithChildren } from 'react';
import { Map } from '@2gis/mapgl/types';
import { GltfPlugin } from '@2gis/mapgl-gltf';
import { MarkerProps } from './components/marker';
import { ComplexesListProps } from './components/complexesList';
import { ComplexCardPreviewProps } from './components/complexCardPreview';
import { CityData, Complex, PointOfView } from './types';
interface ImmersiveScenarioProps extends PropsWithChildren {
activeBuildingId: string | null;
activePovId: string | null;
map: Map;
gltfPlugin: GltfPlugin;
cityBuildings: CityData[];
onBuildingClick: (complex: Complex) => void;
onResetBuilding: () => void;
onPovClick?: (pointOfView: PointOfView) => void;
onResetPov?: () => void;
onCityClick: (city: CityData) => void;
minZoomCityMarker?: number;
gltfMinStyleZoom?: number;
shouldRemoveModelsOnUnmount?: boolean;
shouldRemovePovMarkers?: boolean;
onAllModelsLoaded?: () => void;
markerOptions?: MarkerProps;
ComplexesListComponent?: React.FC<ComplexesListProps>;
ComplexCardPreviewComponent?: React.FC<ComplexCardPreviewProps>;
shouldAddComplexesList?: boolean;
}
export declare const ImmersiveScenario: import('react').MemoExoticComponent<({ children, activeBuildingId, activePovId, map, gltfPlugin, cityBuildings, onBuildingClick, onResetBuilding, onPovClick, onResetPov, onCityClick, minZoomCityMarker, gltfMinStyleZoom, shouldRemoveModelsOnUnmount, shouldRemovePovMarkers, onAllModelsLoaded, markerOptions, ComplexesListComponent, ComplexCardPreviewComponent, shouldAddComplexesList, }: ImmersiveScenarioProps) => import('react').ReactNode>;
export {};