mirage2d 1.1.55 → 1.1.57
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.
|
@@ -50,7 +50,7 @@ export declare class PathLayer extends baseLayer {
|
|
|
50
50
|
private moveFeature3;
|
|
51
51
|
private moveFeature2;
|
|
52
52
|
private ComputDirection;
|
|
53
|
-
setUserMarker(Coordinate: Coordinate, angle: number): void;
|
|
53
|
+
setUserMarker(Coordinate: Coordinate, angle: number, addUserMarker?: boolean): void;
|
|
54
54
|
setUserCoordinate(currentCoordinate: Feature<Point> | Coordinate): void;
|
|
55
55
|
getPathLine(): LineString;
|
|
56
56
|
computerPath(startCoordinate: any, endPointCoordinate: any): void;
|
|
@@ -82,7 +82,7 @@ export declare class PathLayer extends baseLayer {
|
|
|
82
82
|
* @description:
|
|
83
83
|
* @param {string} classname
|
|
84
84
|
*/
|
|
85
|
-
removeFeatures(classname:
|
|
85
|
+
removeFeatures(classname: string): void;
|
|
86
86
|
removeNavigationFeatures(): void;
|
|
87
87
|
pathToGeoJSON(): import("geojson").FeatureCollection<import("geojson").Geometry, {
|
|
88
88
|
[name: string]: any;
|
|
@@ -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;
|