gisviewer-vue3-arcgis
Version:
在应用中引入私服的包, 项目根目录下 新建文件 .npmrc 在 .npmrc 中对包源进行配置:
22 lines (21 loc) • 718 B
TypeScript
import { Point, Polygon, Polyline } from '@arcgis/core/geometry';
export default class Lane {
/** 停止线 */
private _stopLine;
/** 停止线中点 */
stopLineCenter: Point;
set stopLine(line: Polyline);
get stopLine(): Polyline;
private _extendedStopLine;
/** 停止线延长线,用于计算和其他进口道停止线的交点 */
get extendedStopLine(): __esri.Polyline;
/** 行车方向 */
laneDirection: number;
/** 车道轮廓 */
lanePolygon: Polygon;
/** 车道id(路口号_进口道号_车道序号(>0为进口道, <0为出口道)) */
code: string;
/** 是否为进口道 */
isEntry: boolean;
getLaneDirection(): Promise<void>;
}