mirage2d 1.1.57 → 1.1.59

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -34,6 +34,7 @@ export declare class PathLayer extends baseLayer {
34
34
  option: IPathLayerOption;
35
35
  routeFeatures: Feature<Geometry>[];
36
36
  private _source;
37
+ private multiLinePathData;
37
38
  constructor(layerid: any, options: IPathLayerOption);
38
39
  private styleFunc;
39
40
  private moveFeature;
@@ -50,7 +51,8 @@ export declare class PathLayer extends baseLayer {
50
51
  private moveFeature3;
51
52
  private moveFeature2;
52
53
  private ComputDirection;
53
- setUserMarker(Coordinate: Coordinate, angle: number, addUserMarker?: boolean): void;
54
+ getNearestPointOnPathNetWork(Coordinate: Feature<Point> | Coordinate): Feature<Point>;
55
+ setUserMarker(Coordinate: Feature<Point> | Coordinate, angle: number, addUserMarker?: boolean): void;
54
56
  setUserCoordinate(currentCoordinate: Feature<Point> | Coordinate): void;
55
57
  getPathLine(): LineString;
56
58
  computerPath(startCoordinate: any, endPointCoordinate: any): void;
@@ -5,5 +5,6 @@ import { Coordinate } from 'ol/coordinate';
5
5
  export declare class CurveGraphic extends baseGraphic {
6
6
  constructor(options: ICurveGraphic);
7
7
  setAngle(startAngle: number, stopAngle: number): void;
8
+ getCoordinates(): Coordinate[][];
8
9
  createRegularPolygonCurve(origin: Coordinate, radius: number, startAngle: number, stopAngle: number, rotation: number): Geometry;
9
10
  }
@@ -2,5 +2,6 @@ import { baseGraphic } from "./baseGraphic";
2
2
  import { IPolylineOption } from "../base/baseOptionType";
3
3
  export declare class LineGraphic extends baseGraphic {
4
4
  constructor(options: IPolylineOption);
5
+ getCoordinates(): import("ol/coordinate").Coordinate[];
5
6
  lineStyle(): any[];
6
7
  }
@@ -2,5 +2,6 @@ import { baseGraphic } from "./baseGraphic";
2
2
  import { IPolygonOption } from "../base/baseOptionType";
3
3
  export declare class PolygonGraphic extends baseGraphic {
4
4
  constructor(options: IPolygonOption);
5
+ getCoordinates(): import("ol/coordinate").Coordinate[][];
5
6
  setGeometryFromExtent(extent: any): void;
6
7
  }
@@ -3,5 +3,6 @@ import { crsType } from "../Enum/typeEnum";
3
3
  import { IimagePointOption } from "../base/baseOptionType";
4
4
  export declare class ImagePointGraphic extends baseGraphic {
5
5
  constructor(options: IimagePointOption);
6
+ getCoordinates(): import("ol/coordinate").Coordinate;
6
7
  setCoordinates(lng: number, lat: number, dataWkID?: crsType): void;
7
8
  }
@@ -3,5 +3,6 @@ import { crsType } from "../Enum/typeEnum";
3
3
  import { ILabelOption } from "../base/baseOptionType";
4
4
  export declare class LabelGraphic extends baseGraphic {
5
5
  constructor(options: ILabelOption);
6
+ getCoordinates(): import("ol/coordinate").Coordinate;
6
7
  setCoordinates(lng: number, lat: number, dataWkID?: crsType): void;
7
8
  }
@@ -3,5 +3,6 @@ import { crsType } from "../Enum/typeEnum";
3
3
  import { IPointOption } from "../base/baseOptionType";
4
4
  export declare class PointGraphic extends baseGraphic {
5
5
  constructor(options: IPointOption);
6
+ getCoordinates(): import("ol/coordinate").Coordinate;
6
7
  setCoordinates(lng: number, lat: number, dataWkID?: crsType): void;
7
8
  }