@fleet-frontend/mower-maps
Version:
a mower maps in google maps
21 lines • 721 B
TypeScript
import { DrawElement } from '../../types/layers';
import { ObstacleStyle } from '../../types/renderer';
import { MapElement } from '../../types';
/**
* 障碍物数据构建器
*/
export declare class ObstacleDataBuilder {
/**
* 创建障碍物元素数据
*/
static create(coordinates: number[][], style: ObstacleStyle): DrawElement;
/**
* 从地图元素创建障碍物数据
*/
static fromMapElement(element: MapElement, style: ObstacleStyle): DrawElement | null;
/**
* 创建时间限制障碍物多边形数据
*/
static createTimeLimitObstacle(element: MapElement, style: ObstacleStyle): DrawElement | null;
}
//# sourceMappingURL=ObstacleDataBuilder.d.ts.map