UNPKG

@fleet-frontend/mower-maps

Version:

a mower maps in google maps

35 lines 944 B
/** * UI组件相关类型定义 */ import * as React from 'react'; import { MapData } from './map'; import { PathData, MowerPath } from './path'; import { LatLng } from './common'; export interface MowerMapVisualizerProps { mapJson: MapData; pathJson: PathData; width?: number; height?: number; className?: string; style?: React.CSSProperties; onMapReady?: (canvas: HTMLCanvasElement) => void; } export interface MowerMapTrackerProps { paths: MowerPath[]; showCurrentPosition?: boolean; animationSpeed?: number; pathWidth?: number; onPositionChange?: (position: LatLng) => void; className?: string; style?: React.CSSProperties; } export interface MowerPathRendererProps { path: MowerPath; showDirection?: boolean; animated?: boolean; pathWidth?: number; pathColor?: string; className?: string; style?: React.CSSProperties; } //# sourceMappingURL=ui.d.ts.map