bbj-screen-widget 2.4.66 → 2.4.67
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/bbj-screen-widget.d.ts +34 -33
- package/bbj-screen-widget.metadata.json +1 -1
- package/bundles/bbj-screen-widget-core.umd.js +1 -1
- package/bundles/bbj-screen-widget-core.umd.js.map +1 -1
- package/bundles/bbj-screen-widget-core.umd.min.js +1 -1
- package/bundles/bbj-screen-widget-core.umd.min.js.map +1 -1
- package/bundles/bbj-screen-widget.umd.js +730 -353
- package/bundles/bbj-screen-widget.umd.js.map +1 -1
- package/bundles/bbj-screen-widget.umd.min.js +1 -1
- package/bundles/bbj-screen-widget.umd.min.js.map +1 -1
- package/esm2015/bbj-screen-widget.js +35 -34
- package/esm2015/core/service/baidu-map.service.js +2 -2
- package/esm2015/lib/custom-baidu-map/baidu-fence/baidu-fence.component.js +168 -88
- package/esm2015/lib/custom-baidu-map/baidu-lushu/baidu-lushu.component.js +222 -0
- package/esm2015/lib/custom-baidu-map/custom-baidu-map.component.js +2 -1
- package/esm2015/lib/custom-baidu-map/custom-baidu-map.module.js +6 -1
- package/fesm2015/bbj-screen-widget-core.js +1 -1
- package/fesm2015/bbj-screen-widget-core.js.map +1 -1
- package/fesm2015/bbj-screen-widget.js +385 -87
- package/fesm2015/bbj-screen-widget.js.map +1 -1
- package/lib/custom-baidu-map/baidu-fence/baidu-fence.component.d.ts +20 -2
- package/lib/custom-baidu-map/baidu-lushu/baidu-lushu.component.d.ts +31 -0
- package/package.json +1 -1
- package/src/assets/img/screen/car.png +0 -0
- package/src/assets/js/BMapGL/Lushu.js +815 -0
- package/src/assets/js/BMapGL/Lushu.min.js +1 -0
|
@@ -1,7 +1,12 @@
|
|
|
1
|
-
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
1
|
+
import { ElementRef, EventEmitter, NgZone, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { BaseLayer } from '../base-layer';
|
|
3
3
|
import { Subject } from 'rxjs';
|
|
4
|
+
import { CustomBaiduMapComponent } from '../custom-baidu-map.component';
|
|
5
|
+
import { NzMessageService } from 'ng-zorro-antd/message';
|
|
4
6
|
export declare class BaiduFenceComponent extends BaseLayer implements OnInit, OnDestroy {
|
|
7
|
+
protected parent: CustomBaiduMapComponent;
|
|
8
|
+
protected zone: NgZone;
|
|
9
|
+
private message;
|
|
5
10
|
lineWidth: number;
|
|
6
11
|
lineColor: string;
|
|
7
12
|
fillColor: string;
|
|
@@ -15,15 +20,28 @@ export declare class BaiduFenceComponent extends BaseLayer implements OnInit, On
|
|
|
15
20
|
stopEdit$: Subject<void>;
|
|
16
21
|
editLineLayer: any;
|
|
17
22
|
searchText: string;
|
|
23
|
+
areaName: string;
|
|
18
24
|
polygon: any;
|
|
19
25
|
circle: any;
|
|
20
26
|
scene: any;
|
|
27
|
+
circleEdit: any;
|
|
28
|
+
suggest: ElementRef<HTMLInputElement>;
|
|
29
|
+
polygonEdit: any;
|
|
30
|
+
editOverlay: any;
|
|
31
|
+
constructor(parent: CustomBaiduMapComponent, zone: NgZone, message: NzMessageService);
|
|
21
32
|
ngOnInit(): Promise<void>;
|
|
22
33
|
ngOnDestroy(): void;
|
|
23
34
|
createLayers(): any[];
|
|
24
35
|
updateData(): void;
|
|
25
36
|
startDraw(type: string): Promise<void>;
|
|
37
|
+
getOptions(): {
|
|
38
|
+
fillColor: string;
|
|
39
|
+
strokeWeight: number;
|
|
40
|
+
strokeColor: string;
|
|
41
|
+
};
|
|
26
42
|
updateEditData(): void;
|
|
27
43
|
stopDraw(): void;
|
|
28
|
-
search(): void
|
|
44
|
+
search(): Promise<void>;
|
|
45
|
+
initSearch(): Promise<void>;
|
|
46
|
+
moveToView(id: string): void;
|
|
29
47
|
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { NgZone, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { LazyService } from '@delon/util';
|
|
3
|
+
import { CustomBaiduMapComponent } from '../custom-baidu-map.component';
|
|
4
|
+
export declare class BaiduLushuComponent implements OnInit, OnChanges, OnDestroy {
|
|
5
|
+
private parent;
|
|
6
|
+
private lazy;
|
|
7
|
+
private zone;
|
|
8
|
+
speed: number;
|
|
9
|
+
icon: string;
|
|
10
|
+
iconWidth: number;
|
|
11
|
+
iconHeight: number;
|
|
12
|
+
showPolyline: boolean;
|
|
13
|
+
polylineColor: string;
|
|
14
|
+
autoStart: boolean;
|
|
15
|
+
enableRotation: boolean;
|
|
16
|
+
defaultContent: string;
|
|
17
|
+
data: any[];
|
|
18
|
+
lushu: any;
|
|
19
|
+
inited: boolean;
|
|
20
|
+
polyline: any;
|
|
21
|
+
constructor(parent: CustomBaiduMapComponent, lazy: LazyService, zone: NgZone);
|
|
22
|
+
ngOnInit(): void;
|
|
23
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
24
|
+
ngOnDestroy(): void;
|
|
25
|
+
update(): void;
|
|
26
|
+
start(): void;
|
|
27
|
+
stop(): void;
|
|
28
|
+
pause(): void;
|
|
29
|
+
clear(): void;
|
|
30
|
+
setSpeed(speed: number): void;
|
|
31
|
+
}
|
package/package.json
CHANGED
|
Binary file
|