@expofp/floorplan
Version:
Interactive floor plan library for expos and events
33 lines • 1.29 kB
TypeScript
import './MapControls.scss';
import { type CSSProperties } from 'react';
export interface MapControlLayersItem {
id: string;
name: string;
}
export interface MapControlsProps {
className?: string;
style?: CSSProperties;
title: string;
findLocationLabel: string;
zoomInLabel: string;
zoomOutLabel: string;
viewModeLabel: string;
fitToScreenLabel: string;
layersLabel: string;
showModeSwitch: boolean;
showFindLocation: boolean;
isMap3d: boolean;
defaultLayersOpen?: boolean;
layersList?: MapControlLayersItem[];
layersActiveItems?: string[];
layersWidth?: number;
onViewModeSwitch: () => void;
onFindLocation: () => void;
onZoomIn: () => void;
onZoomOut: () => void;
onFitToScreen: () => void;
onChangeLayers: (value: string) => void;
}
declare const MapControls: ({ className, style, title, findLocationLabel, zoomInLabel, zoomOutLabel, viewModeLabel, fitToScreenLabel, layersLabel, isMap3d, showModeSwitch, showFindLocation, defaultLayersOpen, layersList, layersActiveItems, layersWidth, onViewModeSwitch, onFindLocation, onZoomIn, onZoomOut, onFitToScreen, onChangeLayers, }: MapControlsProps) => import("react").JSX.Element;
export default MapControls;
//# sourceMappingURL=MapControls.d.ts.map