@fleet-frontend/mower-maps
Version:
a mower maps in google maps
36 lines • 974 B
TypeScript
import { PathStyle } from '../../types';
import { DrawElement } from '../../types/layers';
/**
* 路径数据构建器
*/
export declare class PathDataBuilder {
/**
* 创建路径元素数据
*/
static create(coordinates: number[][], style: PathStyle): DrawElement<PathStyle>;
/**
* 创建边缘路径
*/
static createEdgePath(points: number[][], config?: {
lineWidth?: number;
color?: string;
opacity?: number;
}): DrawElement<PathStyle>;
/**
* 创建割草路径
*/
static createMowingPath(points: number[][], config?: {
lineWidth?: number;
color?: string;
opacity?: number;
}): DrawElement<PathStyle>;
/**
* 创建传输路径
*/
static createTransPath(points: number[][], config?: {
lineWidth?: number;
color?: string;
opacity?: number;
}): DrawElement<PathStyle>;
}
//# sourceMappingURL=PathDataBuilder.d.ts.map