@besovideo/bvmap-leaflet 0.0.21 → 0.0.23
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.
|
@@ -32,12 +32,14 @@ export interface IEventMapMap {
|
|
|
32
32
|
rightclick: () => void;
|
|
33
33
|
clusterclick: Parameters<LeafletMarkerHandle["on"]>[1];
|
|
34
34
|
zoomChange: (zoom: number) => void;
|
|
35
|
+
remove: () => void;
|
|
35
36
|
}
|
|
36
37
|
declare module "leaflet" {
|
|
37
38
|
namespace CRS {
|
|
38
39
|
let Baidu: CRS;
|
|
39
40
|
}
|
|
40
41
|
}
|
|
42
|
+
export declare function SetMapCenterDefaultLatlng(latlng: [number, number]): void;
|
|
41
43
|
export declare function CreateMap<T>(params: {
|
|
42
44
|
container: HTMLDivElement;
|
|
43
45
|
tileType?: Parameters<typeof SwichTileType>[0] & {
|
|
@@ -73,6 +75,12 @@ export declare function CreateMap<T>(params: {
|
|
|
73
75
|
getEle(): HTMLElement | undefined;
|
|
74
76
|
setContent(content: L.Content): void;
|
|
75
77
|
setIconClassName(className: string): void;
|
|
78
|
+
updateIconCustom(info: IAddMarkerParams<T>["iconCustom"]): void;
|
|
79
|
+
getIconCustom(): {
|
|
80
|
+
imgUrl: string | Promise<string>;
|
|
81
|
+
title: string;
|
|
82
|
+
className?: string;
|
|
83
|
+
} | undefined;
|
|
76
84
|
utils: {
|
|
77
85
|
showTrajektoria(): void;
|
|
78
86
|
stopTrajektoria(): void;
|
|
@@ -97,6 +105,12 @@ export declare function CreateMap<T>(params: {
|
|
|
97
105
|
getEle(): HTMLElement | undefined;
|
|
98
106
|
setContent(content: L.Content): void;
|
|
99
107
|
setIconClassName(className: string): void;
|
|
108
|
+
updateIconCustom(info: IAddMarkerParams<T>["iconCustom"]): void;
|
|
109
|
+
getIconCustom(): {
|
|
110
|
+
imgUrl: string | Promise<string>;
|
|
111
|
+
title: string;
|
|
112
|
+
className?: string;
|
|
113
|
+
} | undefined;
|
|
100
114
|
utils: {
|
|
101
115
|
showTrajektoria(): void;
|
|
102
116
|
stopTrajektoria(): void;
|
|
@@ -121,6 +135,12 @@ export declare function CreateMap<T>(params: {
|
|
|
121
135
|
getEle(): HTMLElement | undefined;
|
|
122
136
|
setContent(content: L.Content): void;
|
|
123
137
|
setIconClassName(className: string): void;
|
|
138
|
+
updateIconCustom(info: IAddMarkerParams<unknown>["iconCustom"]): void;
|
|
139
|
+
getIconCustom(): {
|
|
140
|
+
imgUrl: string | Promise<string>;
|
|
141
|
+
title: string;
|
|
142
|
+
className?: string;
|
|
143
|
+
} | undefined;
|
|
124
144
|
utils: {
|
|
125
145
|
showTrajektoria(): void;
|
|
126
146
|
stopTrajektoria(): void;
|
|
@@ -147,6 +167,12 @@ export declare function CreateMap<T>(params: {
|
|
|
147
167
|
getEle(): HTMLElement | undefined;
|
|
148
168
|
setContent(content: L.Content): void;
|
|
149
169
|
setIconClassName(className: string): void;
|
|
170
|
+
updateIconCustom(info: IAddMarkerParams<unknown>["iconCustom"]): void;
|
|
171
|
+
getIconCustom(): {
|
|
172
|
+
imgUrl: string | Promise<string>;
|
|
173
|
+
title: string;
|
|
174
|
+
className?: string;
|
|
175
|
+
} | undefined;
|
|
150
176
|
utils: {
|
|
151
177
|
showTrajektoria(): void;
|
|
152
178
|
stopTrajektoria(): void;
|
|
@@ -69,6 +69,12 @@ export declare class LeafletMarkerHandle<T = any> {
|
|
|
69
69
|
getEle(): HTMLElement | undefined;
|
|
70
70
|
setContent(content: L.Content): void;
|
|
71
71
|
setIconClassName(className: string): void;
|
|
72
|
+
updateIconCustom(info: IAddMarkerParams<T>["iconCustom"]): void;
|
|
73
|
+
getIconCustom(): {
|
|
74
|
+
imgUrl: string | Promise<string>;
|
|
75
|
+
title: string;
|
|
76
|
+
className?: string;
|
|
77
|
+
} | undefined;
|
|
72
78
|
utils: {
|
|
73
79
|
showTrajektoria(): void;
|
|
74
80
|
stopTrajektoria(): void;
|
|
@@ -94,6 +100,12 @@ export declare class LeafletMarkerHandle<T = any> {
|
|
|
94
100
|
getEle(): HTMLElement | undefined;
|
|
95
101
|
setContent(content: L.Content): void;
|
|
96
102
|
setIconClassName(className: string): void;
|
|
103
|
+
updateIconCustom(info: IAddMarkerParams<T>["iconCustom"]): void;
|
|
104
|
+
getIconCustom(): {
|
|
105
|
+
imgUrl: string | Promise<string>;
|
|
106
|
+
title: string;
|
|
107
|
+
className?: string;
|
|
108
|
+
} | undefined;
|
|
97
109
|
utils: {
|
|
98
110
|
showTrajektoria(): void;
|
|
99
111
|
stopTrajektoria(): void;
|
|
@@ -119,6 +131,12 @@ export declare class LeafletMarkerHandle<T = any> {
|
|
|
119
131
|
getEle(): HTMLElement | undefined;
|
|
120
132
|
setContent(content: L.Content): void;
|
|
121
133
|
setIconClassName(className: string): void;
|
|
134
|
+
updateIconCustom(info: IAddMarkerParams<unknown>["iconCustom"]): void;
|
|
135
|
+
getIconCustom(): {
|
|
136
|
+
imgUrl: string | Promise<string>;
|
|
137
|
+
title: string;
|
|
138
|
+
className?: string;
|
|
139
|
+
} | undefined;
|
|
122
140
|
utils: {
|
|
123
141
|
showTrajektoria(): void;
|
|
124
142
|
stopTrajektoria(): void;
|
|
@@ -145,6 +163,12 @@ export declare class LeafletMarkerHandle<T = any> {
|
|
|
145
163
|
getEle(): HTMLElement | undefined;
|
|
146
164
|
setContent(content: L.Content): void;
|
|
147
165
|
setIconClassName(className: string): void;
|
|
166
|
+
updateIconCustom(info: IAddMarkerParams<unknown>["iconCustom"]): void;
|
|
167
|
+
getIconCustom(): {
|
|
168
|
+
imgUrl: string | Promise<string>;
|
|
169
|
+
title: string;
|
|
170
|
+
className?: string;
|
|
171
|
+
} | undefined;
|
|
148
172
|
utils: {
|
|
149
173
|
showTrajektoria(): void;
|
|
150
174
|
stopTrajektoria(): void;
|
|
@@ -28,6 +28,12 @@ export declare function createMarkerCustomFromMarker<T>(markerCreated: ReturnTyp
|
|
|
28
28
|
getEle(): HTMLElement | undefined;
|
|
29
29
|
setContent(content: L.Content): void;
|
|
30
30
|
setIconClassName(className: string): void;
|
|
31
|
+
updateIconCustom(info: IAddMarkerParams<T>["iconCustom"]): void;
|
|
32
|
+
getIconCustom(): {
|
|
33
|
+
imgUrl: string | Promise<string>;
|
|
34
|
+
title: string;
|
|
35
|
+
className?: string;
|
|
36
|
+
} | undefined;
|
|
31
37
|
utils: {
|
|
32
38
|
showTrajektoria(): void;
|
|
33
39
|
stopTrajektoria(): void;
|