mirage2d 1.1.53 → 1.1.55

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.
@@ -1,12 +1,12 @@
1
1
  import { Vector as VectorSource } from "ol/source";
2
2
  import { Vector as VectorLayer } from "ol/layer";
3
3
  import Feature from "ol/Feature";
4
- import { baseGraphicLayer } from "../../base/baseGraphicLayer";
5
4
  import { Geometry, LineString, Point } from "ol/geom";
6
5
  import Dijkstra from "ol-ext//geom/Dijkstra";
7
6
  import { Coordinate } from "ol/coordinate";
8
7
  import { IPathLayerOption } from "../../base/baseOptionType";
9
- export declare class PathLayer extends baseGraphicLayer {
8
+ import { baseLayer } from "../../base/baseLayer";
9
+ export declare class PathLayer extends baseLayer {
10
10
  autoPointSize: boolean;
11
11
  result: VectorSource<Geometry>;
12
12
  resultlayer: VectorLayer<any>;
@@ -33,6 +33,7 @@ export declare class PathLayer extends baseGraphicLayer {
33
33
  private oldPathLineFeature;
34
34
  option: IPathLayerOption;
35
35
  routeFeatures: Feature<Geometry>[];
36
+ private _source;
36
37
  constructor(layerid: any, options: IPathLayerOption);
37
38
  private styleFunc;
38
39
  private moveFeature;
@@ -82,7 +83,9 @@ export declare class PathLayer extends baseGraphicLayer {
82
83
  * @param {string} classname
83
84
  */
84
85
  removeFeatures(classname: any): void;
86
+ removeNavigationFeatures(): void;
85
87
  pathToGeoJSON(): import("geojson").FeatureCollection<import("geojson").Geometry, {
86
88
  [name: string]: any;
87
89
  }>;
90
+ appendTo(map: any): void;
88
91
  }