@fleet-frontend/mower-maps
Version:
a mower maps in google maps
23 lines • 922 B
TypeScript
import React from 'react';
import { PathData } from '../../types/path';
import { MowerPositionConfig } from '../../types/renderer';
import { RealTimePartitionType } from '../../types/realTime';
import { RobotStatus } from '@/types';
export interface SvgMapComponentRef {
updatePathData?: (pathData: PathData, mowPartitionData?: RealTimePartitionType) => void;
updatePathDataByMowingPosition?: (position: {
x: number;
y: number;
vehicleState?: RobotStatus;
}) => void;
}
interface SvgMapComponentProps {
editMap: boolean;
pathData?: PathData;
mapConfig?: Record<string, unknown>;
mowerPositionData?: MowerPositionConfig;
mowPartitionData?: RealTimePartitionType | null;
}
declare const SvgMapComponent: React.ForwardRefExoticComponent<SvgMapComponentProps & React.RefAttributes<SvgMapComponentRef>>;
export default SvgMapComponent;
//# sourceMappingURL=index.d.ts.map