UNPKG

gisviewer-vue3-arcgis

Version:

在应用中引入私服的包, 项目根目录下 新建文件 .npmrc 在 .npmrc 中对包源进行配置:

25 lines (24 loc) 647 B
import { QuadrantCode } from '../../../types'; import Lane from './lane'; import { Polygon, Polyline } from '@arcgis/core/geometry'; export default class Entrance { id: string; lanes: Lane[]; /** 进口道方向 */ dir: number; /** 进口道所在象限 */ quadrantCode: QuadrantCode; /** 停止线里路口最远的车道 */ furthestLane: Lane; constructor(id: string); addLanes(road: { lanes: Polygon[]; stopLines: Polyline[]; }): Promise<void>; /** * 新增车道,并按道路中线至边线的方向排序 * @param lane * @returns */ private addLane; }