mirage2d 1.1.56 → 1.1.58
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.
- package/dist/Layer/graphicLayer/PathLayer.d.ts +3 -1
- package/dist/base/baseOptionType.d.ts +4 -0
- package/dist/graphic/Curve.d.ts +1 -0
- package/dist/graphic/Line.d.ts +1 -0
- package/dist/graphic/Polygon.d.ts +1 -0
- package/dist/graphic/imagePoint.d.ts +1 -0
- package/dist/graphic/label.d.ts +1 -0
- package/dist/graphic/point.d.ts +1 -0
- package/dist/image/marker/pathRightArrow.png +0 -0
- package/dist/mirage2d.cjs.js +1 -1
- package/dist/mirage2d.umd.js +19 -19
- package/package.json +1 -1
|
@@ -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
|
-
|
|
54
|
+
getNearestPoint(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;
|
|
@@ -249,6 +249,10 @@ export interface ICurveGraphic extends IGraphicOption {
|
|
|
249
249
|
}
|
|
250
250
|
export interface IPathLayerOption extends IGraphicLayerOption {
|
|
251
251
|
roadNetworkData: string;
|
|
252
|
+
pathDefaultStyle: {
|
|
253
|
+
color: string;
|
|
254
|
+
width: number;
|
|
255
|
+
};
|
|
252
256
|
pathStyle: {
|
|
253
257
|
color: string;
|
|
254
258
|
width: number;
|
package/dist/graphic/Curve.d.ts
CHANGED
|
@@ -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
|
}
|
package/dist/graphic/Line.d.ts
CHANGED
|
@@ -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
|
}
|
package/dist/graphic/label.d.ts
CHANGED
|
@@ -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
|
}
|
package/dist/graphic/point.d.ts
CHANGED
|
@@ -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
|
}
|
|
Binary file
|