@heycar/heycars-map 0.9.11 → 0.9.13
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/index.cjs +506 -93
- package/dist/index.js +507 -94
- package/dist/src/Demo/DemoBusinessTaxiService.d.ts +805 -560
- package/dist/src/business-components/BusinessRecomendPlaceMap/BusinessRecomendPlaceMap.d.ts +0 -1
- package/dist/src/business-components/BusinessReselectPlaceMap/BusinessReselectPlaceMap.d.ts +2 -2
- package/dist/src/business-components/FitView/FitView.d.ts +9 -2
- package/dist/src/business-components/PassengerCircle/PassengerCircle.d.ts +825 -825
- package/dist/src/business-components/StartEndPoint/StartEndPoint.d.ts +825 -825
- package/dist/src/business-components/TaxiCar/TaxiCar.d.ts +825 -825
- package/dist/src/components/Amap/Amap.d.ts +8 -7
- package/dist/src/components/Amap/SafeAmap.d.ts +103 -0
- package/dist/src/components/MapProvider/MapProvider.d.ts +2 -1
- package/dist/src/hooks/useHeycarMap.d.ts +5 -1585
- package/dist/src/hooks/useMap.d.ts +4 -794
- package/dist/src/hooks/useMapAngle.d.ts +3 -3
- package/dist/src/hooks/useMapDrag.d.ts +3 -3
- package/dist/src/hooks/useMapFitView.d.ts +108 -108
- package/dist/src/hooks/useMapLngLatToVw.d.ts +3 -3
- package/dist/src/hooks/useMapRecomendPlace.d.ts +1 -0
- package/dist/src/hooks/useMapWheelZoomCenter.d.ts +3 -2
- package/dist/src/hooks/useMapZoom.d.ts +3 -2
- package/dist/src/hooks-business/useBusinessQuotingMap.d.ts +806 -561
- package/dist/src/hooks-business/useBusinessRecomendPlaceMap.d.ts +4 -3
- package/dist/src/hooks-business/useBusinessReselectPlaceMap.d.ts +1 -1
- package/dist/src/hooks-business/useBusinessTaxiServiceMap.d.ts +806 -561
- package/dist/src/index.d.ts +1 -0
- package/dist/src/types/interface.d.ts +4 -2
- package/dist/src/types/my.d.ts +21 -0
- package/dist/src/types/wx.d.ts +1 -0
- package/dist/src/utils/alipayPolyfill.d.ts +1 -0
- package/dist/src/utils/helper.d.ts +0 -1
- package/dist/src/utils/referenceCount.d.ts +8 -0
- package/package.json +1 -1
- package/todo.md +15 -0
|
@@ -1,410 +1,755 @@
|
|
|
1
1
|
/// <reference types="google.maps" />
|
|
2
2
|
import type { DriverStatus, Place, Point } from "../types/interface";
|
|
3
3
|
export declare const DemoBusinessTaxiService: import("vue").DefineComponent<Readonly<{}>, {
|
|
4
|
-
setMap: import("../hooks/useHeycarMap").SetMap<
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
setZoom(zoom: number, immediately?: boolean | undefined, duration?: number | undefined): void;
|
|
19
|
-
getZoom(digits?: number | undefined): number;
|
|
20
|
-
zoomIn(): void;
|
|
21
|
-
zoomOut(): void;
|
|
22
|
-
getPitch(): number;
|
|
23
|
-
setPitch(pitch: number, immediately?: boolean | undefined, duration?: number | undefined): void;
|
|
24
|
-
getRotation(): number;
|
|
25
|
-
setRotation(rotation?: number | undefined, immediately?: boolean | undefined, duration?: number | undefined): void;
|
|
26
|
-
setBounds(bounds: number[] | AMap.Bounds, immediately?: boolean | undefined, avoid?: number[] | undefined): void;
|
|
27
|
-
panTo(lnglat: [number, number] | AMap.LngLat, duration?: number | undefined): void;
|
|
28
|
-
panBy(x: number, y: number, duration?: number | undefined): void;
|
|
29
|
-
getContainer(): HTMLDivElement;
|
|
30
|
-
add(features: {
|
|
31
|
-
on(type: AMap.EventType | AMap.EventType[], fn: (e: any) => void, context?: any, once?: boolean | undefined): any;
|
|
32
|
-
off(type: AMap.EventType, fn: (e: any) => void, context?: any): any;
|
|
33
|
-
hasEvents(type: AMap.EventType, fn: (e: any) => void, context?: any): boolean;
|
|
34
|
-
clearEvents(type: AMap.EventType): any;
|
|
35
|
-
emit(type: AMap.EventType, data?: any): any;
|
|
36
|
-
getEvents(): Record<string, any[]>;
|
|
37
|
-
} | {
|
|
38
|
-
CLASS_NAME: string;
|
|
39
|
-
_zIndex: number;
|
|
40
|
-
_opts: any;
|
|
41
|
-
setMap(map: any | null): void;
|
|
42
|
-
setzIndex(z: number): void;
|
|
43
|
-
setOpacity(opacity: number): void;
|
|
44
|
-
getOpacity(): number;
|
|
45
|
-
getzIndex(): number;
|
|
46
|
-
getOptions(): any;
|
|
47
|
-
getZooms(): [number, number];
|
|
48
|
-
setZooms(zooms: [number, number]): void;
|
|
49
|
-
getVisible(): boolean;
|
|
50
|
-
show(): void;
|
|
51
|
-
hide(): void;
|
|
52
|
-
destroy(): void;
|
|
53
|
-
on(type: AMap.EventType | AMap.EventType[], fn: (e: any) => void, context?: any, once?: boolean | undefined): any;
|
|
54
|
-
off(type: AMap.EventType, fn: (e: any) => void, context?: any): any;
|
|
55
|
-
hasEvents(type: AMap.EventType, fn: (e: any) => void, context?: any): boolean;
|
|
56
|
-
clearEvents(type: AMap.EventType): any;
|
|
57
|
-
emit(type: AMap.EventType, data?: any): any;
|
|
58
|
-
getEvents(): Record<string, any[]>;
|
|
59
|
-
} | ({
|
|
60
|
-
on(type: AMap.EventType | AMap.EventType[], fn: (e: any) => void, context?: any, once?: boolean | undefined): any;
|
|
61
|
-
off(type: AMap.EventType, fn: (e: any) => void, context?: any): any;
|
|
62
|
-
hasEvents(type: AMap.EventType, fn: (e: any) => void, context?: any): boolean;
|
|
63
|
-
clearEvents(type: AMap.EventType): any;
|
|
64
|
-
emit(type: AMap.EventType, data?: any): any;
|
|
65
|
-
getEvents(): Record<string, any[]>;
|
|
66
|
-
} | {
|
|
67
|
-
CLASS_NAME: string;
|
|
68
|
-
_zIndex: number;
|
|
69
|
-
_opts: any;
|
|
70
|
-
setMap(map: any | null): void;
|
|
71
|
-
setzIndex(z: number): void;
|
|
72
|
-
setOpacity(opacity: number): void;
|
|
73
|
-
getOpacity(): number;
|
|
74
|
-
getzIndex(): number;
|
|
75
|
-
getOptions(): any;
|
|
76
|
-
getZooms(): [number, number];
|
|
77
|
-
setZooms(zooms: [number, number]): void;
|
|
78
|
-
getVisible(): boolean;
|
|
79
|
-
show(): void;
|
|
80
|
-
hide(): void;
|
|
81
|
-
destroy(): void;
|
|
82
|
-
on(type: AMap.EventType | AMap.EventType[], fn: (e: any) => void, context?: any, once?: boolean | undefined): any;
|
|
83
|
-
off(type: AMap.EventType, fn: (e: any) => void, context?: any): any;
|
|
84
|
-
hasEvents(type: AMap.EventType, fn: (e: any) => void, context?: any): boolean;
|
|
85
|
-
clearEvents(type: AMap.EventType): any;
|
|
86
|
-
emit(type: AMap.EventType, data?: any): any;
|
|
87
|
-
getEvents(): Record<string, any[]>;
|
|
88
|
-
})[]): void;
|
|
89
|
-
remove(features: {
|
|
90
|
-
on(type: AMap.EventType | AMap.EventType[], fn: (e: any) => void, context?: any, once?: boolean | undefined): any;
|
|
91
|
-
off(type: AMap.EventType, fn: (e: any) => void, context?: any): any;
|
|
92
|
-
hasEvents(type: AMap.EventType, fn: (e: any) => void, context?: any): boolean;
|
|
93
|
-
clearEvents(type: AMap.EventType): any;
|
|
94
|
-
emit(type: AMap.EventType, data?: any): any;
|
|
95
|
-
getEvents(): Record<string, any[]>;
|
|
96
|
-
} | {
|
|
97
|
-
CLASS_NAME: string;
|
|
98
|
-
_zIndex: number;
|
|
99
|
-
_opts: any;
|
|
100
|
-
setMap(map: any | null): void;
|
|
101
|
-
setzIndex(z: number): void;
|
|
102
|
-
setOpacity(opacity: number): void;
|
|
103
|
-
getOpacity(): number;
|
|
104
|
-
getzIndex(): number;
|
|
105
|
-
getOptions(): any;
|
|
106
|
-
getZooms(): [number, number];
|
|
107
|
-
setZooms(zooms: [number, number]): void;
|
|
108
|
-
getVisible(): boolean;
|
|
109
|
-
show(): void;
|
|
110
|
-
hide(): void;
|
|
111
|
-
destroy(): void;
|
|
112
|
-
on(type: AMap.EventType | AMap.EventType[], fn: (e: any) => void, context?: any, once?: boolean | undefined): any;
|
|
113
|
-
off(type: AMap.EventType, fn: (e: any) => void, context?: any): any;
|
|
114
|
-
hasEvents(type: AMap.EventType, fn: (e: any) => void, context?: any): boolean;
|
|
115
|
-
clearEvents(type: AMap.EventType): any;
|
|
116
|
-
emit(type: AMap.EventType, data?: any): any;
|
|
117
|
-
getEvents(): Record<string, any[]>;
|
|
118
|
-
} | ({
|
|
119
|
-
on(type: AMap.EventType | AMap.EventType[], fn: (e: any) => void, context?: any, once?: boolean | undefined): any;
|
|
120
|
-
off(type: AMap.EventType, fn: (e: any) => void, context?: any): any;
|
|
121
|
-
hasEvents(type: AMap.EventType, fn: (e: any) => void, context?: any): boolean;
|
|
122
|
-
clearEvents(type: AMap.EventType): any;
|
|
123
|
-
emit(type: AMap.EventType, data?: any): any;
|
|
124
|
-
getEvents(): Record<string, any[]>;
|
|
125
|
-
} | {
|
|
126
|
-
CLASS_NAME: string;
|
|
127
|
-
_zIndex: number;
|
|
128
|
-
_opts: any;
|
|
129
|
-
setMap(map: any | null): void;
|
|
130
|
-
setzIndex(z: number): void;
|
|
131
|
-
setOpacity(opacity: number): void;
|
|
132
|
-
getOpacity(): number;
|
|
133
|
-
getzIndex(): number;
|
|
134
|
-
getOptions(): any;
|
|
135
|
-
getZooms(): [number, number];
|
|
136
|
-
setZooms(zooms: [number, number]): void;
|
|
137
|
-
getVisible(): boolean;
|
|
138
|
-
show(): void;
|
|
139
|
-
hide(): void;
|
|
4
|
+
setMap: import("../hooks/useHeycarMap").SetMap<import("../components/Amap/SafeAmap").SafeAmap> | import("../hooks/useHeycarMap").SetMap<google.maps.Map>;
|
|
5
|
+
registerFitVeiw: import("../types/interface").RegisterOverlay<{
|
|
6
|
+
_needUpdate: boolean;
|
|
7
|
+
readonly CLASS_NAME: "Overlay" | "Overlay.Polygon" | "Overlay.CorePolygon" | "Overlay.CorePolyline" | "Overlay.Rectangle" | "Overlay.Ellipse" | "Overlay.Circle" | "Overlay.CircleMarker" | "Overlay.Polyline" | "Overlay.BezierCurve" | "Overlay.OverlayGroup" | "Overlay.GeoJSON";
|
|
8
|
+
className: "Overlay" | "Overlay.Polygon" | "Overlay.CorePolygon" | "Overlay.CorePolyline" | "Overlay.Rectangle" | "Overlay.Ellipse" | "Overlay.Circle" | "Overlay.CircleMarker" | "Overlay.Polyline" | "Overlay.BezierCurve" | "Overlay.OverlayGroup" | "Overlay.GeoJSON";
|
|
9
|
+
_isMoveing: boolean;
|
|
10
|
+
visible: boolean;
|
|
11
|
+
setMap(map: {
|
|
12
|
+
_outseaDataType: string;
|
|
13
|
+
setCenter(center: [number, number] | AMap.LngLat, immediately?: boolean | undefined, duration?: number | undefined): void;
|
|
14
|
+
getStyleByUserId(id: any, zoom: number): any;
|
|
15
|
+
getCustomTypeByContainerPos(lnglat: any): any;
|
|
16
|
+
getScreenShot(width: number, height: number): string;
|
|
17
|
+
updateView(view: any, render?: boolean | undefined): void;
|
|
140
18
|
destroy(): void;
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
19
|
+
setZoomAndCenter(zoom: number, center: [number, number] | AMap.LngLat, immediately?: boolean | undefined, duration?: number | undefined): void;
|
|
20
|
+
getBounds(): AMap.Bounds;
|
|
21
|
+
getCenter(): AMap.LngLat;
|
|
22
|
+
getGraphicInfo(): {
|
|
23
|
+
hardwareAccEnabled: any;
|
|
24
|
+
};
|
|
25
|
+
setZoom(zoom: number, immediately?: boolean | undefined, duration?: number | undefined): void;
|
|
26
|
+
getZoom(digits?: number | undefined): number;
|
|
27
|
+
zoomIn(): void;
|
|
28
|
+
zoomOut(): void;
|
|
29
|
+
getPitch(): number;
|
|
30
|
+
setPitch(pitch: number, immediately?: boolean | undefined, duration?: number | undefined): void;
|
|
31
|
+
getRotation(): number;
|
|
32
|
+
setRotation(rotation?: number | undefined, immediately?: boolean | undefined, duration?: number | undefined): void;
|
|
33
|
+
setBounds(bounds: AMap.Bounds | number[], immediately?: boolean | undefined, avoid?: number[] | undefined): void;
|
|
34
|
+
panTo(lnglat: [number, number] | AMap.LngLat, duration?: number | undefined): void;
|
|
35
|
+
panBy(x: number, y: number, duration?: number | undefined): void;
|
|
36
|
+
getContainer(): HTMLDivElement;
|
|
37
|
+
add(features: {
|
|
38
|
+
CLASS_NAME: string;
|
|
39
|
+
_zIndex: number;
|
|
40
|
+
_opts: any;
|
|
41
|
+
setMap(map: any | null): void;
|
|
42
|
+
setzIndex(z: number): void;
|
|
43
|
+
setOpacity(opacity: number): void;
|
|
44
|
+
getOpacity(): number;
|
|
45
|
+
getzIndex(): number;
|
|
46
|
+
getOptions(): any;
|
|
47
|
+
getZooms(): [number, number];
|
|
48
|
+
setZooms(zooms: [number, number]): void;
|
|
49
|
+
getVisible(): boolean;
|
|
50
|
+
show(): void;
|
|
51
|
+
hide(): void;
|
|
52
|
+
destroy(): void;
|
|
53
|
+
on(type: AMap.EventType | AMap.EventType[], fn: (e: any) => void, context?: any, once?: boolean | undefined): any;
|
|
54
|
+
off(type: AMap.EventType, fn: (e: any) => void, context?: any): any;
|
|
55
|
+
hasEvents(type: AMap.EventType, fn: (e: any) => void, context?: any): boolean;
|
|
56
|
+
clearEvents(type: AMap.EventType): any;
|
|
57
|
+
emit(type: AMap.EventType, data?: any): any;
|
|
58
|
+
getEvents(): Record<string, any[]>;
|
|
59
|
+
} | {
|
|
60
|
+
on(type: AMap.EventType | AMap.EventType[], fn: (e: any) => void, context?: any, once?: boolean | undefined): any;
|
|
61
|
+
off(type: AMap.EventType, fn: (e: any) => void, context?: any): any;
|
|
62
|
+
hasEvents(type: AMap.EventType, fn: (e: any) => void, context?: any): boolean;
|
|
63
|
+
clearEvents(type: AMap.EventType): any;
|
|
64
|
+
emit(type: AMap.EventType, data?: any): any;
|
|
65
|
+
getEvents(): Record<string, any[]>;
|
|
66
|
+
} | ({
|
|
67
|
+
CLASS_NAME: string;
|
|
68
|
+
_zIndex: number;
|
|
69
|
+
_opts: any;
|
|
70
|
+
setMap(map: any | null): void;
|
|
71
|
+
setzIndex(z: number): void;
|
|
72
|
+
setOpacity(opacity: number): void;
|
|
73
|
+
getOpacity(): number;
|
|
74
|
+
getzIndex(): number;
|
|
75
|
+
getOptions(): any;
|
|
76
|
+
getZooms(): [number, number];
|
|
77
|
+
setZooms(zooms: [number, number]): void;
|
|
78
|
+
getVisible(): boolean;
|
|
79
|
+
show(): void;
|
|
80
|
+
hide(): void;
|
|
81
|
+
destroy(): void;
|
|
82
|
+
on(type: AMap.EventType | AMap.EventType[], fn: (e: any) => void, context?: any, once?: boolean | undefined): any;
|
|
83
|
+
off(type: AMap.EventType, fn: (e: any) => void, context?: any): any;
|
|
84
|
+
hasEvents(type: AMap.EventType, fn: (e: any) => void, context?: any): boolean;
|
|
85
|
+
clearEvents(type: AMap.EventType): any;
|
|
86
|
+
emit(type: AMap.EventType, data?: any): any;
|
|
87
|
+
getEvents(): Record<string, any[]>;
|
|
88
|
+
} | {
|
|
89
|
+
on(type: AMap.EventType | AMap.EventType[], fn: (e: any) => void, context?: any, once?: boolean | undefined): any;
|
|
90
|
+
off(type: AMap.EventType, fn: (e: any) => void, context?: any): any;
|
|
91
|
+
hasEvents(type: AMap.EventType, fn: (e: any) => void, context?: any): boolean;
|
|
92
|
+
clearEvents(type: AMap.EventType): any;
|
|
93
|
+
emit(type: AMap.EventType, data?: any): any;
|
|
94
|
+
getEvents(): Record<string, any[]>;
|
|
95
|
+
})[]): void;
|
|
96
|
+
remove(features: {
|
|
97
|
+
CLASS_NAME: string;
|
|
98
|
+
_zIndex: number;
|
|
99
|
+
_opts: any;
|
|
100
|
+
setMap(map: any | null): void;
|
|
101
|
+
setzIndex(z: number): void;
|
|
102
|
+
setOpacity(opacity: number): void;
|
|
103
|
+
getOpacity(): number;
|
|
104
|
+
getzIndex(): number;
|
|
105
|
+
getOptions(): any;
|
|
106
|
+
getZooms(): [number, number];
|
|
107
|
+
setZooms(zooms: [number, number]): void;
|
|
108
|
+
getVisible(): boolean;
|
|
109
|
+
show(): void;
|
|
110
|
+
hide(): void;
|
|
111
|
+
destroy(): void;
|
|
112
|
+
on(type: AMap.EventType | AMap.EventType[], fn: (e: any) => void, context?: any, once?: boolean | undefined): any;
|
|
113
|
+
off(type: AMap.EventType, fn: (e: any) => void, context?: any): any;
|
|
114
|
+
hasEvents(type: AMap.EventType, fn: (e: any) => void, context?: any): boolean;
|
|
115
|
+
clearEvents(type: AMap.EventType): any;
|
|
116
|
+
emit(type: AMap.EventType, data?: any): any;
|
|
117
|
+
getEvents(): Record<string, any[]>;
|
|
118
|
+
} | {
|
|
119
|
+
on(type: AMap.EventType | AMap.EventType[], fn: (e: any) => void, context?: any, once?: boolean | undefined): any;
|
|
120
|
+
off(type: AMap.EventType, fn: (e: any) => void, context?: any): any;
|
|
121
|
+
hasEvents(type: AMap.EventType, fn: (e: any) => void, context?: any): boolean;
|
|
122
|
+
clearEvents(type: AMap.EventType): any;
|
|
123
|
+
emit(type: AMap.EventType, data?: any): any;
|
|
124
|
+
getEvents(): Record<string, any[]>;
|
|
125
|
+
} | ({
|
|
126
|
+
CLASS_NAME: string;
|
|
127
|
+
_zIndex: number;
|
|
128
|
+
_opts: any;
|
|
129
|
+
setMap(map: any | null): void;
|
|
130
|
+
setzIndex(z: number): void;
|
|
131
|
+
setOpacity(opacity: number): void;
|
|
132
|
+
getOpacity(): number;
|
|
133
|
+
getzIndex(): number;
|
|
134
|
+
getOptions(): any;
|
|
135
|
+
getZooms(): [number, number];
|
|
136
|
+
setZooms(zooms: [number, number]): void;
|
|
137
|
+
getVisible(): boolean;
|
|
138
|
+
show(): void;
|
|
139
|
+
hide(): void;
|
|
140
|
+
destroy(): void;
|
|
141
|
+
on(type: AMap.EventType | AMap.EventType[], fn: (e: any) => void, context?: any, once?: boolean | undefined): any;
|
|
142
|
+
off(type: AMap.EventType, fn: (e: any) => void, context?: any): any;
|
|
143
|
+
hasEvents(type: AMap.EventType, fn: (e: any) => void, context?: any): boolean;
|
|
144
|
+
clearEvents(type: AMap.EventType): any;
|
|
145
|
+
emit(type: AMap.EventType, data?: any): any;
|
|
146
|
+
getEvents(): Record<string, any[]>;
|
|
147
|
+
} | {
|
|
148
|
+
on(type: AMap.EventType | AMap.EventType[], fn: (e: any) => void, context?: any, once?: boolean | undefined): any;
|
|
149
|
+
off(type: AMap.EventType, fn: (e: any) => void, context?: any): any;
|
|
150
|
+
hasEvents(type: AMap.EventType, fn: (e: any) => void, context?: any): boolean;
|
|
151
|
+
clearEvents(type: AMap.EventType): any;
|
|
152
|
+
emit(type: AMap.EventType, data?: any): any;
|
|
153
|
+
getEvents(): Record<string, any[]>;
|
|
154
|
+
})[]): void;
|
|
155
|
+
lngLatToCoords(lnglat: [number, number] | AMap.LngLat): [number, number];
|
|
156
|
+
coordsToLngLat(coords: [number, number]): AMap.LngLat;
|
|
157
|
+
lngLatToContainer(lnglat: number[] | AMap.LngLat): AMap.Pixel;
|
|
158
|
+
containerToLngLat(pixel: number[] | AMap.Pixel): AMap.LngLat;
|
|
159
|
+
coordToContainer(coord: [number, number]): [number, number];
|
|
160
|
+
containerToCoord(pixel: number[] | AMap.Pixel): number[];
|
|
161
|
+
pixelToLngLat(pixel: number[] | AMap.Pixel, z?: number | undefined): AMap.LngLat;
|
|
162
|
+
lngLatToPixel(lnglat: number[] | AMap.LngLat, z?: number | undefined): AMap.Pixel;
|
|
163
|
+
getResolution(point?: AMap.LngLat | undefined): number;
|
|
164
|
+
getScale(dpi: number): number;
|
|
165
|
+
getCity(cbk: (result: any) => void, lnglat: number[]): void;
|
|
166
|
+
setCity(cityName: string, cbk: (center: number[] | null, zoom: number | null) => void): void;
|
|
167
|
+
setFitView(overlays?: {
|
|
168
|
+
has(vector: any): boolean;
|
|
169
|
+
clear(): void;
|
|
170
|
+
setOptions(opt: any): void;
|
|
171
|
+
query(lnglat: AMap.LngLatLike): any | undefined;
|
|
172
|
+
getBounds(): AMap.Bounds | undefined;
|
|
173
|
+
} | {
|
|
174
|
+
on(type: AMap.EventType | AMap.EventType[], fn: (e: any) => void, context?: any, once?: boolean | undefined): any;
|
|
175
|
+
off(type: AMap.EventType, fn: (e: any) => void, context?: any): any;
|
|
176
|
+
hasEvents(type: AMap.EventType, fn: (e: any) => void, context?: any): boolean;
|
|
177
|
+
clearEvents(type: AMap.EventType): any;
|
|
178
|
+
emit(type: AMap.EventType, data?: any): any;
|
|
179
|
+
getEvents(): Record<string, any[]>;
|
|
180
|
+
}[] | undefined, immediately?: boolean | undefined, avoid?: number[] | undefined, maxZoom?: number | undefined): AMap.Bounds | undefined;
|
|
181
|
+
getFitZoomAndCenterByOverlays(overlayList: any[], avoid?: number[] | undefined, maxZoom?: number | undefined): any[] | undefined;
|
|
182
|
+
getFitZoomAndCenterByBounds(bounds: AMap.Bounds | number[], avoid?: number[] | undefined, maxZoom?: number | undefined): any[];
|
|
183
|
+
addControl(control: AMap.Control): void;
|
|
184
|
+
removeControl(control: AMap.Control): void;
|
|
185
|
+
setMapStyle(value: string): void;
|
|
186
|
+
getMapStyle(): string;
|
|
187
|
+
getAllOverlays(type?: string | undefined): any[];
|
|
188
|
+
clearMap(): void;
|
|
189
|
+
clearInfoWindow(): void;
|
|
190
|
+
getFeatures(): string | string[] | undefined;
|
|
191
|
+
setFeatures(features: string[]): void;
|
|
192
|
+
getMapApprovalNumber(): any;
|
|
193
|
+
setMask(maskPath: number[][]): void;
|
|
194
|
+
setLabelRejectMask(reject: boolean): void;
|
|
195
|
+
className: string;
|
|
196
|
+
_resource: Resource<Iterable<{
|
|
197
|
+
destroy?: (() => void) | undefined;
|
|
198
|
+
}> & {
|
|
199
|
+
taskManger: TaskManager;
|
|
200
|
+
SDFCombineTexture: SDFCombineTexture;
|
|
201
|
+
taskThread: RenderThread;
|
|
202
|
+
drawMode: string;
|
|
203
|
+
taskQueue: TaskQueue;
|
|
204
|
+
oversea: Oversea;
|
|
205
|
+
highlight: Highlight;
|
|
206
|
+
}>;
|
|
207
|
+
_loadData?: string | undefined;
|
|
208
|
+
gl?: WebGLRenderingContext | undefined;
|
|
209
|
+
canvas?: HTMLCanvasElement | undefined;
|
|
210
|
+
WebGLParams: any;
|
|
211
|
+
_sourceManager: SourceManager;
|
|
212
|
+
getGL(): WebGLRenderingContext | undefined;
|
|
213
|
+
loadData(): string | undefined;
|
|
214
|
+
getGraphic(): {
|
|
215
|
+
hardwareAccEnabled: any;
|
|
216
|
+
};
|
|
217
|
+
getSize(): AMap.Size;
|
|
218
|
+
addLayer(layer: {
|
|
219
|
+
CLASS_NAME: string;
|
|
220
|
+
_zIndex: number;
|
|
221
|
+
_opts: any;
|
|
222
|
+
setMap(map: any | null): void;
|
|
223
|
+
setzIndex(z: number): void;
|
|
224
|
+
setOpacity(opacity: number): void;
|
|
225
|
+
getOpacity(): number;
|
|
226
|
+
getzIndex(): number;
|
|
227
|
+
getOptions(): any;
|
|
228
|
+
getZooms(): [number, number];
|
|
229
|
+
setZooms(zooms: [number, number]): void;
|
|
230
|
+
getVisible(): boolean;
|
|
231
|
+
show(): void;
|
|
232
|
+
hide(): void;
|
|
233
|
+
destroy(): void;
|
|
234
|
+
on(type: AMap.EventType | AMap.EventType[], fn: (e: any) => void, context?: any, once?: boolean | undefined): any;
|
|
235
|
+
off(type: AMap.EventType, fn: (e: any) => void, context?: any): any;
|
|
236
|
+
hasEvents(type: AMap.EventType, fn: (e: any) => void, context?: any): boolean;
|
|
237
|
+
clearEvents(type: AMap.EventType): any;
|
|
238
|
+
emit(type: AMap.EventType, data?: any): any;
|
|
239
|
+
getEvents(): Record<string, any[]>;
|
|
240
|
+
}): void;
|
|
241
|
+
removeLayer(layer: {
|
|
242
|
+
CLASS_NAME: string;
|
|
243
|
+
_zIndex: number;
|
|
244
|
+
_opts: any;
|
|
245
|
+
setMap(map: any | null): void;
|
|
246
|
+
setzIndex(z: number): void;
|
|
247
|
+
setOpacity(opacity: number): void;
|
|
248
|
+
getOpacity(): number;
|
|
249
|
+
getzIndex(): number;
|
|
250
|
+
getOptions(): any;
|
|
251
|
+
getZooms(): [number, number];
|
|
252
|
+
setZooms(zooms: [number, number]): void;
|
|
253
|
+
getVisible(): boolean;
|
|
254
|
+
show(): void;
|
|
255
|
+
hide(): void;
|
|
256
|
+
destroy(): void;
|
|
257
|
+
on(type: AMap.EventType | AMap.EventType[], fn: (e: any) => void, context?: any, once?: boolean | undefined): any;
|
|
258
|
+
off(type: AMap.EventType, fn: (e: any) => void, context?: any): any;
|
|
259
|
+
hasEvents(type: AMap.EventType, fn: (e: any) => void, context?: any): boolean;
|
|
260
|
+
clearEvents(type: AMap.EventType): any;
|
|
261
|
+
emit(type: AMap.EventType, data?: any): any;
|
|
262
|
+
getEvents(): Record<string, any[]>;
|
|
263
|
+
}): void;
|
|
264
|
+
setLayers(layers: {
|
|
265
|
+
CLASS_NAME: string;
|
|
266
|
+
_zIndex: number;
|
|
267
|
+
_opts: any;
|
|
268
|
+
setMap(map: any | null): void;
|
|
269
|
+
setzIndex(z: number): void;
|
|
270
|
+
setOpacity(opacity: number): void;
|
|
271
|
+
getOpacity(): number;
|
|
272
|
+
getzIndex(): number;
|
|
273
|
+
getOptions(): any;
|
|
274
|
+
getZooms(): [number, number];
|
|
275
|
+
setZooms(zooms: [number, number]): void;
|
|
276
|
+
getVisible(): boolean;
|
|
277
|
+
show(): void;
|
|
278
|
+
hide(): void;
|
|
279
|
+
destroy(): void;
|
|
280
|
+
on(type: AMap.EventType | AMap.EventType[], fn: (e: any) => void, context?: any, once?: boolean | undefined): any;
|
|
281
|
+
off(type: AMap.EventType, fn: (e: any) => void, context?: any): any;
|
|
282
|
+
hasEvents(type: AMap.EventType, fn: (e: any) => void, context?: any): boolean;
|
|
283
|
+
clearEvents(type: AMap.EventType): any;
|
|
284
|
+
emit(type: AMap.EventType, data?: any): any;
|
|
285
|
+
getEvents(): Record<string, any[]>;
|
|
286
|
+
}[]): void;
|
|
287
|
+
getLayers(): {
|
|
288
|
+
CLASS_NAME: string;
|
|
289
|
+
_zIndex: number;
|
|
290
|
+
_opts: any;
|
|
291
|
+
setMap(map: any | null): void;
|
|
292
|
+
setzIndex(z: number): void;
|
|
293
|
+
setOpacity(opacity: number): void;
|
|
294
|
+
getOpacity(): number;
|
|
295
|
+
getzIndex(): number;
|
|
296
|
+
getOptions(): any;
|
|
297
|
+
getZooms(): [number, number];
|
|
298
|
+
setZooms(zooms: [number, number]): void;
|
|
299
|
+
getVisible(): boolean;
|
|
300
|
+
show(): void;
|
|
301
|
+
hide(): void;
|
|
302
|
+
destroy(): void;
|
|
303
|
+
on(type: AMap.EventType | AMap.EventType[], fn: (e: any) => void, context?: any, once?: boolean | undefined): any;
|
|
304
|
+
off(type: AMap.EventType, fn: (e: any) => void, context?: any): any;
|
|
305
|
+
hasEvents(type: AMap.EventType, fn: (e: any) => void, context?: any): boolean;
|
|
306
|
+
clearEvents(type: AMap.EventType): any;
|
|
307
|
+
emit(type: AMap.EventType, data?: any): any;
|
|
308
|
+
getEvents(): Record<string, any[]>;
|
|
309
|
+
}[];
|
|
310
|
+
getLayersDangerous(): {
|
|
311
|
+
CLASS_NAME: string;
|
|
312
|
+
_zIndex: number;
|
|
313
|
+
_opts: any;
|
|
314
|
+
setMap(map: any | null): void;
|
|
315
|
+
setzIndex(z: number): void;
|
|
316
|
+
setOpacity(opacity: number): void;
|
|
317
|
+
getOpacity(): number;
|
|
318
|
+
getzIndex(): number;
|
|
319
|
+
getOptions(): any;
|
|
320
|
+
getZooms(): [number, number];
|
|
321
|
+
setZooms(zooms: [number, number]): void;
|
|
322
|
+
getVisible(): boolean;
|
|
323
|
+
show(): void;
|
|
324
|
+
hide(): void;
|
|
325
|
+
destroy(): void;
|
|
326
|
+
on(type: AMap.EventType | AMap.EventType[], fn: (e: any) => void, context?: any, once?: boolean | undefined): any;
|
|
327
|
+
off(type: AMap.EventType, fn: (e: any) => void, context?: any): any;
|
|
328
|
+
hasEvents(type: AMap.EventType, fn: (e: any) => void, context?: any): boolean;
|
|
329
|
+
clearEvents(type: AMap.EventType): any;
|
|
330
|
+
emit(type: AMap.EventType, data?: any): any;
|
|
331
|
+
getEvents(): Record<string, any[]>;
|
|
332
|
+
}[];
|
|
333
|
+
getStatus(): {
|
|
334
|
+
dragEnable: boolean;
|
|
335
|
+
zoomEnable: boolean;
|
|
336
|
+
doubleClickZoom: boolean;
|
|
337
|
+
keyboardEnable: boolean;
|
|
338
|
+
jogEnable: boolean;
|
|
339
|
+
scrollWheel: boolean;
|
|
340
|
+
zoomSpeed: number;
|
|
341
|
+
animateEnable: boolean;
|
|
342
|
+
touchZoomCenter: number;
|
|
343
|
+
touchZoom: boolean;
|
|
344
|
+
pitchEnable: boolean;
|
|
345
|
+
rotateEnable: boolean;
|
|
346
|
+
showBuildingBlock: boolean | undefined;
|
|
347
|
+
isHotspot: boolean;
|
|
348
|
+
mapstyleUrl: string;
|
|
349
|
+
features: string | string[] | undefined;
|
|
350
|
+
allBubble: boolean;
|
|
351
|
+
pickWhenMoving: boolean;
|
|
352
|
+
};
|
|
353
|
+
setStatus(status: any): void;
|
|
354
|
+
getOutseaState(): boolean;
|
|
355
|
+
getOutseaDataType(): string;
|
|
356
|
+
getMapboxStyle(): any;
|
|
357
|
+
_setStyleByPlat(style: any): void;
|
|
358
|
+
getDefaultCursor(): string;
|
|
359
|
+
setDefaultCursor(cursor: string): void;
|
|
360
|
+
getLimitBounds(): AMap.Bounds | undefined;
|
|
361
|
+
setLimitBounds(bounds: AMap.Bounds | number[]): void;
|
|
362
|
+
clearLimitBounds(): void;
|
|
363
|
+
getZooms(): [number, number];
|
|
364
|
+
setZooms(zooms: [number, number]): void;
|
|
365
|
+
getSkyColor(optimalZoom: number): number[];
|
|
366
|
+
getatmosColor(optimalZoom: number): number[];
|
|
367
|
+
getStamp(): number;
|
|
368
|
+
getStyleByIdForUser(id: any, zoom: number): any;
|
|
369
|
+
getTileZoom(z: number): any;
|
|
370
|
+
getCustomTypeByPos(pos: any): any;
|
|
371
|
+
getLabelRejectMask(): boolean;
|
|
372
|
+
setHighlight(mainKey: number, subKey: number[]): void;
|
|
373
|
+
start(): void;
|
|
374
|
+
stop(): void;
|
|
375
|
+
on(type: AMap.EventType | AMap.EventType[], fn: (e: any) => void, context?: any, once?: boolean | undefined): any;
|
|
376
|
+
off(type: AMap.EventType, fn: (e: any) => void, context?: any): any;
|
|
377
|
+
hasEvents(type: AMap.EventType, fn: (e: any) => void, context?: any): boolean;
|
|
378
|
+
clearEvents(type: AMap.EventType): any;
|
|
379
|
+
emit(type: AMap.EventType, data?: any): any;
|
|
380
|
+
getEvents(): Record<string, any[]>;
|
|
381
|
+
} | null): void;
|
|
382
|
+
getMap(): {
|
|
383
|
+
_outseaDataType: string;
|
|
384
|
+
setCenter(center: [number, number] | AMap.LngLat, immediately?: boolean | undefined, duration?: number | undefined): void;
|
|
385
|
+
getStyleByUserId(id: any, zoom: number): any;
|
|
386
|
+
getCustomTypeByContainerPos(lnglat: any): any;
|
|
387
|
+
getScreenShot(width: number, height: number): string;
|
|
388
|
+
updateView(view: any, render?: boolean | undefined): void;
|
|
389
|
+
destroy(): void;
|
|
390
|
+
setZoomAndCenter(zoom: number, center: [number, number] | AMap.LngLat, immediately?: boolean | undefined, duration?: number | undefined): void;
|
|
391
|
+
getBounds(): AMap.Bounds;
|
|
392
|
+
getCenter(): AMap.LngLat;
|
|
393
|
+
getGraphicInfo(): {
|
|
394
|
+
hardwareAccEnabled: any;
|
|
395
|
+
};
|
|
396
|
+
setZoom(zoom: number, immediately?: boolean | undefined, duration?: number | undefined): void;
|
|
397
|
+
getZoom(digits?: number | undefined): number;
|
|
398
|
+
zoomIn(): void;
|
|
399
|
+
zoomOut(): void;
|
|
400
|
+
getPitch(): number;
|
|
401
|
+
setPitch(pitch: number, immediately?: boolean | undefined, duration?: number | undefined): void;
|
|
402
|
+
getRotation(): number;
|
|
403
|
+
setRotation(rotation?: number | undefined, immediately?: boolean | undefined, duration?: number | undefined): void;
|
|
404
|
+
setBounds(bounds: AMap.Bounds | number[], immediately?: boolean | undefined, avoid?: number[] | undefined): void;
|
|
405
|
+
panTo(lnglat: [number, number] | AMap.LngLat, duration?: number | undefined): void;
|
|
406
|
+
panBy(x: number, y: number, duration?: number | undefined): void;
|
|
407
|
+
getContainer(): HTMLDivElement;
|
|
408
|
+
add(features: {
|
|
409
|
+
CLASS_NAME: string;
|
|
410
|
+
_zIndex: number;
|
|
411
|
+
_opts: any;
|
|
412
|
+
setMap(map: any | null): void;
|
|
413
|
+
setzIndex(z: number): void;
|
|
414
|
+
setOpacity(opacity: number): void;
|
|
415
|
+
getOpacity(): number;
|
|
416
|
+
getzIndex(): number;
|
|
417
|
+
getOptions(): any;
|
|
418
|
+
getZooms(): [number, number];
|
|
419
|
+
setZooms(zooms: [number, number]): void;
|
|
420
|
+
getVisible(): boolean;
|
|
421
|
+
show(): void;
|
|
422
|
+
hide(): void;
|
|
423
|
+
destroy(): void;
|
|
424
|
+
on(type: AMap.EventType | AMap.EventType[], fn: (e: any) => void, context?: any, once?: boolean | undefined): any;
|
|
425
|
+
off(type: AMap.EventType, fn: (e: any) => void, context?: any): any;
|
|
426
|
+
hasEvents(type: AMap.EventType, fn: (e: any) => void, context?: any): boolean;
|
|
427
|
+
clearEvents(type: AMap.EventType): any;
|
|
428
|
+
emit(type: AMap.EventType, data?: any): any;
|
|
429
|
+
getEvents(): Record<string, any[]>;
|
|
430
|
+
} | {
|
|
431
|
+
on(type: AMap.EventType | AMap.EventType[], fn: (e: any) => void, context?: any, once?: boolean | undefined): any;
|
|
432
|
+
off(type: AMap.EventType, fn: (e: any) => void, context?: any): any;
|
|
433
|
+
hasEvents(type: AMap.EventType, fn: (e: any) => void, context?: any): boolean;
|
|
434
|
+
clearEvents(type: AMap.EventType): any;
|
|
435
|
+
emit(type: AMap.EventType, data?: any): any;
|
|
436
|
+
getEvents(): Record<string, any[]>;
|
|
437
|
+
} | ({
|
|
438
|
+
CLASS_NAME: string;
|
|
439
|
+
_zIndex: number;
|
|
440
|
+
_opts: any;
|
|
441
|
+
setMap(map: any | null): void;
|
|
442
|
+
setzIndex(z: number): void;
|
|
443
|
+
setOpacity(opacity: number): void;
|
|
444
|
+
getOpacity(): number;
|
|
445
|
+
getzIndex(): number;
|
|
446
|
+
getOptions(): any;
|
|
447
|
+
getZooms(): [number, number];
|
|
448
|
+
setZooms(zooms: [number, number]): void;
|
|
449
|
+
getVisible(): boolean;
|
|
450
|
+
show(): void;
|
|
451
|
+
hide(): void;
|
|
452
|
+
destroy(): void;
|
|
453
|
+
on(type: AMap.EventType | AMap.EventType[], fn: (e: any) => void, context?: any, once?: boolean | undefined): any;
|
|
454
|
+
off(type: AMap.EventType, fn: (e: any) => void, context?: any): any;
|
|
455
|
+
hasEvents(type: AMap.EventType, fn: (e: any) => void, context?: any): boolean;
|
|
456
|
+
clearEvents(type: AMap.EventType): any;
|
|
457
|
+
emit(type: AMap.EventType, data?: any): any;
|
|
458
|
+
getEvents(): Record<string, any[]>;
|
|
459
|
+
} | {
|
|
460
|
+
on(type: AMap.EventType | AMap.EventType[], fn: (e: any) => void, context?: any, once?: boolean | undefined): any;
|
|
461
|
+
off(type: AMap.EventType, fn: (e: any) => void, context?: any): any;
|
|
462
|
+
hasEvents(type: AMap.EventType, fn: (e: any) => void, context?: any): boolean;
|
|
463
|
+
clearEvents(type: AMap.EventType): any;
|
|
464
|
+
emit(type: AMap.EventType, data?: any): any;
|
|
465
|
+
getEvents(): Record<string, any[]>;
|
|
466
|
+
})[]): void;
|
|
467
|
+
remove(features: {
|
|
468
|
+
CLASS_NAME: string;
|
|
469
|
+
_zIndex: number;
|
|
470
|
+
_opts: any;
|
|
471
|
+
setMap(map: any | null): void;
|
|
472
|
+
setzIndex(z: number): void;
|
|
473
|
+
setOpacity(opacity: number): void;
|
|
474
|
+
getOpacity(): number;
|
|
475
|
+
getzIndex(): number;
|
|
476
|
+
getOptions(): any;
|
|
477
|
+
getZooms(): [number, number];
|
|
478
|
+
setZooms(zooms: [number, number]): void;
|
|
479
|
+
getVisible(): boolean;
|
|
480
|
+
show(): void;
|
|
481
|
+
hide(): void;
|
|
482
|
+
destroy(): void;
|
|
483
|
+
on(type: AMap.EventType | AMap.EventType[], fn: (e: any) => void, context?: any, once?: boolean | undefined): any;
|
|
484
|
+
off(type: AMap.EventType, fn: (e: any) => void, context?: any): any;
|
|
485
|
+
hasEvents(type: AMap.EventType, fn: (e: any) => void, context?: any): boolean;
|
|
486
|
+
clearEvents(type: AMap.EventType): any;
|
|
487
|
+
emit(type: AMap.EventType, data?: any): any;
|
|
488
|
+
getEvents(): Record<string, any[]>;
|
|
489
|
+
} | {
|
|
490
|
+
on(type: AMap.EventType | AMap.EventType[], fn: (e: any) => void, context?: any, once?: boolean | undefined): any;
|
|
491
|
+
off(type: AMap.EventType, fn: (e: any) => void, context?: any): any;
|
|
492
|
+
hasEvents(type: AMap.EventType, fn: (e: any) => void, context?: any): boolean;
|
|
493
|
+
clearEvents(type: AMap.EventType): any;
|
|
494
|
+
emit(type: AMap.EventType, data?: any): any;
|
|
495
|
+
getEvents(): Record<string, any[]>;
|
|
496
|
+
} | ({
|
|
497
|
+
CLASS_NAME: string;
|
|
498
|
+
_zIndex: number;
|
|
499
|
+
_opts: any;
|
|
500
|
+
setMap(map: any | null): void;
|
|
501
|
+
setzIndex(z: number): void;
|
|
502
|
+
setOpacity(opacity: number): void;
|
|
503
|
+
getOpacity(): number;
|
|
504
|
+
getzIndex(): number;
|
|
505
|
+
getOptions(): any;
|
|
506
|
+
getZooms(): [number, number];
|
|
507
|
+
setZooms(zooms: [number, number]): void;
|
|
508
|
+
getVisible(): boolean;
|
|
509
|
+
show(): void;
|
|
510
|
+
hide(): void;
|
|
511
|
+
destroy(): void;
|
|
512
|
+
on(type: AMap.EventType | AMap.EventType[], fn: (e: any) => void, context?: any, once?: boolean | undefined): any;
|
|
513
|
+
off(type: AMap.EventType, fn: (e: any) => void, context?: any): any;
|
|
514
|
+
hasEvents(type: AMap.EventType, fn: (e: any) => void, context?: any): boolean;
|
|
515
|
+
clearEvents(type: AMap.EventType): any;
|
|
516
|
+
emit(type: AMap.EventType, data?: any): any;
|
|
517
|
+
getEvents(): Record<string, any[]>;
|
|
518
|
+
} | {
|
|
519
|
+
on(type: AMap.EventType | AMap.EventType[], fn: (e: any) => void, context?: any, once?: boolean | undefined): any;
|
|
520
|
+
off(type: AMap.EventType, fn: (e: any) => void, context?: any): any;
|
|
521
|
+
hasEvents(type: AMap.EventType, fn: (e: any) => void, context?: any): boolean;
|
|
522
|
+
clearEvents(type: AMap.EventType): any;
|
|
523
|
+
emit(type: AMap.EventType, data?: any): any;
|
|
524
|
+
getEvents(): Record<string, any[]>;
|
|
525
|
+
})[]): void;
|
|
526
|
+
lngLatToCoords(lnglat: [number, number] | AMap.LngLat): [number, number];
|
|
527
|
+
coordsToLngLat(coords: [number, number]): AMap.LngLat;
|
|
528
|
+
lngLatToContainer(lnglat: number[] | AMap.LngLat): AMap.Pixel;
|
|
529
|
+
containerToLngLat(pixel: number[] | AMap.Pixel): AMap.LngLat;
|
|
530
|
+
coordToContainer(coord: [number, number]): [number, number];
|
|
531
|
+
containerToCoord(pixel: number[] | AMap.Pixel): number[];
|
|
532
|
+
pixelToLngLat(pixel: number[] | AMap.Pixel, z?: number | undefined): AMap.LngLat;
|
|
533
|
+
lngLatToPixel(lnglat: number[] | AMap.LngLat, z?: number | undefined): AMap.Pixel;
|
|
534
|
+
getResolution(point?: AMap.LngLat | undefined): number;
|
|
535
|
+
getScale(dpi: number): number;
|
|
536
|
+
getCity(cbk: (result: any) => void, lnglat: number[]): void;
|
|
537
|
+
setCity(cityName: string, cbk: (center: number[] | null, zoom: number | null) => void): void;
|
|
538
|
+
setFitView(overlays?: {
|
|
539
|
+
has(vector: any): boolean;
|
|
540
|
+
clear(): void;
|
|
541
|
+
setOptions(opt: any): void;
|
|
542
|
+
query(lnglat: AMap.LngLatLike): any | undefined;
|
|
543
|
+
getBounds(): AMap.Bounds | undefined;
|
|
544
|
+
} | {
|
|
545
|
+
on(type: AMap.EventType | AMap.EventType[], fn: (e: any) => void, context?: any, once?: boolean | undefined): any;
|
|
546
|
+
off(type: AMap.EventType, fn: (e: any) => void, context?: any): any;
|
|
547
|
+
hasEvents(type: AMap.EventType, fn: (e: any) => void, context?: any): boolean;
|
|
548
|
+
clearEvents(type: AMap.EventType): any;
|
|
549
|
+
emit(type: AMap.EventType, data?: any): any;
|
|
550
|
+
getEvents(): Record<string, any[]>;
|
|
551
|
+
}[] | undefined, immediately?: boolean | undefined, avoid?: number[] | undefined, maxZoom?: number | undefined): AMap.Bounds | undefined;
|
|
552
|
+
getFitZoomAndCenterByOverlays(overlayList: any[], avoid?: number[] | undefined, maxZoom?: number | undefined): any[] | undefined;
|
|
553
|
+
getFitZoomAndCenterByBounds(bounds: AMap.Bounds | number[], avoid?: number[] | undefined, maxZoom?: number | undefined): any[];
|
|
554
|
+
addControl(control: AMap.Control): void;
|
|
555
|
+
removeControl(control: AMap.Control): void;
|
|
556
|
+
setMapStyle(value: string): void;
|
|
557
|
+
getMapStyle(): string;
|
|
558
|
+
getAllOverlays(type?: string | undefined): any[];
|
|
559
|
+
clearMap(): void;
|
|
560
|
+
clearInfoWindow(): void;
|
|
561
|
+
getFeatures(): string | string[] | undefined;
|
|
562
|
+
setFeatures(features: string[]): void;
|
|
563
|
+
getMapApprovalNumber(): any;
|
|
564
|
+
setMask(maskPath: number[][]): void;
|
|
565
|
+
setLabelRejectMask(reject: boolean): void;
|
|
566
|
+
className: string;
|
|
567
|
+
_resource: Resource<Iterable<{
|
|
568
|
+
destroy?: (() => void) | undefined;
|
|
569
|
+
}> & {
|
|
570
|
+
taskManger: TaskManager;
|
|
571
|
+
SDFCombineTexture: SDFCombineTexture;
|
|
572
|
+
taskThread: RenderThread;
|
|
573
|
+
drawMode: string;
|
|
574
|
+
taskQueue: TaskQueue;
|
|
575
|
+
oversea: Oversea;
|
|
576
|
+
highlight: Highlight;
|
|
577
|
+
}>;
|
|
578
|
+
_loadData?: string | undefined;
|
|
579
|
+
gl?: WebGLRenderingContext | undefined;
|
|
580
|
+
canvas?: HTMLCanvasElement | undefined;
|
|
581
|
+
WebGLParams: any;
|
|
582
|
+
_sourceManager: SourceManager;
|
|
583
|
+
getGL(): WebGLRenderingContext | undefined;
|
|
584
|
+
loadData(): string | undefined;
|
|
585
|
+
getGraphic(): {
|
|
586
|
+
hardwareAccEnabled: any;
|
|
587
|
+
};
|
|
588
|
+
getSize(): AMap.Size;
|
|
589
|
+
addLayer(layer: {
|
|
590
|
+
CLASS_NAME: string;
|
|
591
|
+
_zIndex: number;
|
|
592
|
+
_opts: any;
|
|
593
|
+
setMap(map: any | null): void;
|
|
594
|
+
setzIndex(z: number): void;
|
|
595
|
+
setOpacity(opacity: number): void;
|
|
596
|
+
getOpacity(): number;
|
|
597
|
+
getzIndex(): number;
|
|
598
|
+
getOptions(): any;
|
|
599
|
+
getZooms(): [number, number];
|
|
600
|
+
setZooms(zooms: [number, number]): void;
|
|
601
|
+
getVisible(): boolean;
|
|
602
|
+
show(): void;
|
|
603
|
+
hide(): void;
|
|
604
|
+
destroy(): void;
|
|
605
|
+
on(type: AMap.EventType | AMap.EventType[], fn: (e: any) => void, context?: any, once?: boolean | undefined): any;
|
|
606
|
+
off(type: AMap.EventType, fn: (e: any) => void, context?: any): any;
|
|
607
|
+
hasEvents(type: AMap.EventType, fn: (e: any) => void, context?: any): boolean;
|
|
608
|
+
clearEvents(type: AMap.EventType): any;
|
|
609
|
+
emit(type: AMap.EventType, data?: any): any;
|
|
610
|
+
getEvents(): Record<string, any[]>;
|
|
611
|
+
}): void;
|
|
612
|
+
removeLayer(layer: {
|
|
613
|
+
CLASS_NAME: string;
|
|
614
|
+
_zIndex: number;
|
|
615
|
+
_opts: any;
|
|
616
|
+
setMap(map: any | null): void;
|
|
617
|
+
setzIndex(z: number): void;
|
|
618
|
+
setOpacity(opacity: number): void;
|
|
619
|
+
getOpacity(): number;
|
|
620
|
+
getzIndex(): number;
|
|
621
|
+
getOptions(): any;
|
|
622
|
+
getZooms(): [number, number];
|
|
623
|
+
setZooms(zooms: [number, number]): void;
|
|
624
|
+
getVisible(): boolean;
|
|
625
|
+
show(): void;
|
|
626
|
+
hide(): void;
|
|
627
|
+
destroy(): void;
|
|
628
|
+
on(type: AMap.EventType | AMap.EventType[], fn: (e: any) => void, context?: any, once?: boolean | undefined): any;
|
|
629
|
+
off(type: AMap.EventType, fn: (e: any) => void, context?: any): any;
|
|
630
|
+
hasEvents(type: AMap.EventType, fn: (e: any) => void, context?: any): boolean;
|
|
631
|
+
clearEvents(type: AMap.EventType): any;
|
|
632
|
+
emit(type: AMap.EventType, data?: any): any;
|
|
633
|
+
getEvents(): Record<string, any[]>;
|
|
634
|
+
}): void;
|
|
635
|
+
setLayers(layers: {
|
|
636
|
+
CLASS_NAME: string;
|
|
637
|
+
_zIndex: number;
|
|
638
|
+
_opts: any;
|
|
639
|
+
setMap(map: any | null): void;
|
|
640
|
+
setzIndex(z: number): void;
|
|
641
|
+
setOpacity(opacity: number): void;
|
|
642
|
+
getOpacity(): number;
|
|
643
|
+
getzIndex(): number;
|
|
644
|
+
getOptions(): any;
|
|
645
|
+
getZooms(): [number, number];
|
|
646
|
+
setZooms(zooms: [number, number]): void;
|
|
647
|
+
getVisible(): boolean;
|
|
648
|
+
show(): void;
|
|
649
|
+
hide(): void;
|
|
650
|
+
destroy(): void;
|
|
651
|
+
on(type: AMap.EventType | AMap.EventType[], fn: (e: any) => void, context?: any, once?: boolean | undefined): any;
|
|
652
|
+
off(type: AMap.EventType, fn: (e: any) => void, context?: any): any;
|
|
653
|
+
hasEvents(type: AMap.EventType, fn: (e: any) => void, context?: any): boolean;
|
|
654
|
+
clearEvents(type: AMap.EventType): any;
|
|
655
|
+
emit(type: AMap.EventType, data?: any): any;
|
|
656
|
+
getEvents(): Record<string, any[]>;
|
|
657
|
+
}[]): void;
|
|
658
|
+
getLayers(): {
|
|
659
|
+
CLASS_NAME: string;
|
|
660
|
+
_zIndex: number;
|
|
661
|
+
_opts: any;
|
|
170
662
|
setMap(map: any | null): void;
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
663
|
+
setzIndex(z: number): void;
|
|
664
|
+
setOpacity(opacity: number): void;
|
|
665
|
+
getOpacity(): number;
|
|
666
|
+
getzIndex(): number;
|
|
667
|
+
getOptions(): any;
|
|
668
|
+
getZooms(): [number, number];
|
|
669
|
+
setZooms(zooms: [number, number]): void;
|
|
670
|
+
getVisible(): boolean;
|
|
175
671
|
show(): void;
|
|
176
|
-
|
|
177
|
-
|
|
672
|
+
hide(): void;
|
|
673
|
+
destroy(): void;
|
|
674
|
+
on(type: AMap.EventType | AMap.EventType[], fn: (e: any) => void, context?: any, once?: boolean | undefined): any;
|
|
675
|
+
off(type: AMap.EventType, fn: (e: any) => void, context?: any): any;
|
|
676
|
+
hasEvents(type: AMap.EventType, fn: (e: any) => void, context?: any): boolean;
|
|
677
|
+
clearEvents(type: AMap.EventType): any;
|
|
678
|
+
emit(type: AMap.EventType, data?: any): any;
|
|
679
|
+
getEvents(): Record<string, any[]>;
|
|
680
|
+
}[];
|
|
681
|
+
getLayersDangerous(): {
|
|
682
|
+
CLASS_NAME: string;
|
|
683
|
+
_zIndex: number;
|
|
684
|
+
_opts: any;
|
|
685
|
+
setMap(map: any | null): void;
|
|
686
|
+
setzIndex(z: number): void;
|
|
687
|
+
setOpacity(opacity: number): void;
|
|
688
|
+
getOpacity(): number;
|
|
689
|
+
getzIndex(): number;
|
|
178
690
|
getOptions(): any;
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
691
|
+
getZooms(): [number, number];
|
|
692
|
+
setZooms(zooms: [number, number]): void;
|
|
693
|
+
getVisible(): boolean;
|
|
694
|
+
show(): void;
|
|
695
|
+
hide(): void;
|
|
696
|
+
destroy(): void;
|
|
184
697
|
on(type: AMap.EventType | AMap.EventType[], fn: (e: any) => void, context?: any, once?: boolean | undefined): any;
|
|
185
698
|
off(type: AMap.EventType, fn: (e: any) => void, context?: any): any;
|
|
186
699
|
hasEvents(type: AMap.EventType, fn: (e: any) => void, context?: any): boolean;
|
|
187
700
|
clearEvents(type: AMap.EventType): any;
|
|
701
|
+
emit(type: AMap.EventType, data?: any): any;
|
|
188
702
|
getEvents(): Record<string, any[]>;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
drawMode: string;
|
|
221
|
-
taskQueue: TaskQueue;
|
|
222
|
-
oversea: Oversea;
|
|
223
|
-
highlight: Highlight;
|
|
224
|
-
}>;
|
|
225
|
-
_loadData?: string | undefined;
|
|
226
|
-
gl?: WebGLRenderingContext | undefined;
|
|
227
|
-
canvas?: HTMLCanvasElement | undefined;
|
|
228
|
-
WebGLParams: any;
|
|
229
|
-
_sourceManager: SourceManager;
|
|
230
|
-
getGL(): WebGLRenderingContext | undefined;
|
|
231
|
-
loadData(): string | undefined;
|
|
232
|
-
getGraphic(): {
|
|
233
|
-
hardwareAccEnabled: any;
|
|
234
|
-
};
|
|
235
|
-
getSize(): AMap.Size;
|
|
236
|
-
addLayer(layer: {
|
|
237
|
-
CLASS_NAME: string;
|
|
238
|
-
_zIndex: number;
|
|
239
|
-
_opts: any;
|
|
240
|
-
setMap(map: any | null): void;
|
|
241
|
-
setzIndex(z: number): void;
|
|
242
|
-
setOpacity(opacity: number): void;
|
|
243
|
-
getOpacity(): number;
|
|
244
|
-
getzIndex(): number;
|
|
245
|
-
getOptions(): any;
|
|
246
|
-
getZooms(): [number, number];
|
|
247
|
-
setZooms(zooms: [number, number]): void;
|
|
248
|
-
getVisible(): boolean;
|
|
249
|
-
show(): void;
|
|
250
|
-
hide(): void;
|
|
251
|
-
destroy(): void;
|
|
252
|
-
on(type: AMap.EventType | AMap.EventType[], fn: (e: any) => void, context?: any, once?: boolean | undefined): any;
|
|
253
|
-
off(type: AMap.EventType, fn: (e: any) => void, context?: any): any;
|
|
254
|
-
hasEvents(type: AMap.EventType, fn: (e: any) => void, context?: any): boolean;
|
|
255
|
-
clearEvents(type: AMap.EventType): any;
|
|
256
|
-
emit(type: AMap.EventType, data?: any): any;
|
|
257
|
-
getEvents(): Record<string, any[]>;
|
|
258
|
-
}): void;
|
|
259
|
-
removeLayer(layer: {
|
|
260
|
-
CLASS_NAME: string;
|
|
261
|
-
_zIndex: number;
|
|
262
|
-
_opts: any;
|
|
263
|
-
setMap(map: any | null): void;
|
|
264
|
-
setzIndex(z: number): void;
|
|
265
|
-
setOpacity(opacity: number): void;
|
|
266
|
-
getOpacity(): number;
|
|
267
|
-
getzIndex(): number;
|
|
268
|
-
getOptions(): any;
|
|
269
|
-
getZooms(): [number, number];
|
|
270
|
-
setZooms(zooms: [number, number]): void;
|
|
271
|
-
getVisible(): boolean;
|
|
272
|
-
show(): void;
|
|
273
|
-
hide(): void;
|
|
274
|
-
destroy(): void;
|
|
275
|
-
on(type: AMap.EventType | AMap.EventType[], fn: (e: any) => void, context?: any, once?: boolean | undefined): any;
|
|
276
|
-
off(type: AMap.EventType, fn: (e: any) => void, context?: any): any;
|
|
277
|
-
hasEvents(type: AMap.EventType, fn: (e: any) => void, context?: any): boolean;
|
|
278
|
-
clearEvents(type: AMap.EventType): any;
|
|
279
|
-
emit(type: AMap.EventType, data?: any): any;
|
|
280
|
-
getEvents(): Record<string, any[]>;
|
|
281
|
-
}): void;
|
|
282
|
-
setLayers(layers: {
|
|
283
|
-
CLASS_NAME: string;
|
|
284
|
-
_zIndex: number;
|
|
285
|
-
_opts: any;
|
|
286
|
-
setMap(map: any | null): void;
|
|
287
|
-
setzIndex(z: number): void;
|
|
288
|
-
setOpacity(opacity: number): void;
|
|
289
|
-
getOpacity(): number;
|
|
290
|
-
getzIndex(): number;
|
|
291
|
-
getOptions(): any;
|
|
292
|
-
getZooms(): [number, number];
|
|
293
|
-
setZooms(zooms: [number, number]): void;
|
|
294
|
-
getVisible(): boolean;
|
|
295
|
-
show(): void;
|
|
296
|
-
hide(): void;
|
|
297
|
-
destroy(): void;
|
|
298
|
-
on(type: AMap.EventType | AMap.EventType[], fn: (e: any) => void, context?: any, once?: boolean | undefined): any;
|
|
299
|
-
off(type: AMap.EventType, fn: (e: any) => void, context?: any): any;
|
|
300
|
-
hasEvents(type: AMap.EventType, fn: (e: any) => void, context?: any): boolean;
|
|
301
|
-
clearEvents(type: AMap.EventType): any;
|
|
302
|
-
emit(type: AMap.EventType, data?: any): any;
|
|
303
|
-
getEvents(): Record<string, any[]>;
|
|
304
|
-
}[]): void;
|
|
305
|
-
getLayers(): {
|
|
306
|
-
CLASS_NAME: string;
|
|
307
|
-
_zIndex: number;
|
|
308
|
-
_opts: any;
|
|
309
|
-
setMap(map: any | null): void;
|
|
310
|
-
setzIndex(z: number): void;
|
|
311
|
-
setOpacity(opacity: number): void;
|
|
312
|
-
getOpacity(): number;
|
|
313
|
-
getzIndex(): number;
|
|
314
|
-
getOptions(): any;
|
|
315
|
-
getZooms(): [number, number];
|
|
316
|
-
setZooms(zooms: [number, number]): void;
|
|
317
|
-
getVisible(): boolean;
|
|
318
|
-
show(): void;
|
|
319
|
-
hide(): void;
|
|
320
|
-
destroy(): void;
|
|
321
|
-
on(type: AMap.EventType | AMap.EventType[], fn: (e: any) => void, context?: any, once?: boolean | undefined): any;
|
|
322
|
-
off(type: AMap.EventType, fn: (e: any) => void, context?: any): any;
|
|
323
|
-
hasEvents(type: AMap.EventType, fn: (e: any) => void, context?: any): boolean;
|
|
324
|
-
clearEvents(type: AMap.EventType): any;
|
|
325
|
-
emit(type: AMap.EventType, data?: any): any;
|
|
326
|
-
getEvents(): Record<string, any[]>;
|
|
327
|
-
}[];
|
|
328
|
-
getLayersDangerous(): {
|
|
329
|
-
CLASS_NAME: string;
|
|
330
|
-
_zIndex: number;
|
|
331
|
-
_opts: any;
|
|
332
|
-
setMap(map: any | null): void;
|
|
333
|
-
setzIndex(z: number): void;
|
|
334
|
-
setOpacity(opacity: number): void;
|
|
335
|
-
getOpacity(): number;
|
|
336
|
-
getzIndex(): number;
|
|
337
|
-
getOptions(): any;
|
|
703
|
+
}[];
|
|
704
|
+
getStatus(): {
|
|
705
|
+
dragEnable: boolean;
|
|
706
|
+
zoomEnable: boolean;
|
|
707
|
+
doubleClickZoom: boolean;
|
|
708
|
+
keyboardEnable: boolean;
|
|
709
|
+
jogEnable: boolean;
|
|
710
|
+
scrollWheel: boolean;
|
|
711
|
+
zoomSpeed: number;
|
|
712
|
+
animateEnable: boolean;
|
|
713
|
+
touchZoomCenter: number;
|
|
714
|
+
touchZoom: boolean;
|
|
715
|
+
pitchEnable: boolean;
|
|
716
|
+
rotateEnable: boolean;
|
|
717
|
+
showBuildingBlock: boolean | undefined;
|
|
718
|
+
isHotspot: boolean;
|
|
719
|
+
mapstyleUrl: string;
|
|
720
|
+
features: string | string[] | undefined;
|
|
721
|
+
allBubble: boolean;
|
|
722
|
+
pickWhenMoving: boolean;
|
|
723
|
+
};
|
|
724
|
+
setStatus(status: any): void;
|
|
725
|
+
getOutseaState(): boolean;
|
|
726
|
+
getOutseaDataType(): string;
|
|
727
|
+
getMapboxStyle(): any;
|
|
728
|
+
_setStyleByPlat(style: any): void;
|
|
729
|
+
getDefaultCursor(): string;
|
|
730
|
+
setDefaultCursor(cursor: string): void;
|
|
731
|
+
getLimitBounds(): AMap.Bounds | undefined;
|
|
732
|
+
setLimitBounds(bounds: AMap.Bounds | number[]): void;
|
|
733
|
+
clearLimitBounds(): void;
|
|
338
734
|
getZooms(): [number, number];
|
|
339
735
|
setZooms(zooms: [number, number]): void;
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
736
|
+
getSkyColor(optimalZoom: number): number[];
|
|
737
|
+
getatmosColor(optimalZoom: number): number[];
|
|
738
|
+
getStamp(): number;
|
|
739
|
+
getStyleByIdForUser(id: any, zoom: number): any;
|
|
740
|
+
getTileZoom(z: number): any;
|
|
741
|
+
getCustomTypeByPos(pos: any): any;
|
|
742
|
+
getLabelRejectMask(): boolean;
|
|
743
|
+
setHighlight(mainKey: number, subKey: number[]): void;
|
|
744
|
+
start(): void;
|
|
745
|
+
stop(): void;
|
|
344
746
|
on(type: AMap.EventType | AMap.EventType[], fn: (e: any) => void, context?: any, once?: boolean | undefined): any;
|
|
345
747
|
off(type: AMap.EventType, fn: (e: any) => void, context?: any): any;
|
|
346
748
|
hasEvents(type: AMap.EventType, fn: (e: any) => void, context?: any): boolean;
|
|
347
749
|
clearEvents(type: AMap.EventType): any;
|
|
348
750
|
emit(type: AMap.EventType, data?: any): any;
|
|
349
751
|
getEvents(): Record<string, any[]>;
|
|
350
|
-
}
|
|
351
|
-
getStatus(): {
|
|
352
|
-
dragEnable: boolean;
|
|
353
|
-
zoomEnable: boolean;
|
|
354
|
-
doubleClickZoom: boolean;
|
|
355
|
-
keyboardEnable: boolean;
|
|
356
|
-
jogEnable: boolean;
|
|
357
|
-
scrollWheel: boolean;
|
|
358
|
-
zoomSpeed: number;
|
|
359
|
-
animateEnable: boolean;
|
|
360
|
-
touchZoomCenter: number;
|
|
361
|
-
touchZoom: boolean;
|
|
362
|
-
pitchEnable: boolean;
|
|
363
|
-
rotateEnable: boolean;
|
|
364
|
-
showBuildingBlock: boolean | undefined;
|
|
365
|
-
isHotspot: boolean;
|
|
366
|
-
mapstyleUrl: string;
|
|
367
|
-
features: string | string[] | undefined;
|
|
368
|
-
allBubble: boolean;
|
|
369
|
-
pickWhenMoving: boolean;
|
|
370
|
-
};
|
|
371
|
-
setStatus(status: any): void;
|
|
372
|
-
getOutseaState(): boolean;
|
|
373
|
-
getOutseaDataType(): string;
|
|
374
|
-
getMapboxStyle(): any;
|
|
375
|
-
_setStyleByPlat(style: any): void;
|
|
376
|
-
getDefaultCursor(): string;
|
|
377
|
-
setDefaultCursor(cursor: string): void;
|
|
378
|
-
getLimitBounds(): AMap.Bounds | undefined;
|
|
379
|
-
setLimitBounds(bounds: number[] | AMap.Bounds): void;
|
|
380
|
-
clearLimitBounds(): void;
|
|
381
|
-
getZooms(): [number, number];
|
|
382
|
-
setZooms(zooms: [number, number]): void;
|
|
383
|
-
getSkyColor(optimalZoom: number): number[];
|
|
384
|
-
getatmosColor(optimalZoom: number): number[];
|
|
385
|
-
getStamp(): number;
|
|
386
|
-
getStyleByIdForUser(id: any, zoom: number): any;
|
|
387
|
-
getTileZoom(z: number): any;
|
|
388
|
-
getCustomTypeByPos(pos: any): any;
|
|
389
|
-
getLabelRejectMask(): boolean;
|
|
390
|
-
setHighlight(mainKey: number, subKey: number[]): void;
|
|
391
|
-
start(): void;
|
|
392
|
-
stop(): void;
|
|
393
|
-
on(type: AMap.EventType | AMap.EventType[], fn: (e: any) => void, context?: any, once?: boolean | undefined): any;
|
|
394
|
-
off(type: AMap.EventType, fn: (e: any) => void, context?: any): any;
|
|
395
|
-
hasEvents(type: AMap.EventType, fn: (e: any) => void, context?: any): boolean;
|
|
396
|
-
clearEvents(type: AMap.EventType): any;
|
|
397
|
-
emit(type: AMap.EventType, data?: any): any;
|
|
398
|
-
getEvents(): Record<string, any[]>;
|
|
399
|
-
}> | import("../hooks/useHeycarMap").SetMap<google.maps.Map>;
|
|
400
|
-
registerFitVeiw: import("../types/interface").RegisterOverlay<{
|
|
401
|
-
_needUpdate: boolean;
|
|
402
|
-
readonly CLASS_NAME: "Overlay" | "Overlay.Polygon" | "Overlay.CorePolygon" | "Overlay.CorePolyline" | "Overlay.Rectangle" | "Overlay.Ellipse" | "Overlay.Circle" | "Overlay.CircleMarker" | "Overlay.Polyline" | "Overlay.BezierCurve" | "Overlay.OverlayGroup" | "Overlay.GeoJSON";
|
|
403
|
-
className: "Overlay" | "Overlay.Polygon" | "Overlay.CorePolygon" | "Overlay.CorePolyline" | "Overlay.Rectangle" | "Overlay.Ellipse" | "Overlay.Circle" | "Overlay.CircleMarker" | "Overlay.Polyline" | "Overlay.BezierCurve" | "Overlay.OverlayGroup" | "Overlay.GeoJSON";
|
|
404
|
-
_isMoveing: boolean;
|
|
405
|
-
visible: boolean;
|
|
406
|
-
setMap(map: any | null): void;
|
|
407
|
-
getMap(): any | null;
|
|
752
|
+
} | null;
|
|
408
753
|
contains(...args: any[]): boolean;
|
|
409
754
|
remove(): void;
|
|
410
755
|
hide(): void;
|
|
@@ -450,18 +795,11 @@ export declare const DemoBusinessTaxiService: import("vue").DefineComponent<Read
|
|
|
450
795
|
setPitch(pitch: number, immediately?: boolean | undefined, duration?: number | undefined): void;
|
|
451
796
|
getRotation(): number;
|
|
452
797
|
setRotation(rotation?: number | undefined, immediately?: boolean | undefined, duration?: number | undefined): void;
|
|
453
|
-
setBounds(bounds: number[]
|
|
798
|
+
setBounds(bounds: AMap.Bounds | number[], immediately?: boolean | undefined, avoid?: number[] | undefined): void;
|
|
454
799
|
panTo(lnglat: [number, number] | AMap.LngLat, duration?: number | undefined): void;
|
|
455
800
|
panBy(x: number, y: number, duration?: number | undefined): void;
|
|
456
801
|
getContainer(): HTMLDivElement;
|
|
457
802
|
add(features: {
|
|
458
|
-
on(type: AMap.EventType | AMap.EventType[], fn: (e: any) => void, context?: any, once?: boolean | undefined): any;
|
|
459
|
-
off(type: AMap.EventType, fn: (e: any) => void, context?: any): any;
|
|
460
|
-
hasEvents(type: AMap.EventType, fn: (e: any) => void, context?: any): boolean;
|
|
461
|
-
clearEvents(type: AMap.EventType): any;
|
|
462
|
-
emit(type: AMap.EventType, data?: any): any;
|
|
463
|
-
getEvents(): Record<string, any[]>;
|
|
464
|
-
} | {
|
|
465
803
|
CLASS_NAME: string;
|
|
466
804
|
_zIndex: number;
|
|
467
805
|
_opts: any;
|
|
@@ -483,14 +821,14 @@ export declare const DemoBusinessTaxiService: import("vue").DefineComponent<Read
|
|
|
483
821
|
clearEvents(type: AMap.EventType): any;
|
|
484
822
|
emit(type: AMap.EventType, data?: any): any;
|
|
485
823
|
getEvents(): Record<string, any[]>;
|
|
486
|
-
} |
|
|
824
|
+
} | {
|
|
487
825
|
on(type: AMap.EventType | AMap.EventType[], fn: (e: any) => void, context?: any, once?: boolean | undefined): any;
|
|
488
826
|
off(type: AMap.EventType, fn: (e: any) => void, context?: any): any;
|
|
489
827
|
hasEvents(type: AMap.EventType, fn: (e: any) => void, context?: any): boolean;
|
|
490
828
|
clearEvents(type: AMap.EventType): any;
|
|
491
829
|
emit(type: AMap.EventType, data?: any): any;
|
|
492
830
|
getEvents(): Record<string, any[]>;
|
|
493
|
-
} | {
|
|
831
|
+
} | ({
|
|
494
832
|
CLASS_NAME: string;
|
|
495
833
|
_zIndex: number;
|
|
496
834
|
_opts: any;
|
|
@@ -512,15 +850,15 @@ export declare const DemoBusinessTaxiService: import("vue").DefineComponent<Read
|
|
|
512
850
|
clearEvents(type: AMap.EventType): any;
|
|
513
851
|
emit(type: AMap.EventType, data?: any): any;
|
|
514
852
|
getEvents(): Record<string, any[]>;
|
|
515
|
-
}
|
|
516
|
-
remove(features: {
|
|
853
|
+
} | {
|
|
517
854
|
on(type: AMap.EventType | AMap.EventType[], fn: (e: any) => void, context?: any, once?: boolean | undefined): any;
|
|
518
855
|
off(type: AMap.EventType, fn: (e: any) => void, context?: any): any;
|
|
519
856
|
hasEvents(type: AMap.EventType, fn: (e: any) => void, context?: any): boolean;
|
|
520
857
|
clearEvents(type: AMap.EventType): any;
|
|
521
858
|
emit(type: AMap.EventType, data?: any): any;
|
|
522
859
|
getEvents(): Record<string, any[]>;
|
|
523
|
-
}
|
|
860
|
+
})[]): void;
|
|
861
|
+
remove(features: {
|
|
524
862
|
CLASS_NAME: string;
|
|
525
863
|
_zIndex: number;
|
|
526
864
|
_opts: any;
|
|
@@ -542,14 +880,14 @@ export declare const DemoBusinessTaxiService: import("vue").DefineComponent<Read
|
|
|
542
880
|
clearEvents(type: AMap.EventType): any;
|
|
543
881
|
emit(type: AMap.EventType, data?: any): any;
|
|
544
882
|
getEvents(): Record<string, any[]>;
|
|
545
|
-
} |
|
|
883
|
+
} | {
|
|
546
884
|
on(type: AMap.EventType | AMap.EventType[], fn: (e: any) => void, context?: any, once?: boolean | undefined): any;
|
|
547
885
|
off(type: AMap.EventType, fn: (e: any) => void, context?: any): any;
|
|
548
886
|
hasEvents(type: AMap.EventType, fn: (e: any) => void, context?: any): boolean;
|
|
549
887
|
clearEvents(type: AMap.EventType): any;
|
|
550
888
|
emit(type: AMap.EventType, data?: any): any;
|
|
551
889
|
getEvents(): Record<string, any[]>;
|
|
552
|
-
} | {
|
|
890
|
+
} | ({
|
|
553
891
|
CLASS_NAME: string;
|
|
554
892
|
_zIndex: number;
|
|
555
893
|
_opts: any;
|
|
@@ -571,6 +909,13 @@ export declare const DemoBusinessTaxiService: import("vue").DefineComponent<Read
|
|
|
571
909
|
clearEvents(type: AMap.EventType): any;
|
|
572
910
|
emit(type: AMap.EventType, data?: any): any;
|
|
573
911
|
getEvents(): Record<string, any[]>;
|
|
912
|
+
} | {
|
|
913
|
+
on(type: AMap.EventType | AMap.EventType[], fn: (e: any) => void, context?: any, once?: boolean | undefined): any;
|
|
914
|
+
off(type: AMap.EventType, fn: (e: any) => void, context?: any): any;
|
|
915
|
+
hasEvents(type: AMap.EventType, fn: (e: any) => void, context?: any): boolean;
|
|
916
|
+
clearEvents(type: AMap.EventType): any;
|
|
917
|
+
emit(type: AMap.EventType, data?: any): any;
|
|
918
|
+
getEvents(): Record<string, any[]>;
|
|
574
919
|
})[]): void;
|
|
575
920
|
lngLatToCoords(lnglat: [number, number] | AMap.LngLat): [number, number];
|
|
576
921
|
coordsToLngLat(coords: [number, number]): AMap.LngLat;
|
|
@@ -588,32 +933,7 @@ export declare const DemoBusinessTaxiService: import("vue").DefineComponent<Read
|
|
|
588
933
|
has(vector: any): boolean;
|
|
589
934
|
clear(): void;
|
|
590
935
|
setOptions(opt: any): void;
|
|
591
|
-
query(lnglat: AMap.LngLatLike):
|
|
592
|
-
_needUpdate: boolean;
|
|
593
|
-
readonly CLASS_NAME: "Overlay" | "Overlay.Polygon" | "Overlay.CorePolygon" | "Overlay.CorePolyline" | "Overlay.Rectangle" | "Overlay.Ellipse" | "Overlay.Circle" | "Overlay.CircleMarker" | "Overlay.Polyline" | "Overlay.BezierCurve" | "Overlay.OverlayGroup" | "Overlay.GeoJSON";
|
|
594
|
-
className: "Overlay" | "Overlay.Polygon" | "Overlay.CorePolygon" | "Overlay.CorePolyline" | "Overlay.Rectangle" | "Overlay.Ellipse" | "Overlay.Circle" | "Overlay.CircleMarker" | "Overlay.Polyline" | "Overlay.BezierCurve" | "Overlay.OverlayGroup" | "Overlay.GeoJSON";
|
|
595
|
-
_isMoveing: boolean;
|
|
596
|
-
visible: boolean;
|
|
597
|
-
setMap(map: any | null): void;
|
|
598
|
-
getMap(): any | null;
|
|
599
|
-
contains(...args: any[]): boolean;
|
|
600
|
-
remove(): void;
|
|
601
|
-
hide(): void;
|
|
602
|
-
show(): void;
|
|
603
|
-
setDraggable(draggable: boolean): boolean;
|
|
604
|
-
setOptions(args?: any): void;
|
|
605
|
-
getOptions(): any;
|
|
606
|
-
getExtData(): any;
|
|
607
|
-
setExtData(extData: any): void;
|
|
608
|
-
getCursor(): any;
|
|
609
|
-
emit(type: string, events?: any): any;
|
|
610
|
-
getDraggable(): boolean;
|
|
611
|
-
on(type: AMap.EventType | AMap.EventType[], fn: (e: any) => void, context?: any, once?: boolean | undefined): any;
|
|
612
|
-
off(type: AMap.EventType, fn: (e: any) => void, context?: any): any;
|
|
613
|
-
hasEvents(type: AMap.EventType, fn: (e: any) => void, context?: any): boolean;
|
|
614
|
-
clearEvents(type: AMap.EventType): any;
|
|
615
|
-
getEvents(): Record<string, any[]>;
|
|
616
|
-
} | undefined;
|
|
936
|
+
query(lnglat: AMap.LngLatLike): any | undefined;
|
|
617
937
|
getBounds(): AMap.Bounds | undefined;
|
|
618
938
|
} | {
|
|
619
939
|
on(type: AMap.EventType | AMap.EventType[], fn: (e: any) => void, context?: any, once?: boolean | undefined): any;
|
|
@@ -624,7 +944,7 @@ export declare const DemoBusinessTaxiService: import("vue").DefineComponent<Read
|
|
|
624
944
|
getEvents(): Record<string, any[]>;
|
|
625
945
|
}[] | undefined, immediately?: boolean | undefined, avoid?: number[] | undefined, maxZoom?: number | undefined): AMap.Bounds | undefined;
|
|
626
946
|
getFitZoomAndCenterByOverlays(overlayList: any[], avoid?: number[] | undefined, maxZoom?: number | undefined): any[] | undefined;
|
|
627
|
-
getFitZoomAndCenterByBounds(bounds: number[]
|
|
947
|
+
getFitZoomAndCenterByBounds(bounds: AMap.Bounds | number[], avoid?: number[] | undefined, maxZoom?: number | undefined): any[];
|
|
628
948
|
addControl(control: AMap.Control): void;
|
|
629
949
|
removeControl(control: AMap.Control): void;
|
|
630
950
|
setMapStyle(value: string): void;
|
|
@@ -803,7 +1123,7 @@ export declare const DemoBusinessTaxiService: import("vue").DefineComponent<Read
|
|
|
803
1123
|
getDefaultCursor(): string;
|
|
804
1124
|
setDefaultCursor(cursor: string): void;
|
|
805
1125
|
getLimitBounds(): AMap.Bounds | undefined;
|
|
806
|
-
setLimitBounds(bounds: number[]
|
|
1126
|
+
setLimitBounds(bounds: AMap.Bounds | number[]): void;
|
|
807
1127
|
clearLimitBounds(): void;
|
|
808
1128
|
getZooms(): [number, number];
|
|
809
1129
|
setZooms(zooms: [number, number]): void;
|
|
@@ -846,18 +1166,11 @@ export declare const DemoBusinessTaxiService: import("vue").DefineComponent<Read
|
|
|
846
1166
|
setPitch(pitch: number, immediately?: boolean | undefined, duration?: number | undefined): void;
|
|
847
1167
|
getRotation(): number;
|
|
848
1168
|
setRotation(rotation?: number | undefined, immediately?: boolean | undefined, duration?: number | undefined): void;
|
|
849
|
-
setBounds(bounds: number[]
|
|
1169
|
+
setBounds(bounds: AMap.Bounds | number[], immediately?: boolean | undefined, avoid?: number[] | undefined): void;
|
|
850
1170
|
panTo(lnglat: [number, number] | AMap.LngLat, duration?: number | undefined): void;
|
|
851
1171
|
panBy(x: number, y: number, duration?: number | undefined): void;
|
|
852
1172
|
getContainer(): HTMLDivElement;
|
|
853
1173
|
add(features: {
|
|
854
|
-
on(type: AMap.EventType | AMap.EventType[], fn: (e: any) => void, context?: any, once?: boolean | undefined): any;
|
|
855
|
-
off(type: AMap.EventType, fn: (e: any) => void, context?: any): any;
|
|
856
|
-
hasEvents(type: AMap.EventType, fn: (e: any) => void, context?: any): boolean;
|
|
857
|
-
clearEvents(type: AMap.EventType): any;
|
|
858
|
-
emit(type: AMap.EventType, data?: any): any;
|
|
859
|
-
getEvents(): Record<string, any[]>;
|
|
860
|
-
} | {
|
|
861
1174
|
CLASS_NAME: string;
|
|
862
1175
|
_zIndex: number;
|
|
863
1176
|
_opts: any;
|
|
@@ -879,14 +1192,14 @@ export declare const DemoBusinessTaxiService: import("vue").DefineComponent<Read
|
|
|
879
1192
|
clearEvents(type: AMap.EventType): any;
|
|
880
1193
|
emit(type: AMap.EventType, data?: any): any;
|
|
881
1194
|
getEvents(): Record<string, any[]>;
|
|
882
|
-
} |
|
|
1195
|
+
} | {
|
|
883
1196
|
on(type: AMap.EventType | AMap.EventType[], fn: (e: any) => void, context?: any, once?: boolean | undefined): any;
|
|
884
1197
|
off(type: AMap.EventType, fn: (e: any) => void, context?: any): any;
|
|
885
1198
|
hasEvents(type: AMap.EventType, fn: (e: any) => void, context?: any): boolean;
|
|
886
1199
|
clearEvents(type: AMap.EventType): any;
|
|
887
1200
|
emit(type: AMap.EventType, data?: any): any;
|
|
888
1201
|
getEvents(): Record<string, any[]>;
|
|
889
|
-
} | {
|
|
1202
|
+
} | ({
|
|
890
1203
|
CLASS_NAME: string;
|
|
891
1204
|
_zIndex: number;
|
|
892
1205
|
_opts: any;
|
|
@@ -908,15 +1221,15 @@ export declare const DemoBusinessTaxiService: import("vue").DefineComponent<Read
|
|
|
908
1221
|
clearEvents(type: AMap.EventType): any;
|
|
909
1222
|
emit(type: AMap.EventType, data?: any): any;
|
|
910
1223
|
getEvents(): Record<string, any[]>;
|
|
911
|
-
}
|
|
912
|
-
remove(features: {
|
|
1224
|
+
} | {
|
|
913
1225
|
on(type: AMap.EventType | AMap.EventType[], fn: (e: any) => void, context?: any, once?: boolean | undefined): any;
|
|
914
1226
|
off(type: AMap.EventType, fn: (e: any) => void, context?: any): any;
|
|
915
1227
|
hasEvents(type: AMap.EventType, fn: (e: any) => void, context?: any): boolean;
|
|
916
1228
|
clearEvents(type: AMap.EventType): any;
|
|
917
1229
|
emit(type: AMap.EventType, data?: any): any;
|
|
918
1230
|
getEvents(): Record<string, any[]>;
|
|
919
|
-
}
|
|
1231
|
+
})[]): void;
|
|
1232
|
+
remove(features: {
|
|
920
1233
|
CLASS_NAME: string;
|
|
921
1234
|
_zIndex: number;
|
|
922
1235
|
_opts: any;
|
|
@@ -938,14 +1251,14 @@ export declare const DemoBusinessTaxiService: import("vue").DefineComponent<Read
|
|
|
938
1251
|
clearEvents(type: AMap.EventType): any;
|
|
939
1252
|
emit(type: AMap.EventType, data?: any): any;
|
|
940
1253
|
getEvents(): Record<string, any[]>;
|
|
941
|
-
} |
|
|
1254
|
+
} | {
|
|
942
1255
|
on(type: AMap.EventType | AMap.EventType[], fn: (e: any) => void, context?: any, once?: boolean | undefined): any;
|
|
943
1256
|
off(type: AMap.EventType, fn: (e: any) => void, context?: any): any;
|
|
944
1257
|
hasEvents(type: AMap.EventType, fn: (e: any) => void, context?: any): boolean;
|
|
945
1258
|
clearEvents(type: AMap.EventType): any;
|
|
946
1259
|
emit(type: AMap.EventType, data?: any): any;
|
|
947
1260
|
getEvents(): Record<string, any[]>;
|
|
948
|
-
} | {
|
|
1261
|
+
} | ({
|
|
949
1262
|
CLASS_NAME: string;
|
|
950
1263
|
_zIndex: number;
|
|
951
1264
|
_opts: any;
|
|
@@ -967,6 +1280,13 @@ export declare const DemoBusinessTaxiService: import("vue").DefineComponent<Read
|
|
|
967
1280
|
clearEvents(type: AMap.EventType): any;
|
|
968
1281
|
emit(type: AMap.EventType, data?: any): any;
|
|
969
1282
|
getEvents(): Record<string, any[]>;
|
|
1283
|
+
} | {
|
|
1284
|
+
on(type: AMap.EventType | AMap.EventType[], fn: (e: any) => void, context?: any, once?: boolean | undefined): any;
|
|
1285
|
+
off(type: AMap.EventType, fn: (e: any) => void, context?: any): any;
|
|
1286
|
+
hasEvents(type: AMap.EventType, fn: (e: any) => void, context?: any): boolean;
|
|
1287
|
+
clearEvents(type: AMap.EventType): any;
|
|
1288
|
+
emit(type: AMap.EventType, data?: any): any;
|
|
1289
|
+
getEvents(): Record<string, any[]>;
|
|
970
1290
|
})[]): void;
|
|
971
1291
|
lngLatToCoords(lnglat: [number, number] | AMap.LngLat): [number, number];
|
|
972
1292
|
coordsToLngLat(coords: [number, number]): AMap.LngLat;
|
|
@@ -984,32 +1304,7 @@ export declare const DemoBusinessTaxiService: import("vue").DefineComponent<Read
|
|
|
984
1304
|
has(vector: any): boolean;
|
|
985
1305
|
clear(): void;
|
|
986
1306
|
setOptions(opt: any): void;
|
|
987
|
-
query(lnglat: AMap.LngLatLike):
|
|
988
|
-
_needUpdate: boolean;
|
|
989
|
-
readonly CLASS_NAME: "Overlay" | "Overlay.Polygon" | "Overlay.CorePolygon" | "Overlay.CorePolyline" | "Overlay.Rectangle" | "Overlay.Ellipse" | "Overlay.Circle" | "Overlay.CircleMarker" | "Overlay.Polyline" | "Overlay.BezierCurve" | "Overlay.OverlayGroup" | "Overlay.GeoJSON";
|
|
990
|
-
className: "Overlay" | "Overlay.Polygon" | "Overlay.CorePolygon" | "Overlay.CorePolyline" | "Overlay.Rectangle" | "Overlay.Ellipse" | "Overlay.Circle" | "Overlay.CircleMarker" | "Overlay.Polyline" | "Overlay.BezierCurve" | "Overlay.OverlayGroup" | "Overlay.GeoJSON";
|
|
991
|
-
_isMoveing: boolean;
|
|
992
|
-
visible: boolean;
|
|
993
|
-
setMap(map: any | null): void;
|
|
994
|
-
getMap(): any | null;
|
|
995
|
-
contains(...args: any[]): boolean;
|
|
996
|
-
remove(): void;
|
|
997
|
-
hide(): void;
|
|
998
|
-
show(): void;
|
|
999
|
-
setDraggable(draggable: boolean): boolean;
|
|
1000
|
-
setOptions(args?: any): void;
|
|
1001
|
-
getOptions(): any;
|
|
1002
|
-
getExtData(): any;
|
|
1003
|
-
setExtData(extData: any): void;
|
|
1004
|
-
getCursor(): any;
|
|
1005
|
-
emit(type: string, events?: any): any;
|
|
1006
|
-
getDraggable(): boolean;
|
|
1007
|
-
on(type: AMap.EventType | AMap.EventType[], fn: (e: any) => void, context?: any, once?: boolean | undefined): any;
|
|
1008
|
-
off(type: AMap.EventType, fn: (e: any) => void, context?: any): any;
|
|
1009
|
-
hasEvents(type: AMap.EventType, fn: (e: any) => void, context?: any): boolean;
|
|
1010
|
-
clearEvents(type: AMap.EventType): any;
|
|
1011
|
-
getEvents(): Record<string, any[]>;
|
|
1012
|
-
} | undefined;
|
|
1307
|
+
query(lnglat: AMap.LngLatLike): any | undefined;
|
|
1013
1308
|
getBounds(): AMap.Bounds | undefined;
|
|
1014
1309
|
} | {
|
|
1015
1310
|
on(type: AMap.EventType | AMap.EventType[], fn: (e: any) => void, context?: any, once?: boolean | undefined): any;
|
|
@@ -1020,7 +1315,7 @@ export declare const DemoBusinessTaxiService: import("vue").DefineComponent<Read
|
|
|
1020
1315
|
getEvents(): Record<string, any[]>;
|
|
1021
1316
|
}[] | undefined, immediately?: boolean | undefined, avoid?: number[] | undefined, maxZoom?: number | undefined): AMap.Bounds | undefined;
|
|
1022
1317
|
getFitZoomAndCenterByOverlays(overlayList: any[], avoid?: number[] | undefined, maxZoom?: number | undefined): any[] | undefined;
|
|
1023
|
-
getFitZoomAndCenterByBounds(bounds: number[]
|
|
1318
|
+
getFitZoomAndCenterByBounds(bounds: AMap.Bounds | number[], avoid?: number[] | undefined, maxZoom?: number | undefined): any[];
|
|
1024
1319
|
addControl(control: AMap.Control): void;
|
|
1025
1320
|
removeControl(control: AMap.Control): void;
|
|
1026
1321
|
setMapStyle(value: string): void;
|
|
@@ -1199,7 +1494,7 @@ export declare const DemoBusinessTaxiService: import("vue").DefineComponent<Read
|
|
|
1199
1494
|
getDefaultCursor(): string;
|
|
1200
1495
|
setDefaultCursor(cursor: string): void;
|
|
1201
1496
|
getLimitBounds(): AMap.Bounds | undefined;
|
|
1202
|
-
setLimitBounds(bounds: number[]
|
|
1497
|
+
setLimitBounds(bounds: AMap.Bounds | number[]): void;
|
|
1203
1498
|
clearLimitBounds(): void;
|
|
1204
1499
|
getZooms(): [number, number];
|
|
1205
1500
|
setZooms(zooms: [number, number]): void;
|
|
@@ -1242,18 +1537,11 @@ export declare const DemoBusinessTaxiService: import("vue").DefineComponent<Read
|
|
|
1242
1537
|
setPitch(pitch: number, immediately?: boolean | undefined, duration?: number | undefined): void;
|
|
1243
1538
|
getRotation(): number;
|
|
1244
1539
|
setRotation(rotation?: number | undefined, immediately?: boolean | undefined, duration?: number | undefined): void;
|
|
1245
|
-
setBounds(bounds: number[]
|
|
1540
|
+
setBounds(bounds: AMap.Bounds | number[], immediately?: boolean | undefined, avoid?: number[] | undefined): void;
|
|
1246
1541
|
panTo(lnglat: [number, number] | AMap.LngLat, duration?: number | undefined): void;
|
|
1247
1542
|
panBy(x: number, y: number, duration?: number | undefined): void;
|
|
1248
1543
|
getContainer(): HTMLDivElement;
|
|
1249
1544
|
add(features: {
|
|
1250
|
-
on(type: AMap.EventType | AMap.EventType[], fn: (e: any) => void, context?: any, once?: boolean | undefined): any;
|
|
1251
|
-
off(type: AMap.EventType, fn: (e: any) => void, context?: any): any;
|
|
1252
|
-
hasEvents(type: AMap.EventType, fn: (e: any) => void, context?: any): boolean;
|
|
1253
|
-
clearEvents(type: AMap.EventType): any;
|
|
1254
|
-
emit(type: AMap.EventType, data?: any): any;
|
|
1255
|
-
getEvents(): Record<string, any[]>;
|
|
1256
|
-
} | {
|
|
1257
1545
|
CLASS_NAME: string;
|
|
1258
1546
|
_zIndex: number;
|
|
1259
1547
|
_opts: any;
|
|
@@ -1275,14 +1563,14 @@ export declare const DemoBusinessTaxiService: import("vue").DefineComponent<Read
|
|
|
1275
1563
|
clearEvents(type: AMap.EventType): any;
|
|
1276
1564
|
emit(type: AMap.EventType, data?: any): any;
|
|
1277
1565
|
getEvents(): Record<string, any[]>;
|
|
1278
|
-
} |
|
|
1566
|
+
} | {
|
|
1279
1567
|
on(type: AMap.EventType | AMap.EventType[], fn: (e: any) => void, context?: any, once?: boolean | undefined): any;
|
|
1280
1568
|
off(type: AMap.EventType, fn: (e: any) => void, context?: any): any;
|
|
1281
1569
|
hasEvents(type: AMap.EventType, fn: (e: any) => void, context?: any): boolean;
|
|
1282
1570
|
clearEvents(type: AMap.EventType): any;
|
|
1283
1571
|
emit(type: AMap.EventType, data?: any): any;
|
|
1284
1572
|
getEvents(): Record<string, any[]>;
|
|
1285
|
-
} | {
|
|
1573
|
+
} | ({
|
|
1286
1574
|
CLASS_NAME: string;
|
|
1287
1575
|
_zIndex: number;
|
|
1288
1576
|
_opts: any;
|
|
@@ -1304,15 +1592,15 @@ export declare const DemoBusinessTaxiService: import("vue").DefineComponent<Read
|
|
|
1304
1592
|
clearEvents(type: AMap.EventType): any;
|
|
1305
1593
|
emit(type: AMap.EventType, data?: any): any;
|
|
1306
1594
|
getEvents(): Record<string, any[]>;
|
|
1307
|
-
}
|
|
1308
|
-
remove(features: {
|
|
1595
|
+
} | {
|
|
1309
1596
|
on(type: AMap.EventType | AMap.EventType[], fn: (e: any) => void, context?: any, once?: boolean | undefined): any;
|
|
1310
1597
|
off(type: AMap.EventType, fn: (e: any) => void, context?: any): any;
|
|
1311
1598
|
hasEvents(type: AMap.EventType, fn: (e: any) => void, context?: any): boolean;
|
|
1312
1599
|
clearEvents(type: AMap.EventType): any;
|
|
1313
1600
|
emit(type: AMap.EventType, data?: any): any;
|
|
1314
1601
|
getEvents(): Record<string, any[]>;
|
|
1315
|
-
}
|
|
1602
|
+
})[]): void;
|
|
1603
|
+
remove(features: {
|
|
1316
1604
|
CLASS_NAME: string;
|
|
1317
1605
|
_zIndex: number;
|
|
1318
1606
|
_opts: any;
|
|
@@ -1334,14 +1622,14 @@ export declare const DemoBusinessTaxiService: import("vue").DefineComponent<Read
|
|
|
1334
1622
|
clearEvents(type: AMap.EventType): any;
|
|
1335
1623
|
emit(type: AMap.EventType, data?: any): any;
|
|
1336
1624
|
getEvents(): Record<string, any[]>;
|
|
1337
|
-
} |
|
|
1625
|
+
} | {
|
|
1338
1626
|
on(type: AMap.EventType | AMap.EventType[], fn: (e: any) => void, context?: any, once?: boolean | undefined): any;
|
|
1339
1627
|
off(type: AMap.EventType, fn: (e: any) => void, context?: any): any;
|
|
1340
1628
|
hasEvents(type: AMap.EventType, fn: (e: any) => void, context?: any): boolean;
|
|
1341
1629
|
clearEvents(type: AMap.EventType): any;
|
|
1342
1630
|
emit(type: AMap.EventType, data?: any): any;
|
|
1343
1631
|
getEvents(): Record<string, any[]>;
|
|
1344
|
-
} | {
|
|
1632
|
+
} | ({
|
|
1345
1633
|
CLASS_NAME: string;
|
|
1346
1634
|
_zIndex: number;
|
|
1347
1635
|
_opts: any;
|
|
@@ -1363,6 +1651,13 @@ export declare const DemoBusinessTaxiService: import("vue").DefineComponent<Read
|
|
|
1363
1651
|
clearEvents(type: AMap.EventType): any;
|
|
1364
1652
|
emit(type: AMap.EventType, data?: any): any;
|
|
1365
1653
|
getEvents(): Record<string, any[]>;
|
|
1654
|
+
} | {
|
|
1655
|
+
on(type: AMap.EventType | AMap.EventType[], fn: (e: any) => void, context?: any, once?: boolean | undefined): any;
|
|
1656
|
+
off(type: AMap.EventType, fn: (e: any) => void, context?: any): any;
|
|
1657
|
+
hasEvents(type: AMap.EventType, fn: (e: any) => void, context?: any): boolean;
|
|
1658
|
+
clearEvents(type: AMap.EventType): any;
|
|
1659
|
+
emit(type: AMap.EventType, data?: any): any;
|
|
1660
|
+
getEvents(): Record<string, any[]>;
|
|
1366
1661
|
})[]): void;
|
|
1367
1662
|
lngLatToCoords(lnglat: [number, number] | AMap.LngLat): [number, number];
|
|
1368
1663
|
coordsToLngLat(coords: [number, number]): AMap.LngLat;
|
|
@@ -1380,32 +1675,7 @@ export declare const DemoBusinessTaxiService: import("vue").DefineComponent<Read
|
|
|
1380
1675
|
has(vector: any): boolean;
|
|
1381
1676
|
clear(): void;
|
|
1382
1677
|
setOptions(opt: any): void;
|
|
1383
|
-
query(lnglat: AMap.LngLatLike):
|
|
1384
|
-
_needUpdate: boolean;
|
|
1385
|
-
readonly CLASS_NAME: "Overlay" | "Overlay.Polygon" | "Overlay.CorePolygon" | "Overlay.CorePolyline" | "Overlay.Rectangle" | "Overlay.Ellipse" | "Overlay.Circle" | "Overlay.CircleMarker" | "Overlay.Polyline" | "Overlay.BezierCurve" | "Overlay.OverlayGroup" | "Overlay.GeoJSON";
|
|
1386
|
-
className: "Overlay" | "Overlay.Polygon" | "Overlay.CorePolygon" | "Overlay.CorePolyline" | "Overlay.Rectangle" | "Overlay.Ellipse" | "Overlay.Circle" | "Overlay.CircleMarker" | "Overlay.Polyline" | "Overlay.BezierCurve" | "Overlay.OverlayGroup" | "Overlay.GeoJSON";
|
|
1387
|
-
_isMoveing: boolean;
|
|
1388
|
-
visible: boolean;
|
|
1389
|
-
setMap(map: any | null): void;
|
|
1390
|
-
getMap(): any | null;
|
|
1391
|
-
contains(...args: any[]): boolean;
|
|
1392
|
-
remove(): void;
|
|
1393
|
-
hide(): void;
|
|
1394
|
-
show(): void;
|
|
1395
|
-
setDraggable(draggable: boolean): boolean;
|
|
1396
|
-
setOptions(args?: any): void;
|
|
1397
|
-
getOptions(): any;
|
|
1398
|
-
getExtData(): any;
|
|
1399
|
-
setExtData(extData: any): void;
|
|
1400
|
-
getCursor(): any;
|
|
1401
|
-
emit(type: string, events?: any): any;
|
|
1402
|
-
getDraggable(): boolean;
|
|
1403
|
-
on(type: AMap.EventType | AMap.EventType[], fn: (e: any) => void, context?: any, once?: boolean | undefined): any;
|
|
1404
|
-
off(type: AMap.EventType, fn: (e: any) => void, context?: any): any;
|
|
1405
|
-
hasEvents(type: AMap.EventType, fn: (e: any) => void, context?: any): boolean;
|
|
1406
|
-
clearEvents(type: AMap.EventType): any;
|
|
1407
|
-
getEvents(): Record<string, any[]>;
|
|
1408
|
-
} | undefined;
|
|
1678
|
+
query(lnglat: AMap.LngLatLike): any | undefined;
|
|
1409
1679
|
getBounds(): AMap.Bounds | undefined;
|
|
1410
1680
|
} | {
|
|
1411
1681
|
on(type: AMap.EventType | AMap.EventType[], fn: (e: any) => void, context?: any, once?: boolean | undefined): any;
|
|
@@ -1416,7 +1686,7 @@ export declare const DemoBusinessTaxiService: import("vue").DefineComponent<Read
|
|
|
1416
1686
|
getEvents(): Record<string, any[]>;
|
|
1417
1687
|
}[] | undefined, immediately?: boolean | undefined, avoid?: number[] | undefined, maxZoom?: number | undefined): AMap.Bounds | undefined;
|
|
1418
1688
|
getFitZoomAndCenterByOverlays(overlayList: any[], avoid?: number[] | undefined, maxZoom?: number | undefined): any[] | undefined;
|
|
1419
|
-
getFitZoomAndCenterByBounds(bounds: number[]
|
|
1689
|
+
getFitZoomAndCenterByBounds(bounds: AMap.Bounds | number[], avoid?: number[] | undefined, maxZoom?: number | undefined): any[];
|
|
1420
1690
|
addControl(control: AMap.Control): void;
|
|
1421
1691
|
removeControl(control: AMap.Control): void;
|
|
1422
1692
|
setMapStyle(value: string): void;
|
|
@@ -1595,7 +1865,7 @@ export declare const DemoBusinessTaxiService: import("vue").DefineComponent<Read
|
|
|
1595
1865
|
getDefaultCursor(): string;
|
|
1596
1866
|
setDefaultCursor(cursor: string): void;
|
|
1597
1867
|
getLimitBounds(): AMap.Bounds | undefined;
|
|
1598
|
-
setLimitBounds(bounds: number[]
|
|
1868
|
+
setLimitBounds(bounds: AMap.Bounds | number[]): void;
|
|
1599
1869
|
clearLimitBounds(): void;
|
|
1600
1870
|
getZooms(): [number, number];
|
|
1601
1871
|
setZooms(zooms: [number, number]): void;
|
|
@@ -1638,18 +1908,11 @@ export declare const DemoBusinessTaxiService: import("vue").DefineComponent<Read
|
|
|
1638
1908
|
setPitch(pitch: number, immediately?: boolean | undefined, duration?: number | undefined): void;
|
|
1639
1909
|
getRotation(): number;
|
|
1640
1910
|
setRotation(rotation?: number | undefined, immediately?: boolean | undefined, duration?: number | undefined): void;
|
|
1641
|
-
setBounds(bounds: number[]
|
|
1911
|
+
setBounds(bounds: AMap.Bounds | number[], immediately?: boolean | undefined, avoid?: number[] | undefined): void;
|
|
1642
1912
|
panTo(lnglat: [number, number] | AMap.LngLat, duration?: number | undefined): void;
|
|
1643
1913
|
panBy(x: number, y: number, duration?: number | undefined): void;
|
|
1644
1914
|
getContainer(): HTMLDivElement;
|
|
1645
1915
|
add(features: {
|
|
1646
|
-
on(type: AMap.EventType | AMap.EventType[], fn: (e: any) => void, context?: any, once?: boolean | undefined): any;
|
|
1647
|
-
off(type: AMap.EventType, fn: (e: any) => void, context?: any): any;
|
|
1648
|
-
hasEvents(type: AMap.EventType, fn: (e: any) => void, context?: any): boolean;
|
|
1649
|
-
clearEvents(type: AMap.EventType): any;
|
|
1650
|
-
emit(type: AMap.EventType, data?: any): any;
|
|
1651
|
-
getEvents(): Record<string, any[]>;
|
|
1652
|
-
} | {
|
|
1653
1916
|
CLASS_NAME: string;
|
|
1654
1917
|
_zIndex: number;
|
|
1655
1918
|
_opts: any;
|
|
@@ -1671,14 +1934,14 @@ export declare const DemoBusinessTaxiService: import("vue").DefineComponent<Read
|
|
|
1671
1934
|
clearEvents(type: AMap.EventType): any;
|
|
1672
1935
|
emit(type: AMap.EventType, data?: any): any;
|
|
1673
1936
|
getEvents(): Record<string, any[]>;
|
|
1674
|
-
} |
|
|
1937
|
+
} | {
|
|
1675
1938
|
on(type: AMap.EventType | AMap.EventType[], fn: (e: any) => void, context?: any, once?: boolean | undefined): any;
|
|
1676
1939
|
off(type: AMap.EventType, fn: (e: any) => void, context?: any): any;
|
|
1677
1940
|
hasEvents(type: AMap.EventType, fn: (e: any) => void, context?: any): boolean;
|
|
1678
1941
|
clearEvents(type: AMap.EventType): any;
|
|
1679
1942
|
emit(type: AMap.EventType, data?: any): any;
|
|
1680
1943
|
getEvents(): Record<string, any[]>;
|
|
1681
|
-
} | {
|
|
1944
|
+
} | ({
|
|
1682
1945
|
CLASS_NAME: string;
|
|
1683
1946
|
_zIndex: number;
|
|
1684
1947
|
_opts: any;
|
|
@@ -1700,15 +1963,15 @@ export declare const DemoBusinessTaxiService: import("vue").DefineComponent<Read
|
|
|
1700
1963
|
clearEvents(type: AMap.EventType): any;
|
|
1701
1964
|
emit(type: AMap.EventType, data?: any): any;
|
|
1702
1965
|
getEvents(): Record<string, any[]>;
|
|
1703
|
-
}
|
|
1704
|
-
remove(features: {
|
|
1966
|
+
} | {
|
|
1705
1967
|
on(type: AMap.EventType | AMap.EventType[], fn: (e: any) => void, context?: any, once?: boolean | undefined): any;
|
|
1706
1968
|
off(type: AMap.EventType, fn: (e: any) => void, context?: any): any;
|
|
1707
1969
|
hasEvents(type: AMap.EventType, fn: (e: any) => void, context?: any): boolean;
|
|
1708
1970
|
clearEvents(type: AMap.EventType): any;
|
|
1709
1971
|
emit(type: AMap.EventType, data?: any): any;
|
|
1710
1972
|
getEvents(): Record<string, any[]>;
|
|
1711
|
-
}
|
|
1973
|
+
})[]): void;
|
|
1974
|
+
remove(features: {
|
|
1712
1975
|
CLASS_NAME: string;
|
|
1713
1976
|
_zIndex: number;
|
|
1714
1977
|
_opts: any;
|
|
@@ -1730,14 +1993,14 @@ export declare const DemoBusinessTaxiService: import("vue").DefineComponent<Read
|
|
|
1730
1993
|
clearEvents(type: AMap.EventType): any;
|
|
1731
1994
|
emit(type: AMap.EventType, data?: any): any;
|
|
1732
1995
|
getEvents(): Record<string, any[]>;
|
|
1733
|
-
} |
|
|
1996
|
+
} | {
|
|
1734
1997
|
on(type: AMap.EventType | AMap.EventType[], fn: (e: any) => void, context?: any, once?: boolean | undefined): any;
|
|
1735
1998
|
off(type: AMap.EventType, fn: (e: any) => void, context?: any): any;
|
|
1736
1999
|
hasEvents(type: AMap.EventType, fn: (e: any) => void, context?: any): boolean;
|
|
1737
2000
|
clearEvents(type: AMap.EventType): any;
|
|
1738
2001
|
emit(type: AMap.EventType, data?: any): any;
|
|
1739
2002
|
getEvents(): Record<string, any[]>;
|
|
1740
|
-
} | {
|
|
2003
|
+
} | ({
|
|
1741
2004
|
CLASS_NAME: string;
|
|
1742
2005
|
_zIndex: number;
|
|
1743
2006
|
_opts: any;
|
|
@@ -1759,6 +2022,13 @@ export declare const DemoBusinessTaxiService: import("vue").DefineComponent<Read
|
|
|
1759
2022
|
clearEvents(type: AMap.EventType): any;
|
|
1760
2023
|
emit(type: AMap.EventType, data?: any): any;
|
|
1761
2024
|
getEvents(): Record<string, any[]>;
|
|
2025
|
+
} | {
|
|
2026
|
+
on(type: AMap.EventType | AMap.EventType[], fn: (e: any) => void, context?: any, once?: boolean | undefined): any;
|
|
2027
|
+
off(type: AMap.EventType, fn: (e: any) => void, context?: any): any;
|
|
2028
|
+
hasEvents(type: AMap.EventType, fn: (e: any) => void, context?: any): boolean;
|
|
2029
|
+
clearEvents(type: AMap.EventType): any;
|
|
2030
|
+
emit(type: AMap.EventType, data?: any): any;
|
|
2031
|
+
getEvents(): Record<string, any[]>;
|
|
1762
2032
|
})[]): void;
|
|
1763
2033
|
lngLatToCoords(lnglat: [number, number] | AMap.LngLat): [number, number];
|
|
1764
2034
|
coordsToLngLat(coords: [number, number]): AMap.LngLat;
|
|
@@ -1776,32 +2046,7 @@ export declare const DemoBusinessTaxiService: import("vue").DefineComponent<Read
|
|
|
1776
2046
|
has(vector: any): boolean;
|
|
1777
2047
|
clear(): void;
|
|
1778
2048
|
setOptions(opt: any): void;
|
|
1779
|
-
query(lnglat: AMap.LngLatLike):
|
|
1780
|
-
_needUpdate: boolean;
|
|
1781
|
-
readonly CLASS_NAME: "Overlay" | "Overlay.Polygon" | "Overlay.CorePolygon" | "Overlay.CorePolyline" | "Overlay.Rectangle" | "Overlay.Ellipse" | "Overlay.Circle" | "Overlay.CircleMarker" | "Overlay.Polyline" | "Overlay.BezierCurve" | "Overlay.OverlayGroup" | "Overlay.GeoJSON";
|
|
1782
|
-
className: "Overlay" | "Overlay.Polygon" | "Overlay.CorePolygon" | "Overlay.CorePolyline" | "Overlay.Rectangle" | "Overlay.Ellipse" | "Overlay.Circle" | "Overlay.CircleMarker" | "Overlay.Polyline" | "Overlay.BezierCurve" | "Overlay.OverlayGroup" | "Overlay.GeoJSON";
|
|
1783
|
-
_isMoveing: boolean;
|
|
1784
|
-
visible: boolean;
|
|
1785
|
-
setMap(map: any | null): void;
|
|
1786
|
-
getMap(): any | null;
|
|
1787
|
-
contains(...args: any[]): boolean;
|
|
1788
|
-
remove(): void;
|
|
1789
|
-
hide(): void;
|
|
1790
|
-
show(): void;
|
|
1791
|
-
setDraggable(draggable: boolean): boolean;
|
|
1792
|
-
setOptions(args?: any): void;
|
|
1793
|
-
getOptions(): any;
|
|
1794
|
-
getExtData(): any;
|
|
1795
|
-
setExtData(extData: any): void;
|
|
1796
|
-
getCursor(): any;
|
|
1797
|
-
emit(type: string, events?: any): any;
|
|
1798
|
-
getDraggable(): boolean;
|
|
1799
|
-
on(type: AMap.EventType | AMap.EventType[], fn: (e: any) => void, context?: any, once?: boolean | undefined): any;
|
|
1800
|
-
off(type: AMap.EventType, fn: (e: any) => void, context?: any): any;
|
|
1801
|
-
hasEvents(type: AMap.EventType, fn: (e: any) => void, context?: any): boolean;
|
|
1802
|
-
clearEvents(type: AMap.EventType): any;
|
|
1803
|
-
getEvents(): Record<string, any[]>;
|
|
1804
|
-
} | undefined;
|
|
2049
|
+
query(lnglat: AMap.LngLatLike): any | undefined;
|
|
1805
2050
|
getBounds(): AMap.Bounds | undefined;
|
|
1806
2051
|
} | {
|
|
1807
2052
|
on(type: AMap.EventType | AMap.EventType[], fn: (e: any) => void, context?: any, once?: boolean | undefined): any;
|
|
@@ -1812,7 +2057,7 @@ export declare const DemoBusinessTaxiService: import("vue").DefineComponent<Read
|
|
|
1812
2057
|
getEvents(): Record<string, any[]>;
|
|
1813
2058
|
}[] | undefined, immediately?: boolean | undefined, avoid?: number[] | undefined, maxZoom?: number | undefined): AMap.Bounds | undefined;
|
|
1814
2059
|
getFitZoomAndCenterByOverlays(overlayList: any[], avoid?: number[] | undefined, maxZoom?: number | undefined): any[] | undefined;
|
|
1815
|
-
getFitZoomAndCenterByBounds(bounds: number[]
|
|
2060
|
+
getFitZoomAndCenterByBounds(bounds: AMap.Bounds | number[], avoid?: number[] | undefined, maxZoom?: number | undefined): any[];
|
|
1816
2061
|
addControl(control: AMap.Control): void;
|
|
1817
2062
|
removeControl(control: AMap.Control): void;
|
|
1818
2063
|
setMapStyle(value: string): void;
|
|
@@ -1991,7 +2236,7 @@ export declare const DemoBusinessTaxiService: import("vue").DefineComponent<Read
|
|
|
1991
2236
|
getDefaultCursor(): string;
|
|
1992
2237
|
setDefaultCursor(cursor: string): void;
|
|
1993
2238
|
getLimitBounds(): AMap.Bounds | undefined;
|
|
1994
|
-
setLimitBounds(bounds: number[]
|
|
2239
|
+
setLimitBounds(bounds: AMap.Bounds | number[]): void;
|
|
1995
2240
|
clearLimitBounds(): void;
|
|
1996
2241
|
getZooms(): [number, number];
|
|
1997
2242
|
setZooms(zooms: [number, number]): void;
|
|
@@ -2026,7 +2271,7 @@ export declare const DemoBusinessTaxiService: import("vue").DefineComponent<Read
|
|
|
2026
2271
|
getOrientation(): number | null | undefined;
|
|
2027
2272
|
setOrientation(orientation: number | undefined): void;
|
|
2028
2273
|
getSize(): AMap.Vector2;
|
|
2029
|
-
setSize(size: AMap.
|
|
2274
|
+
setSize(size: AMap.Size | AMap.Vector2): void;
|
|
2030
2275
|
getzIndex(): number | undefined;
|
|
2031
2276
|
setzIndex(zIndex: number): void;
|
|
2032
2277
|
getOptions(): AMap.OverlayOptions;
|