@fleet-frontend/mower-maps
Version:
a mower maps in google maps
34 lines • 978 B
TypeScript
import { RealTimePartitionType } from '@/types/realTime';
import { UnitsType } from '@/types/utils';
import { RealTimeData } from '@/types';
interface UseBoundaryLabelsOptions {
mapData: unknown;
pathData?: unknown;
unitType: UnitsType;
language: string;
viewBox?: {
x: number;
y: number;
width: number;
height: number;
} | null;
rotation?: number;
mowPartitionData?: RealTimePartitionType | null;
realTimeData?: RealTimeData[];
}
export interface BoundaryLabelItem {
id: number;
name: string;
leftPct: number;
topPct: number;
isIsolated?: boolean;
baseText: string;
coverageText: string;
dateText: string;
}
export declare const useBoundaryLabels: ({ mapData, pathData, unitType, viewBox, mowPartitionData, realTimeData, }: UseBoundaryLabelsOptions) => {
items: BoundaryLabelItem[];
containerZIndex: number;
};
export {};
//# sourceMappingURL=useBoundaryLabels.d.ts.map