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