UNPKG

urbi-exhibitions

Version:
29 lines (28 loc) 699 B
import { GltfPlugin } from '@2gis/mapgl-gltf'; export type BuildingOptions = Parameters<GltfPlugin['addRealtyScene']>[0][0] & { flightStyleZoom?: number; flightPitch?: number; flightRotationDuration?: number; image?: string; isDark: boolean; }; export type Coordinates = GeoJSON.Position; export interface Point { lon: number; lat: number; objectId?: string; floorId?: string; } export type RoutePart = { floorId?: string; coordinates: Coordinates[]; distance: number; duration: number; floorChangeComment?: string; }; export type Route = { points: Point[]; parts: RoutePart[]; totalDuration: number; totalDistance: number; };