tg-map-vue3 3.9.8 → 4.0.0
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/CHANGELOG.md +8 -0
- package/README.md +4 -1
- package/dist/src/components/TgMap.vue.d.ts +1877 -83
- package/dist/src/components/TgMapWidget.vue.d.ts +3 -3
- package/dist/src/components/controls/TgCustomControl.vue.d.ts +1 -2
- package/dist/src/components/controls/TgMapTypeControl.vue.d.ts +8 -9
- package/dist/src/components/controls/TgScaleControl.vue.d.ts +4 -5
- package/dist/src/components/controls/TgStreetViewControl.vue.d.ts +4 -4
- package/dist/src/components/controls/TgZoomControl.vue.d.ts +4 -4
- package/dist/src/components/extra/TgHeatmap.vue.d.ts +2 -2
- package/dist/src/components/extra/TgMarkerClusterer.vue.d.ts +3 -4
- package/dist/src/components/index.d.ts +4 -40
- package/dist/src/components/layers/TgTrafficLayer.vue.d.ts +1 -1
- package/dist/src/components/map-hooks.d.ts +4 -4
- package/dist/src/components/map-mixin.d.ts +2 -2
- package/dist/src/components/overlays/TgCircle.vue.d.ts +19 -14
- package/dist/src/components/overlays/TgElementOverlay.vue.d.ts +5 -7
- package/dist/src/components/overlays/TgInfoBox.vue.d.ts +5 -7
- package/dist/src/components/overlays/TgInfoWindow.vue.d.ts +16 -17
- package/dist/src/components/overlays/TgLabel.vue.d.ts +4 -7
- package/dist/src/components/overlays/TgMarker.vue.d.ts +89 -45
- package/dist/src/components/overlays/TgPolygon.vue.d.ts +64 -27
- package/dist/src/components/overlays/TgPolyline.vue.d.ts +16 -12
- package/dist/src/components/overlays/TgRectangle.vue.d.ts +28 -27
- package/dist/src/utils/hooks.d.ts +4 -0
- package/dist/src/utils/vue-utils.d.ts +13 -2
- package/dist/tg-map.cjs +2 -17
- package/dist/tg-map.cjs.map +1 -1
- package/dist/tg-map.js +683 -6142
- package/dist/tg-map.js.map +1 -1
- package/package.json +14 -12
- package/dist/src/map/event-target.d.ts +0 -71
- package/dist/src/map/event.d.ts +0 -46
- package/dist/src/map/lat-lng.d.ts +0 -157
- package/dist/src/map/map/baidu-map.d.ts +0 -82
- package/dist/src/map/map/controls/control.d.ts +0 -112
- package/dist/src/map/map/controls/map-type.control.d.ts +0 -29
- package/dist/src/map/map/controls/scale.control.d.ts +0 -15
- package/dist/src/map/map/controls/street-view.control.d.ts +0 -20
- package/dist/src/map/map/controls/zoom.control.d.ts +0 -15
- package/dist/src/map/map/extra/autocomplete.d.ts +0 -41
- package/dist/src/map/map/extra/heatmap.d.ts +0 -71
- package/dist/src/map/map/extra/map-urls.d.ts +0 -59
- package/dist/src/map/map/extra/marker-clusterer.d.ts +0 -73
- package/dist/src/map/map/extra/places-service.d.ts +0 -46
- package/dist/src/map/map/extra/search-box.d.ts +0 -38
- package/dist/src/map/map/google-map.d.ts +0 -81
- package/dist/src/map/map/here-map.d.ts +0 -78
- package/dist/src/map/map/map-options.d.ts +0 -60
- package/dist/src/map/map/map-type.d.ts +0 -110
- package/dist/src/map/map/map.d.ts +0 -168
- package/dist/src/map/map/overlay/baidu-info-box.d.ts +0 -82
- package/dist/src/map/map/overlay/circle.d.ts +0 -51
- package/dist/src/map/map/overlay/element-overlay.d.ts +0 -37
- package/dist/src/map/map/overlay/google-label.d.ts +0 -68
- package/dist/src/map/map/overlay/icon.d.ts +0 -122
- package/dist/src/map/map/overlay/info-box.d.ts +0 -60
- package/dist/src/map/map/overlay/info-window.d.ts +0 -111
- package/dist/src/map/map/overlay/label.d.ts +0 -102
- package/dist/src/map/map/overlay/marker-label.d.ts +0 -19
- package/dist/src/map/map/overlay/marker.d.ts +0 -143
- package/dist/src/map/map/overlay/overlay.d.ts +0 -46
- package/dist/src/map/map/overlay/polygon.d.ts +0 -42
- package/dist/src/map/map/overlay/polyline.d.ts +0 -71
- package/dist/src/map/map/overlay/rectangle.d.ts +0 -50
- package/dist/src/map/map/overlay/shape.d.ts +0 -65
- package/dist/src/map/map-config.d.ts +0 -25
- package/dist/src/map/map-factory.d.ts +0 -10
- package/dist/src/map/map-loader.d.ts +0 -19
- package/dist/src/map/types.d.ts +0 -17
- package/dist/src/map/unions.d.ts +0 -19
- package/dist/src/utils/arrays.d.ts +0 -19
- package/dist/src/utils/baidu-utils.d.ts +0 -23
- package/dist/src/utils/elements.d.ts +0 -4
- package/dist/src/utils/formatter.d.ts +0 -1
- package/dist/src/utils/google-utils.d.ts +0 -34
- package/dist/src/utils/here-utils.d.ts +0 -10
- package/dist/src/utils/mapped-types.d.ts +0 -90
- package/dist/src/utils/objects.d.ts +0 -27
- package/dist/src/utils/spherical-utils.d.ts +0 -20
- package/dist/src/utils/strings.d.ts +0 -21
- package/dist/src/utils/utils.d.ts +0 -13
- package/dist/src/utils/values.d.ts +0 -34
- package/src/map/dts/baidu.d.ts +0 -53
- package/src/map/dts/google.d.ts +0 -10
- package/src/map/dts/here-v31.d.ts +0 -16
- package/src/map/dts/index.d.ts +0 -4
- package/src/map/dts/js-modules.d.ts +0 -15
|
@@ -1,10 +1,5 @@
|
|
|
1
|
+
import { BuildInMapTypeId, GestureHandlingOptions, LatLng, MapType, TgMapType, type AbstractMap, type AbstractMapEventMap, type BaseMap, type MapStyle, type StringEnumValue } from 'tg-map-core';
|
|
1
2
|
import { type PropType } from 'vue';
|
|
2
|
-
import { LatLng } from '../map/lat-lng';
|
|
3
|
-
import { TgMapType } from '../map/map-factory';
|
|
4
|
-
import type { AbstractMap, AbstractMapEventMap } from '../map/map/map';
|
|
5
|
-
import { GestureHandlingOptions, type MapStyle } from '../map/map/map-options';
|
|
6
|
-
import { BuildInMapTypeId, MapType } from '../map/map/map-type';
|
|
7
|
-
import { type StringEnumValue } from '../utils/mapped-types';
|
|
8
3
|
import { type EventEmits } from '../utils/vue-utils';
|
|
9
4
|
type TgMapEmits = {
|
|
10
5
|
load: AbstractMap;
|
|
@@ -16,6 +11,92 @@ type TgMapEmits = {
|
|
|
16
11
|
'update:map-type-id': string;
|
|
17
12
|
'update:last-center': LatLng;
|
|
18
13
|
};
|
|
14
|
+
export declare const tgMapProps: {
|
|
15
|
+
/** type没做响应式, 但外部可以把type作为tg-map的key, 让type修改时完全重建tg-map */
|
|
16
|
+
type: {
|
|
17
|
+
type: PropType<StringEnumValue<typeof TgMapType>>;
|
|
18
|
+
default: TgMapType;
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* 当对该属性使用双向绑定时, 改变center将触发update:center又反过来触发center改变, 最终导致无限循环...
|
|
22
|
+
* 当前通过setCenter()时判断center是否有改变来避免该问题, 但为了避免可能存在的问题, 另外设计了如下机制:
|
|
23
|
+
* - :center-sync-delay="300": 延时同步center, 防止center的值更新过快
|
|
24
|
+
* - :current-center.sync="currentCenter": 实时获取center的值
|
|
25
|
+
* - :last-center.sync="center": 获取tg-map销毁时的最后的center的值, 使用这种方式可以做到type切换时保留中心点位置
|
|
26
|
+
* @see AbstractMapEventMap.center-changed
|
|
27
|
+
*/
|
|
28
|
+
center: {
|
|
29
|
+
type: PropType<LatLng>;
|
|
30
|
+
required: true;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* 同步center的延时
|
|
34
|
+
* @default 300
|
|
35
|
+
* @see center
|
|
36
|
+
*/
|
|
37
|
+
centerSyncDelay: {
|
|
38
|
+
type: PropType<number>;
|
|
39
|
+
default: number;
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* 仅用来获取center的值, 需要设置center的值请使用`center`属性
|
|
43
|
+
* @see center
|
|
44
|
+
* @deprecated 用的太少, 故maptalks未实现该属性, 要实时获取中心点, 请将{@link centerSyncDelay}设为0
|
|
45
|
+
*/
|
|
46
|
+
currentCenter: {
|
|
47
|
+
type: PropType<LatLng>;
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* 仅用于获取tg-map销毁时的最后的center的值
|
|
51
|
+
* @see center
|
|
52
|
+
* @deprecated 用的太少, 故maptalks未实现该属性
|
|
53
|
+
*/
|
|
54
|
+
lastCenter: {
|
|
55
|
+
type: PropType<LatLng>;
|
|
56
|
+
};
|
|
57
|
+
zoom: {
|
|
58
|
+
type: PropType<number>;
|
|
59
|
+
required: true;
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* 该属性不会响应式更新, 要让它立即生效, 请参考{@link file://./../views/map/InfoDemo.vue#L3}
|
|
63
|
+
* @see MapOptions.infoWindowMode
|
|
64
|
+
*/
|
|
65
|
+
infoWindowMode: {
|
|
66
|
+
type: PropType<"single" | "multi">;
|
|
67
|
+
};
|
|
68
|
+
gestureHandling: {
|
|
69
|
+
type: PropType<StringEnumValue<typeof GestureHandlingOptions>>;
|
|
70
|
+
};
|
|
71
|
+
minZoom: {
|
|
72
|
+
type: PropType<number>;
|
|
73
|
+
};
|
|
74
|
+
maxZoom: {
|
|
75
|
+
type: PropType<number>;
|
|
76
|
+
};
|
|
77
|
+
mapStyle: {
|
|
78
|
+
type: PropType<MapStyle>;
|
|
79
|
+
};
|
|
80
|
+
mapTypeId: {
|
|
81
|
+
type: PropType<StringEnumValue<typeof BuildInMapTypeId>>;
|
|
82
|
+
};
|
|
83
|
+
/** 地图类型对象, 优先级比mapTypeId高 */
|
|
84
|
+
mapType: {
|
|
85
|
+
type: PropType<any>;
|
|
86
|
+
};
|
|
87
|
+
hideLogo: {
|
|
88
|
+
type: PropType<boolean>;
|
|
89
|
+
};
|
|
90
|
+
onLoad: import("vue").Prop<import("tg-map-core").EventCallback<AbstractMap>>;
|
|
91
|
+
'onUpdate:center': import("vue").Prop<import("tg-map-core").EventCallback<LatLng>>;
|
|
92
|
+
'onUpdate:current-center': import("vue").Prop<import("tg-map-core").EventCallback<LatLng>>;
|
|
93
|
+
'onUpdate:last-center': import("vue").Prop<import("tg-map-core").EventCallback<LatLng>>;
|
|
94
|
+
'onUpdate:map-type': import("vue").Prop<import("tg-map-core").EventCallback<MapType>>;
|
|
95
|
+
'onUpdate:map-type-id': import("vue").Prop<import("tg-map-core").EventCallback<string>>;
|
|
96
|
+
'onUpdate:zoom': import("vue").Prop<import("tg-map-core").EventCallback<number>>;
|
|
97
|
+
onError: import("vue").Prop<import("tg-map-core").EventCallback<any>>;
|
|
98
|
+
};
|
|
99
|
+
export type TgMapEventEmits = EventEmits<AbstractMapEventMap & TgMapEmits>;
|
|
19
100
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
20
101
|
/** type没做响应式, 但外部可以把type作为tg-map的key, 让type修改时完全重建tg-map */
|
|
21
102
|
type: {
|
|
@@ -29,7 +110,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
29
110
|
* - :current-center.sync="currentCenter": 实时获取center的值
|
|
30
111
|
* - :last-center.sync="center": 获取tg-map销毁时的最后的center的值, 使用这种方式可以做到type切换时保留中心点位置
|
|
31
112
|
* @see AbstractMapEventMap.center-changed
|
|
32
|
-
|
|
113
|
+
*/
|
|
33
114
|
center: {
|
|
34
115
|
type: PropType<LatLng>;
|
|
35
116
|
required: true;
|
|
@@ -46,13 +127,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
46
127
|
/**
|
|
47
128
|
* 仅用来获取center的值, 需要设置center的值请使用`center`属性
|
|
48
129
|
* @see center
|
|
49
|
-
*
|
|
130
|
+
* @deprecated 用的太少, 故maptalks未实现该属性, 要实时获取中心点, 请将{@link centerSyncDelay}设为0
|
|
131
|
+
*/
|
|
50
132
|
currentCenter: {
|
|
51
133
|
type: PropType<LatLng>;
|
|
52
134
|
};
|
|
53
135
|
/**
|
|
54
136
|
* 仅用于获取tg-map销毁时的最后的center的值
|
|
55
137
|
* @see center
|
|
138
|
+
* @deprecated 用的太少, 故maptalks未实现该属性
|
|
56
139
|
*/
|
|
57
140
|
lastCenter: {
|
|
58
141
|
type: PropType<LatLng>;
|
|
@@ -90,14 +173,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
90
173
|
hideLogo: {
|
|
91
174
|
type: PropType<boolean>;
|
|
92
175
|
};
|
|
93
|
-
onLoad: import("vue").Prop<import("
|
|
94
|
-
'onUpdate:center': import("vue").Prop<import("
|
|
95
|
-
'onUpdate:current-center': import("vue").Prop<import("
|
|
96
|
-
'onUpdate:last-center': import("vue").Prop<import("
|
|
97
|
-
'onUpdate:map-type': import("vue").Prop<import("
|
|
98
|
-
'onUpdate:map-type-id': import("vue").Prop<import("
|
|
99
|
-
'onUpdate:zoom': import("vue").Prop<import("
|
|
100
|
-
onError: import("vue").Prop<import("
|
|
176
|
+
onLoad: import("vue").Prop<import("tg-map-core").EventCallback<AbstractMap>>;
|
|
177
|
+
'onUpdate:center': import("vue").Prop<import("tg-map-core").EventCallback<LatLng>>;
|
|
178
|
+
'onUpdate:current-center': import("vue").Prop<import("tg-map-core").EventCallback<LatLng>>;
|
|
179
|
+
'onUpdate:last-center': import("vue").Prop<import("tg-map-core").EventCallback<LatLng>>;
|
|
180
|
+
'onUpdate:map-type': import("vue").Prop<import("tg-map-core").EventCallback<MapType>>;
|
|
181
|
+
'onUpdate:map-type-id': import("vue").Prop<import("tg-map-core").EventCallback<string>>;
|
|
182
|
+
'onUpdate:zoom': import("vue").Prop<import("tg-map-core").EventCallback<number>>;
|
|
183
|
+
onError: import("vue").Prop<import("tg-map-core").EventCallback<any>>;
|
|
101
184
|
}>, {
|
|
102
185
|
attrs: import("vue").ComputedRef<{
|
|
103
186
|
binds: Record<string, unknown>;
|
|
@@ -106,7 +189,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
106
189
|
}>;
|
|
107
190
|
centerSyncTimeoutId: TimeoutId | undefined;
|
|
108
191
|
}, {
|
|
109
|
-
map:
|
|
192
|
+
map: BaseMap | undefined;
|
|
110
193
|
isDestroyed: boolean;
|
|
111
194
|
}, {
|
|
112
195
|
propsJson(): string;
|
|
@@ -123,7 +206,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
123
206
|
* - :current-center.sync="currentCenter": 实时获取center的值
|
|
124
207
|
* - :last-center.sync="center": 获取tg-map销毁时的最后的center的值, 使用这种方式可以做到type切换时保留中心点位置
|
|
125
208
|
* @see AbstractMapEventMap.center-changed
|
|
126
|
-
|
|
209
|
+
*/
|
|
127
210
|
center: {
|
|
128
211
|
type: PropType<LatLng>;
|
|
129
212
|
required: true;
|
|
@@ -140,13 +223,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
140
223
|
/**
|
|
141
224
|
* 仅用来获取center的值, 需要设置center的值请使用`center`属性
|
|
142
225
|
* @see center
|
|
143
|
-
*
|
|
226
|
+
* @deprecated 用的太少, 故maptalks未实现该属性, 要实时获取中心点, 请将{@link centerSyncDelay}设为0
|
|
227
|
+
*/
|
|
144
228
|
currentCenter: {
|
|
145
229
|
type: PropType<LatLng>;
|
|
146
230
|
};
|
|
147
231
|
/**
|
|
148
232
|
* 仅用于获取tg-map销毁时的最后的center的值
|
|
149
233
|
* @see center
|
|
234
|
+
* @deprecated 用的太少, 故maptalks未实现该属性
|
|
150
235
|
*/
|
|
151
236
|
lastCenter: {
|
|
152
237
|
type: PropType<LatLng>;
|
|
@@ -184,39 +269,39 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
184
269
|
hideLogo: {
|
|
185
270
|
type: PropType<boolean>;
|
|
186
271
|
};
|
|
187
|
-
onLoad: import("vue").Prop<import("
|
|
188
|
-
'onUpdate:center': import("vue").Prop<import("
|
|
189
|
-
'onUpdate:current-center': import("vue").Prop<import("
|
|
190
|
-
'onUpdate:last-center': import("vue").Prop<import("
|
|
191
|
-
'onUpdate:map-type': import("vue").Prop<import("
|
|
192
|
-
'onUpdate:map-type-id': import("vue").Prop<import("
|
|
193
|
-
'onUpdate:zoom': import("vue").Prop<import("
|
|
194
|
-
onError: import("vue").Prop<import("
|
|
272
|
+
onLoad: import("vue").Prop<import("tg-map-core").EventCallback<AbstractMap>>;
|
|
273
|
+
'onUpdate:center': import("vue").Prop<import("tg-map-core").EventCallback<LatLng>>;
|
|
274
|
+
'onUpdate:current-center': import("vue").Prop<import("tg-map-core").EventCallback<LatLng>>;
|
|
275
|
+
'onUpdate:last-center': import("vue").Prop<import("tg-map-core").EventCallback<LatLng>>;
|
|
276
|
+
'onUpdate:map-type': import("vue").Prop<import("tg-map-core").EventCallback<MapType>>;
|
|
277
|
+
'onUpdate:map-type-id': import("vue").Prop<import("tg-map-core").EventCallback<string>>;
|
|
278
|
+
'onUpdate:zoom': import("vue").Prop<import("tg-map-core").EventCallback<number>>;
|
|
279
|
+
onError: import("vue").Prop<import("tg-map-core").EventCallback<any>>;
|
|
195
280
|
}>> & Readonly<{
|
|
196
|
-
onClick?: ((event: import("./index.ts").Tg.MouseEvent) => any) | undefined;
|
|
197
|
-
onDblclick?: ((event: import("./index.ts").Tg.MouseEvent) => any) | undefined;
|
|
198
|
-
onMousedown?: ((event: import("./index.ts").Tg.MouseEvent) => any) | undefined;
|
|
199
|
-
onMouseup?: ((event: import("./index.ts").Tg.MouseEvent) => any) | undefined;
|
|
200
|
-
onMouseout?: ((event: import("./index.ts").Tg.MouseEvent) => any) | undefined;
|
|
201
|
-
onMouseover?: ((event: import("./index.ts").Tg.MouseEvent) => any) | undefined;
|
|
202
|
-
"onCenter-changed"?: ((event: import("./index.ts").Tg.Event) => any) | undefined;
|
|
203
|
-
onRightclick?: ((event: import("./index.ts").Tg.MouseEvent) => any) | undefined;
|
|
204
|
-
onContextmenu?: ((event: import("./index.ts").Tg.MouseEvent) => any) | undefined;
|
|
205
|
-
onDragstart?: ((event: import("./index.ts").Tg.Event) => any) | undefined;
|
|
206
|
-
onDrag?: ((event: import("./index.ts").Tg.Event) => any) | undefined;
|
|
207
|
-
onDragend?: ((event: import("./index.ts").Tg.Event) => any) | undefined;
|
|
208
|
-
onMousemove?: ((event: import("./index.ts").Tg.MouseEvent) => any) | undefined;
|
|
209
|
-
onTilesloaded?: ((event: import("./index.ts").Tg.Event) => any) | undefined;
|
|
210
|
-
"onZoom-changed"?: ((event: import("./index.ts").Tg.Event) => any) | undefined;
|
|
211
|
-
"onMap-type-changed"?: ((event: import("./index.ts").Tg.Event) => any) | undefined;
|
|
212
|
-
onError?: ((event: any) => any) | undefined;
|
|
213
281
|
onLoad?: ((event: AbstractMap) => any) | undefined;
|
|
282
|
+
onError?: ((event: any) => any) | undefined;
|
|
214
283
|
"onUpdate:center"?: ((event: LatLng) => any) | undefined;
|
|
215
284
|
"onUpdate:current-center"?: ((event: LatLng) => any) | undefined;
|
|
216
285
|
"onUpdate:zoom"?: ((event: number) => any) | undefined;
|
|
217
286
|
"onUpdate:map-type"?: ((event: MapType) => any) | undefined;
|
|
218
287
|
"onUpdate:map-type-id"?: ((event: string) => any) | undefined;
|
|
219
288
|
"onUpdate:last-center"?: ((event: LatLng) => any) | undefined;
|
|
289
|
+
onClick?: ((event: import("tg-map-core").Tg.MouseEvent) => any) | undefined;
|
|
290
|
+
onDblclick?: ((event: import("tg-map-core").Tg.MouseEvent) => any) | undefined;
|
|
291
|
+
onRightclick?: ((event: import("tg-map-core").Tg.MouseEvent) => any) | undefined;
|
|
292
|
+
onContextmenu?: ((event: import("tg-map-core").Tg.MouseEvent) => any) | undefined;
|
|
293
|
+
onDragstart?: ((event: import("tg-map-core").Tg.Event) => any) | undefined;
|
|
294
|
+
onDrag?: ((event: import("tg-map-core").Tg.Event) => any) | undefined;
|
|
295
|
+
onDragend?: ((event: import("tg-map-core").Tg.Event) => any) | undefined;
|
|
296
|
+
onMouseover?: ((event: import("tg-map-core").Tg.MouseEvent) => any) | undefined;
|
|
297
|
+
onMouseout?: ((event: import("tg-map-core").Tg.MouseEvent) => any) | undefined;
|
|
298
|
+
onMousedown?: ((event: import("tg-map-core").Tg.MouseEvent) => any) | undefined;
|
|
299
|
+
onMousemove?: ((event: import("tg-map-core").Tg.MouseEvent) => any) | undefined;
|
|
300
|
+
onMouseup?: ((event: import("tg-map-core").Tg.MouseEvent) => any) | undefined;
|
|
301
|
+
onTilesloaded?: ((event: import("tg-map-core").Tg.Event) => any) | undefined;
|
|
302
|
+
"onCenter-changed"?: ((event: import("tg-map-core").Tg.Event) => any) | undefined;
|
|
303
|
+
"onZoom-changed"?: ((event: import("tg-map-core").Tg.Event) => any) | undefined;
|
|
304
|
+
"onMap-type-changed"?: ((event: import("tg-map-core").Tg.Event) => any) | undefined;
|
|
220
305
|
}>, {
|
|
221
306
|
type: StringEnumValue<typeof TgMapType>;
|
|
222
307
|
centerSyncDelay: number;
|
|
@@ -625,20 +710,1729 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
625
710
|
getEngine: () => H.map.render.p2d.RenderEngine;
|
|
626
711
|
addEventListener: (type: string, handler: EventListenerOrEventListenerObject, opt_capture?: boolean, opt_scope?: any) => void;
|
|
627
712
|
removeEventListener: (type: string, handler: EventListenerOrEventListenerObject, opt_capture?: boolean, opt_scope?: any) => void;
|
|
713
|
+
} | {
|
|
714
|
+
addControl: (control: {
|
|
715
|
+
options: import("maptalks").ControlOptionsType;
|
|
716
|
+
onAdd(): void;
|
|
717
|
+
onRemove(): void;
|
|
718
|
+
buildOn(map?: import("maptalks").Map): HTMLElement;
|
|
719
|
+
addTo(map: import("maptalks").Map): /*elided*/ any;
|
|
720
|
+
update(): /*elided*/ any;
|
|
721
|
+
getMap(): import("maptalks").Map;
|
|
722
|
+
getPosition(): import("maptalks").DomPositionType;
|
|
723
|
+
setPosition(position: import("maptalks").ControlPositionType): /*elided*/ any;
|
|
724
|
+
getContainerPoint(): import("maptalks").Point;
|
|
725
|
+
getContainer(): HTMLElement;
|
|
726
|
+
getDOM(): HTMLElement;
|
|
727
|
+
show(): /*elided*/ any;
|
|
728
|
+
hide(): /*elided*/ any;
|
|
729
|
+
isVisible(): boolean;
|
|
730
|
+
remove(): /*elided*/ any;
|
|
731
|
+
onConfig(conf: import("maptalks").ClassOptions): void;
|
|
732
|
+
_eventMap?: Record<string, {
|
|
733
|
+
handler: import("maptalks").HandlerFn;
|
|
734
|
+
context: any;
|
|
735
|
+
}[]>;
|
|
736
|
+
_eventParent?: any;
|
|
737
|
+
_eventTarget?: any;
|
|
738
|
+
on(eventsOn: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
739
|
+
addEventListener(...args: any[]): any;
|
|
740
|
+
once(eventTypes: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
741
|
+
off(eventsOff: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
742
|
+
removeEventListener(...args: any[]): any;
|
|
743
|
+
listens(eventType: string, handler?: import("maptalks").HandlerFn, context?: any): number;
|
|
744
|
+
getListeningEvents(): string[];
|
|
745
|
+
copyEventListeners(target: any): any;
|
|
746
|
+
fire(eventType: string, param?: import("maptalks").BaseEventParamsType): any;
|
|
747
|
+
_wrapOnceHandler(evtType: string, handler: import("maptalks").HandlerFn, context?: any): (...args: any[]) => void;
|
|
748
|
+
_switch(to: string, eventRecords: import("maptalks").EventRecords, context?: any): any;
|
|
749
|
+
_clearListeners(eventType: string): void;
|
|
750
|
+
_clearAllListeners(): void;
|
|
751
|
+
_setEventParent(parent: any): any;
|
|
752
|
+
_setEventTarget(target: any): any;
|
|
753
|
+
_fire(eventType: string, param: import("maptalks").BaseEventParamsType): any;
|
|
754
|
+
proxyOptions(): /*elided*/ any;
|
|
755
|
+
callInitHooks(): /*elided*/ any;
|
|
756
|
+
_setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
757
|
+
setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
758
|
+
config(conf?: string | import("maptalks").ClassOptions, value?: any): import("maptalks").ClassOptions | /*elided*/ any;
|
|
759
|
+
}) => import("maptalks").Map;
|
|
760
|
+
removeControl: (control: {
|
|
761
|
+
options: import("maptalks").ControlOptionsType;
|
|
762
|
+
onAdd(): void;
|
|
763
|
+
onRemove(): void;
|
|
764
|
+
buildOn(map?: import("maptalks").Map): HTMLElement;
|
|
765
|
+
addTo(map: import("maptalks").Map): /*elided*/ any;
|
|
766
|
+
update(): /*elided*/ any;
|
|
767
|
+
getMap(): import("maptalks").Map;
|
|
768
|
+
getPosition(): import("maptalks").DomPositionType;
|
|
769
|
+
setPosition(position: import("maptalks").ControlPositionType): /*elided*/ any;
|
|
770
|
+
getContainerPoint(): import("maptalks").Point;
|
|
771
|
+
getContainer(): HTMLElement;
|
|
772
|
+
getDOM(): HTMLElement;
|
|
773
|
+
show(): /*elided*/ any;
|
|
774
|
+
hide(): /*elided*/ any;
|
|
775
|
+
isVisible(): boolean;
|
|
776
|
+
remove(): /*elided*/ any;
|
|
777
|
+
onConfig(conf: import("maptalks").ClassOptions): void;
|
|
778
|
+
_eventMap?: Record<string, {
|
|
779
|
+
handler: import("maptalks").HandlerFn;
|
|
780
|
+
context: any;
|
|
781
|
+
}[]>;
|
|
782
|
+
_eventParent?: any;
|
|
783
|
+
_eventTarget?: any;
|
|
784
|
+
on(eventsOn: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
785
|
+
addEventListener(...args: any[]): any;
|
|
786
|
+
once(eventTypes: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
787
|
+
off(eventsOff: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
788
|
+
removeEventListener(...args: any[]): any;
|
|
789
|
+
listens(eventType: string, handler?: import("maptalks").HandlerFn, context?: any): number;
|
|
790
|
+
getListeningEvents(): string[];
|
|
791
|
+
copyEventListeners(target: any): any;
|
|
792
|
+
fire(eventType: string, param?: import("maptalks").BaseEventParamsType): any;
|
|
793
|
+
_wrapOnceHandler(evtType: string, handler: import("maptalks").HandlerFn, context?: any): (...args: any[]) => void;
|
|
794
|
+
_switch(to: string, eventRecords: import("maptalks").EventRecords, context?: any): any;
|
|
795
|
+
_clearListeners(eventType: string): void;
|
|
796
|
+
_clearAllListeners(): void;
|
|
797
|
+
_setEventParent(parent: any): any;
|
|
798
|
+
_setEventTarget(target: any): any;
|
|
799
|
+
_fire(eventType: string, param: import("maptalks").BaseEventParamsType): any;
|
|
800
|
+
proxyOptions(): /*elided*/ any;
|
|
801
|
+
callInitHooks(): /*elided*/ any;
|
|
802
|
+
_setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
803
|
+
setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
804
|
+
config(conf?: string | import("maptalks").ClassOptions, value?: any): import("maptalks").ClassOptions | /*elided*/ any;
|
|
805
|
+
}) => import("maptalks").Map;
|
|
806
|
+
VERSION: string;
|
|
807
|
+
isMap: boolean;
|
|
808
|
+
centerAltitude: number;
|
|
809
|
+
width: number;
|
|
810
|
+
height: number;
|
|
811
|
+
CanvasClass: any;
|
|
812
|
+
cameraCenterDistance: number;
|
|
813
|
+
options: {
|
|
814
|
+
pitch?: number | undefined;
|
|
815
|
+
bearing?: number | undefined;
|
|
816
|
+
baseLayer?: {
|
|
817
|
+
map: /*elided*/ any;
|
|
818
|
+
parent: any;
|
|
819
|
+
options: {
|
|
820
|
+
attribution?: string | undefined;
|
|
821
|
+
minZoom?: number | undefined;
|
|
822
|
+
maxZoom?: number | undefined;
|
|
823
|
+
visible?: boolean | undefined;
|
|
824
|
+
opacity?: number | undefined;
|
|
825
|
+
zIndex?: number | undefined;
|
|
826
|
+
globalCompositeOperation?: string | undefined;
|
|
827
|
+
renderer?: "canvas" | "gl" | "gpu" | "dom" | null | undefined;
|
|
828
|
+
debugOutline?: string | undefined;
|
|
829
|
+
cssFilter?: string | undefined;
|
|
830
|
+
forceRenderOnMoving?: boolean | undefined;
|
|
831
|
+
forceRenderOnZooming?: boolean | undefined;
|
|
832
|
+
forceRenderOnRotating?: boolean | undefined;
|
|
833
|
+
collision?: boolean | undefined;
|
|
834
|
+
collisionScope?: "layer" | "map" | undefined;
|
|
835
|
+
hitDetect?: boolean | undefined;
|
|
836
|
+
canvas?: HTMLCanvasElement | undefined;
|
|
837
|
+
mask?: any;
|
|
838
|
+
drawImmediate?: boolean | undefined;
|
|
839
|
+
geometryEvents?: boolean | undefined;
|
|
840
|
+
geometryEventTolerance?: number | undefined;
|
|
841
|
+
maskClip?: boolean | undefined;
|
|
842
|
+
};
|
|
843
|
+
getLayers?: (() => import("maptalks").Layer[]) | undefined;
|
|
844
|
+
load: () => import("maptalks").Layer;
|
|
845
|
+
getId: () => string;
|
|
846
|
+
setId: (id: string) => import("maptalks").Layer;
|
|
847
|
+
addTo: (map: import("maptalks").Map) => import("maptalks").Layer;
|
|
848
|
+
setZIndex: (zIndex: number) => import("maptalks").Layer;
|
|
849
|
+
getZIndex: () => number;
|
|
850
|
+
getMinZoom: () => number;
|
|
851
|
+
getMaxZoom: () => number;
|
|
852
|
+
getOpacity: () => number;
|
|
853
|
+
setOpacity: (op: number) => import("maptalks").Layer;
|
|
854
|
+
isCanvasRender: () => boolean;
|
|
855
|
+
getMap: () => import("maptalks").Map;
|
|
856
|
+
getProjection: () => import("maptalks").CommonProjectionType;
|
|
857
|
+
bringToFront: () => import("maptalks").Layer;
|
|
858
|
+
bringToBack: () => import("maptalks").Layer;
|
|
859
|
+
show: () => import("maptalks").Layer;
|
|
860
|
+
hide: () => import("maptalks").Layer;
|
|
861
|
+
isVisible: () => boolean;
|
|
862
|
+
remove: () => import("maptalks").Layer;
|
|
863
|
+
getMask: () => import("maptalks").Marker | import("maptalks").MultiPolygon | import("maptalks").Polygon;
|
|
864
|
+
setMask: (mask: import("maptalks").Polygon | import("maptalks").MultiPolygon | import("maptalks").Marker) => import("maptalks").Layer;
|
|
865
|
+
removeMask: () => import("maptalks").Layer;
|
|
866
|
+
onLoad: () => boolean;
|
|
867
|
+
onLoadEnd: () => void;
|
|
868
|
+
isLoaded: () => boolean;
|
|
869
|
+
getCollisionIndex: () => import("maptalks").CollisionIndex;
|
|
870
|
+
clearCollisionIndex: () => import("maptalks").Layer;
|
|
871
|
+
getRenderer: () => any;
|
|
872
|
+
onConfig: (conf: {
|
|
873
|
+
[key: string]: any;
|
|
874
|
+
}) => void;
|
|
875
|
+
onAdd: () => void;
|
|
876
|
+
onRendererCreate: () => void;
|
|
877
|
+
onCanvasCreate: () => void;
|
|
878
|
+
onRemove: () => void;
|
|
879
|
+
toJSON: (options?: any) => import("maptalks").LayerJSONType;
|
|
880
|
+
identify: (_coordinate: import("maptalks").Coordinate, _options: import("maptalks").LayerIdentifyOptionsType) => void;
|
|
881
|
+
identifyAtPoint: (_containerPoint: import("maptalks").Point, _options: import("maptalks").LayerIdentifyOptionsType) => void;
|
|
882
|
+
_jsonType?: string | undefined;
|
|
883
|
+
getJSONType: () => string;
|
|
884
|
+
_eventMap?: Record<string, {
|
|
885
|
+
handler: import("maptalks").HandlerFn;
|
|
886
|
+
context: any;
|
|
887
|
+
}[]> | undefined;
|
|
888
|
+
_eventParent?: any;
|
|
889
|
+
_eventTarget?: any;
|
|
890
|
+
on: (eventsOn: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any) => any;
|
|
891
|
+
addEventListener: (...args: any[]) => any;
|
|
892
|
+
once: (eventTypes: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any) => any;
|
|
893
|
+
off: (eventsOff: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any) => any;
|
|
894
|
+
removeEventListener: (...args: any[]) => any;
|
|
895
|
+
listens: (eventType: string, handler?: import("maptalks").HandlerFn, context?: any) => number;
|
|
896
|
+
getListeningEvents: () => string[];
|
|
897
|
+
copyEventListeners: (target: any) => any;
|
|
898
|
+
fire: (eventType: string, param?: import("maptalks").BaseEventParamsType) => any;
|
|
899
|
+
_wrapOnceHandler: (evtType: string, handler: import("maptalks").HandlerFn, context?: any) => (...args: any[]) => void;
|
|
900
|
+
_switch: (to: string, eventRecords: import("maptalks").EventRecords, context?: any) => any;
|
|
901
|
+
_clearListeners: (eventType: string) => void;
|
|
902
|
+
_clearAllListeners: () => void;
|
|
903
|
+
_setEventParent: (parent: any) => any;
|
|
904
|
+
_setEventTarget: (target: any) => any;
|
|
905
|
+
_fire: (eventType: string, param: import("maptalks").BaseEventParamsType) => any;
|
|
906
|
+
proxyOptions: () => import("maptalks").Layer;
|
|
907
|
+
callInitHooks: () => import("maptalks").Layer;
|
|
908
|
+
_setOptions: (options: import("maptalks").ClassOptions) => import("maptalks").Layer;
|
|
909
|
+
setOptions: (options: import("maptalks").ClassOptions) => import("maptalks").Layer;
|
|
910
|
+
config: (conf?: string | import("maptalks").ClassOptions, value?: any) => import("maptalks").Layer | import("maptalks").ClassOptions;
|
|
911
|
+
} | undefined;
|
|
912
|
+
layers?: {
|
|
913
|
+
map: /*elided*/ any;
|
|
914
|
+
parent: any;
|
|
915
|
+
options: {
|
|
916
|
+
attribution?: string | undefined;
|
|
917
|
+
minZoom?: number | undefined;
|
|
918
|
+
maxZoom?: number | undefined;
|
|
919
|
+
visible?: boolean | undefined;
|
|
920
|
+
opacity?: number | undefined;
|
|
921
|
+
zIndex?: number | undefined;
|
|
922
|
+
globalCompositeOperation?: string | undefined;
|
|
923
|
+
renderer?: "canvas" | "gl" | "gpu" | "dom" | null | undefined;
|
|
924
|
+
debugOutline?: string | undefined;
|
|
925
|
+
cssFilter?: string | undefined;
|
|
926
|
+
forceRenderOnMoving?: boolean | undefined;
|
|
927
|
+
forceRenderOnZooming?: boolean | undefined;
|
|
928
|
+
forceRenderOnRotating?: boolean | undefined;
|
|
929
|
+
collision?: boolean | undefined;
|
|
930
|
+
collisionScope?: "layer" | "map" | undefined;
|
|
931
|
+
hitDetect?: boolean | undefined;
|
|
932
|
+
canvas?: HTMLCanvasElement | undefined;
|
|
933
|
+
mask?: any;
|
|
934
|
+
drawImmediate?: boolean | undefined;
|
|
935
|
+
geometryEvents?: boolean | undefined;
|
|
936
|
+
geometryEventTolerance?: number | undefined;
|
|
937
|
+
maskClip?: boolean | undefined;
|
|
938
|
+
};
|
|
939
|
+
getLayers?: (() => import("maptalks").Layer[]) | undefined;
|
|
940
|
+
load: () => import("maptalks").Layer;
|
|
941
|
+
getId: () => string;
|
|
942
|
+
setId: (id: string) => import("maptalks").Layer;
|
|
943
|
+
addTo: (map: import("maptalks").Map) => import("maptalks").Layer;
|
|
944
|
+
setZIndex: (zIndex: number) => import("maptalks").Layer;
|
|
945
|
+
getZIndex: () => number;
|
|
946
|
+
getMinZoom: () => number;
|
|
947
|
+
getMaxZoom: () => number;
|
|
948
|
+
getOpacity: () => number;
|
|
949
|
+
setOpacity: (op: number) => import("maptalks").Layer;
|
|
950
|
+
isCanvasRender: () => boolean;
|
|
951
|
+
getMap: () => import("maptalks").Map;
|
|
952
|
+
getProjection: () => import("maptalks").CommonProjectionType;
|
|
953
|
+
bringToFront: () => import("maptalks").Layer;
|
|
954
|
+
bringToBack: () => import("maptalks").Layer;
|
|
955
|
+
show: () => import("maptalks").Layer;
|
|
956
|
+
hide: () => import("maptalks").Layer;
|
|
957
|
+
isVisible: () => boolean;
|
|
958
|
+
remove: () => import("maptalks").Layer;
|
|
959
|
+
getMask: () => import("maptalks").Marker | import("maptalks").MultiPolygon | import("maptalks").Polygon;
|
|
960
|
+
setMask: (mask: import("maptalks").Polygon | import("maptalks").MultiPolygon | import("maptalks").Marker) => import("maptalks").Layer;
|
|
961
|
+
removeMask: () => import("maptalks").Layer;
|
|
962
|
+
onLoad: () => boolean;
|
|
963
|
+
onLoadEnd: () => void;
|
|
964
|
+
isLoaded: () => boolean;
|
|
965
|
+
getCollisionIndex: () => import("maptalks").CollisionIndex;
|
|
966
|
+
clearCollisionIndex: () => import("maptalks").Layer;
|
|
967
|
+
getRenderer: () => any;
|
|
968
|
+
onConfig: (conf: {
|
|
969
|
+
[key: string]: any;
|
|
970
|
+
}) => void;
|
|
971
|
+
onAdd: () => void;
|
|
972
|
+
onRendererCreate: () => void;
|
|
973
|
+
onCanvasCreate: () => void;
|
|
974
|
+
onRemove: () => void;
|
|
975
|
+
toJSON: (options?: any) => import("maptalks").LayerJSONType;
|
|
976
|
+
identify: (_coordinate: import("maptalks").Coordinate, _options: import("maptalks").LayerIdentifyOptionsType) => void;
|
|
977
|
+
identifyAtPoint: (_containerPoint: import("maptalks").Point, _options: import("maptalks").LayerIdentifyOptionsType) => void;
|
|
978
|
+
_jsonType?: string | undefined;
|
|
979
|
+
getJSONType: () => string;
|
|
980
|
+
_eventMap?: Record<string, {
|
|
981
|
+
handler: import("maptalks").HandlerFn;
|
|
982
|
+
context: any;
|
|
983
|
+
}[]> | undefined;
|
|
984
|
+
_eventParent?: any;
|
|
985
|
+
_eventTarget?: any;
|
|
986
|
+
on: (eventsOn: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any) => any;
|
|
987
|
+
addEventListener: (...args: any[]) => any;
|
|
988
|
+
once: (eventTypes: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any) => any;
|
|
989
|
+
off: (eventsOff: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any) => any;
|
|
990
|
+
removeEventListener: (...args: any[]) => any;
|
|
991
|
+
listens: (eventType: string, handler?: import("maptalks").HandlerFn, context?: any) => number;
|
|
992
|
+
getListeningEvents: () => string[];
|
|
993
|
+
copyEventListeners: (target: any) => any;
|
|
994
|
+
fire: (eventType: string, param?: import("maptalks").BaseEventParamsType) => any;
|
|
995
|
+
_wrapOnceHandler: (evtType: string, handler: import("maptalks").HandlerFn, context?: any) => (...args: any[]) => void;
|
|
996
|
+
_switch: (to: string, eventRecords: import("maptalks").EventRecords, context?: any) => any;
|
|
997
|
+
_clearListeners: (eventType: string) => void;
|
|
998
|
+
_clearAllListeners: () => void;
|
|
999
|
+
_setEventParent: (parent: any) => any;
|
|
1000
|
+
_setEventTarget: (target: any) => any;
|
|
1001
|
+
_fire: (eventType: string, param: import("maptalks").BaseEventParamsType) => any;
|
|
1002
|
+
proxyOptions: () => import("maptalks").Layer;
|
|
1003
|
+
callInitHooks: () => import("maptalks").Layer;
|
|
1004
|
+
_setOptions: (options: import("maptalks").ClassOptions) => import("maptalks").Layer;
|
|
1005
|
+
setOptions: (options: import("maptalks").ClassOptions) => import("maptalks").Layer;
|
|
1006
|
+
config: (conf?: string | import("maptalks").ClassOptions, value?: any) => import("maptalks").Layer | import("maptalks").ClassOptions;
|
|
1007
|
+
}[] | undefined;
|
|
1008
|
+
draggable?: boolean | undefined;
|
|
1009
|
+
dragPan?: boolean | undefined;
|
|
1010
|
+
dragPanEasing?: import("maptalks").EasingType | undefined;
|
|
1011
|
+
dragRotate?: boolean | undefined;
|
|
1012
|
+
dragPitch?: boolean | undefined;
|
|
1013
|
+
dragRotatePitch?: boolean | undefined;
|
|
1014
|
+
touchGesture?: boolean | undefined;
|
|
1015
|
+
touchZoom?: boolean | undefined;
|
|
1016
|
+
touchRotate?: boolean | undefined;
|
|
1017
|
+
touchPitch?: boolean | undefined;
|
|
1018
|
+
touchZoomRotate?: boolean | undefined;
|
|
1019
|
+
doubleClickZoom?: boolean | undefined;
|
|
1020
|
+
scrollWheelZoom?: boolean | undefined;
|
|
1021
|
+
geometryEvents?: boolean | undefined;
|
|
1022
|
+
control?: boolean | undefined;
|
|
1023
|
+
attribution?: boolean | {
|
|
1024
|
+
content?: (string | HTMLElement) | undefined;
|
|
1025
|
+
custom?: boolean | undefined;
|
|
1026
|
+
position?: string | {
|
|
1027
|
+
top?: number | string | undefined;
|
|
1028
|
+
bottom?: number | string | undefined;
|
|
1029
|
+
left?: number | string | undefined;
|
|
1030
|
+
right?: number | string | undefined;
|
|
1031
|
+
} | undefined;
|
|
1032
|
+
cssName?: (string | Array<string>) | undefined;
|
|
1033
|
+
} | undefined;
|
|
1034
|
+
zoomControl?: boolean | undefined;
|
|
1035
|
+
scaleControl?: boolean | undefined;
|
|
1036
|
+
overviewControl?: boolean | undefined;
|
|
1037
|
+
fog?: boolean | undefined;
|
|
1038
|
+
fogColor?: any;
|
|
1039
|
+
devicePixelRatio?: number | undefined;
|
|
1040
|
+
heightFactor?: number | undefined;
|
|
1041
|
+
originLatitudeForAltitude?: number | undefined;
|
|
1042
|
+
viewHistory?: boolean | undefined;
|
|
1043
|
+
viewHistoryCount?: number | undefined;
|
|
1044
|
+
seamlessZoom?: boolean | undefined;
|
|
1045
|
+
maxVisualPitch?: number | undefined;
|
|
1046
|
+
maxPitch?: number | undefined;
|
|
1047
|
+
centerCross?: boolean | undefined;
|
|
1048
|
+
zoomable?: boolean | undefined;
|
|
1049
|
+
zoomInCenter?: boolean | undefined;
|
|
1050
|
+
zoomOrigin?: Array<number> | undefined;
|
|
1051
|
+
zoomAnimation?: boolean | undefined;
|
|
1052
|
+
zoomAnimationDuration?: number | undefined;
|
|
1053
|
+
tileBackgroundLimitPerFrame?: number | undefined;
|
|
1054
|
+
panAnimation?: boolean | undefined;
|
|
1055
|
+
panAnimationDuration?: number | undefined;
|
|
1056
|
+
rotateAnimation?: boolean | undefined;
|
|
1057
|
+
rotateAnimationDuration?: number | undefined;
|
|
1058
|
+
enableInfoWindow?: boolean | undefined;
|
|
1059
|
+
hitDetect?: boolean | undefined;
|
|
1060
|
+
hitDetectLimit?: number | undefined;
|
|
1061
|
+
fpsOnInteracting?: number | undefined;
|
|
1062
|
+
layerCanvasLimitOnInteracting?: number | undefined;
|
|
1063
|
+
maxZoom?: number | undefined;
|
|
1064
|
+
minZoom?: number | undefined;
|
|
1065
|
+
maxExtent?: {
|
|
1066
|
+
_clazz: typeof import("maptalks").Coordinate | typeof import("maptalks").Point;
|
|
1067
|
+
_dirty: boolean;
|
|
1068
|
+
projection: any;
|
|
1069
|
+
xmin: import("maptalks").WithNull<number>;
|
|
1070
|
+
xmax: import("maptalks").WithNull<number>;
|
|
1071
|
+
ymin: import("maptalks").WithNull<number>;
|
|
1072
|
+
ymax: import("maptalks").WithNull<number>;
|
|
1073
|
+
pxmin: number;
|
|
1074
|
+
pxmax: number;
|
|
1075
|
+
pymin: number;
|
|
1076
|
+
pymax: number;
|
|
1077
|
+
left?: number | undefined;
|
|
1078
|
+
right?: number | undefined;
|
|
1079
|
+
top?: number | undefined;
|
|
1080
|
+
bottom?: number | undefined;
|
|
1081
|
+
antiMeridian?: boolean | undefined;
|
|
1082
|
+
_initialize: {
|
|
1083
|
+
(p1: import("maptalks").WithNull<import("maptalks").ExtentLike>): void;
|
|
1084
|
+
(p1: import("maptalks").PositionType, p2: import("maptalks").PositionType): void;
|
|
1085
|
+
(p1: number, p2: number, p3: number, p4: number): void;
|
|
1086
|
+
};
|
|
1087
|
+
_add: {
|
|
1088
|
+
(p: import("maptalks").Extent): import("maptalks").Extent;
|
|
1089
|
+
(p: import("maptalks").PointExtent): import("maptalks").Extent;
|
|
1090
|
+
(p: import("maptalks").PositionType): import("maptalks").Extent;
|
|
1091
|
+
(p: number[]): import("maptalks").Extent;
|
|
1092
|
+
};
|
|
1093
|
+
add: {
|
|
1094
|
+
(p: import("maptalks").Extent): import("maptalks").Extent;
|
|
1095
|
+
(p: import("maptalks").PointExtent): import("maptalks").Extent;
|
|
1096
|
+
(p: import("maptalks").PositionType): import("maptalks").Extent;
|
|
1097
|
+
(p: number[]): import("maptalks").Extent;
|
|
1098
|
+
};
|
|
1099
|
+
_scale: (s: number) => import("maptalks").Extent;
|
|
1100
|
+
_sub: {
|
|
1101
|
+
(p: [number, number]): import("maptalks").Extent;
|
|
1102
|
+
(p: import("maptalks").PositionType): import("maptalks").Extent;
|
|
1103
|
+
(p: import("maptalks").Extent | import("maptalks").PointExtent): import("maptalks").Extent;
|
|
1104
|
+
};
|
|
1105
|
+
_substract: {
|
|
1106
|
+
(p: [number, number]): import("maptalks").Extent;
|
|
1107
|
+
(p: import("maptalks").PositionType): import("maptalks").Extent;
|
|
1108
|
+
(p: import("maptalks").Extent | import("maptalks").PointExtent): import("maptalks").Extent;
|
|
1109
|
+
};
|
|
1110
|
+
sub: {
|
|
1111
|
+
(p: [number, number]): import("maptalks").Extent;
|
|
1112
|
+
(p: import("maptalks").PositionType): import("maptalks").Extent;
|
|
1113
|
+
(p: import("maptalks").Extent | import("maptalks").PointExtent): import("maptalks").Extent;
|
|
1114
|
+
};
|
|
1115
|
+
substract: {
|
|
1116
|
+
(p: [number, number]): import("maptalks").Extent;
|
|
1117
|
+
(p: import("maptalks").PositionType): import("maptalks").Extent;
|
|
1118
|
+
(p: import("maptalks").Extent | import("maptalks").PointExtent): import("maptalks").Extent;
|
|
1119
|
+
};
|
|
1120
|
+
round: () => import("maptalks").PointExtent | import("maptalks").Extent;
|
|
1121
|
+
_round: () => import("maptalks").Extent;
|
|
1122
|
+
getMin: {
|
|
1123
|
+
(out?: import("maptalks").Point): import("maptalks").Point;
|
|
1124
|
+
(out?: import("maptalks").Coordinate): import("maptalks").Coordinate;
|
|
1125
|
+
};
|
|
1126
|
+
getMax: {
|
|
1127
|
+
(out?: import("maptalks").Point): import("maptalks").Point;
|
|
1128
|
+
(out?: import("maptalks").Coordinate): import("maptalks").Coordinate;
|
|
1129
|
+
};
|
|
1130
|
+
getCenter: (out?: import("maptalks").PositionType) => import("maptalks").PositionType;
|
|
1131
|
+
isValid: () => boolean;
|
|
1132
|
+
equals: (ext2: import("maptalks").Extent | import("maptalks").PointExtent) => boolean;
|
|
1133
|
+
intersects: (ext2: import("maptalks").Extent | import("maptalks").PointExtent) => boolean;
|
|
1134
|
+
within: (extent: import("maptalks").Extent | import("maptalks").PointExtent) => boolean;
|
|
1135
|
+
contains: (c: import("maptalks").CoordinateLike) => boolean;
|
|
1136
|
+
getWidth: () => number;
|
|
1137
|
+
getHeight: () => number;
|
|
1138
|
+
getSize: () => import("maptalks").Size;
|
|
1139
|
+
set: (xmin: import("maptalks").WithNull<number>, ymin: import("maptalks").WithNull<number>, xmax: import("maptalks").WithNull<number>, ymax: import("maptalks").WithNull<number>) => import("maptalks").Extent;
|
|
1140
|
+
__combine: (extent: import("maptalks").PositionType | import("maptalks").Extent | import("maptalks").PointExtent) => number[];
|
|
1141
|
+
_combine: (extent: import("maptalks").PositionType | import("maptalks").Extent | import("maptalks").PointExtent) => import("maptalks").Extent;
|
|
1142
|
+
combine: (extent: import("maptalks").PositionType | import("maptalks").Extent | import("maptalks").PointExtent) => any;
|
|
1143
|
+
intersection: (extent: import("maptalks").Extent | import("maptalks").PointExtent) => any;
|
|
1144
|
+
expand: (distance: number | import("maptalks").Size) => import("maptalks").PointExtent | import("maptalks").Extent;
|
|
1145
|
+
_expand: (distance: number | import("maptalks").Size) => import("maptalks").Extent;
|
|
1146
|
+
toJSON: () => import("maptalks").JsonExtent;
|
|
1147
|
+
toArray: (out?: import("maptalks").PositionType[]) => import("maptalks").PositionType[];
|
|
1148
|
+
toString: () => string;
|
|
1149
|
+
copy: () => import("maptalks").PointExtent | import("maptalks").Extent;
|
|
1150
|
+
convertTo: {
|
|
1151
|
+
(fn: (p: import("maptalks").Point) => import("maptalks").Point, out?: import("maptalks").Extent | import("maptalks").PointExtent): import("maptalks").Extent | import("maptalks").PointExtent;
|
|
1152
|
+
(fn: (p: import("maptalks").Coordinate) => import("maptalks").Coordinate, out?: import("maptalks").Extent | import("maptalks").PointExtent): import("maptalks").Extent | import("maptalks").PointExtent;
|
|
1153
|
+
};
|
|
1154
|
+
_project: (ext: import("maptalks").Extent | import("maptalks").PointExtent) => void;
|
|
1155
|
+
} | undefined;
|
|
1156
|
+
limitExtentOnMaxExtent?: boolean | undefined;
|
|
1157
|
+
fixCenterOnResize?: boolean | undefined;
|
|
1158
|
+
checkSize?: boolean | undefined;
|
|
1159
|
+
checkSizeInterval?: number | undefined;
|
|
1160
|
+
renderer?: (import("maptalks").MapRendererType | import("maptalks").MapRendererType[]) | undefined;
|
|
1161
|
+
cascadePitches?: Array<number> | undefined;
|
|
1162
|
+
renderable?: boolean | undefined;
|
|
1163
|
+
clickTimeThreshold?: number | undefined;
|
|
1164
|
+
stopRenderOnOffscreen?: boolean | undefined;
|
|
1165
|
+
preventWheelScroll?: boolean | undefined;
|
|
1166
|
+
preventTouch?: boolean | undefined;
|
|
1167
|
+
supportPluginEvent?: boolean | undefined;
|
|
1168
|
+
switchDragButton?: boolean | undefined;
|
|
1169
|
+
mousemoveThrottleTime?: number | undefined;
|
|
1170
|
+
mousemoveThrottleEnable?: boolean | undefined;
|
|
1171
|
+
maxFPS?: number | undefined;
|
|
1172
|
+
debug?: boolean | undefined;
|
|
1173
|
+
spatialReference?: {
|
|
1174
|
+
projection: string | {
|
|
1175
|
+
code: string;
|
|
1176
|
+
is: (code: string) => boolean;
|
|
1177
|
+
project: ((p: import("maptalks").Coordinate) => import("maptalks").Coordinate) & ((lnglat: import("maptalks").Coordinate, out?: import("maptalks").Coordinate) => import("maptalks").Coordinate);
|
|
1178
|
+
unproject: ((p: import("maptalks").Coordinate) => import("maptalks").Coordinate) & ((pLnglat: import("maptalks").Coordinate, out?: import("maptalks").Coordinate) => import("maptalks").Coordinate);
|
|
1179
|
+
projectCoords: (coordinates: import("maptalks").Coordinate[] | import("maptalks").Coordinate[][] | import("maptalks").Coordinate[][][], antiMeridian?: boolean) => import("maptalks").Coordinate[] | import("maptalks").Coordinate[][] | import("maptalks").Coordinate[][][];
|
|
1180
|
+
unprojectCoords: (projCoords: import("maptalks").Coordinate[] | import("maptalks").Coordinate[][] | import("maptalks").Coordinate[][][]) => import("maptalks").Coordinate[] | import("maptalks").Coordinate[][] | import("maptalks").Coordinate[][][];
|
|
1181
|
+
isSphere: () => boolean;
|
|
1182
|
+
isOutSphere: (pcoord: import("maptalks").Coordinate) => boolean;
|
|
1183
|
+
wrapCoord: (pcoord: import("maptalks").Coordinate) => import("maptalks").Coordinate;
|
|
1184
|
+
getCircum: () => Record<string, number>;
|
|
1185
|
+
getSphereExtent: () => import("maptalks").Extent;
|
|
1186
|
+
rad: number;
|
|
1187
|
+
metersPerDegree: number;
|
|
1188
|
+
maxLatitude: number;
|
|
1189
|
+
measure: string;
|
|
1190
|
+
sphere: {
|
|
1191
|
+
radius: number;
|
|
1192
|
+
measureLenBetween: (c1: import("maptalks").CoordsLike, c2: import("maptalks").CoordsLike, ignoreAltitude?: boolean) => number;
|
|
1193
|
+
measureArea: (coordinates: import("maptalks").CoordsLike[]) => number;
|
|
1194
|
+
locate: (c: import("maptalks").CoordsLike, xDist: number, yDist: number, out?: import("maptalks").Coordinate) => import("maptalks").Coordinate;
|
|
1195
|
+
_locate: (c: import("maptalks").Coordinate, xDist: number, yDist: number) => import("maptalks").WithNull<import("maptalks").Coordinate>;
|
|
1196
|
+
rotate: (c: import("maptalks").CoordsLike, pivot: import("maptalks").Coordinate, angle: number) => import("maptalks").Coordinate;
|
|
1197
|
+
_rotate: (c: import("maptalks").Coordinate, pivot: import("maptalks").Coordinate, angle: number) => import("maptalks").Coordinate;
|
|
1198
|
+
};
|
|
1199
|
+
measureLenBetween: (c1: import("maptalks").CoordsLike, c2: import("maptalks").CoordsLike) => number;
|
|
1200
|
+
measureArea: (coordinates: import("maptalks").Coordinate[]) => number;
|
|
1201
|
+
_locate: (c: import("maptalks").CoordsLike, xDist: number, yDist: number) => any;
|
|
1202
|
+
locate: (c: import("maptalks").CoordsLike, xDist: number, yDist: number, out?: import("maptalks").Coordinate) => any;
|
|
1203
|
+
_rotate: (c: import("maptalks").Coordinate, pivot: import("maptalks").Coordinate, angle: number) => any;
|
|
1204
|
+
rotate: (c: import("maptalks").CoordsLike, pivot: import("maptalks").Coordinate, angle: number) => any;
|
|
1205
|
+
measureLength: (c1: import("maptalks").Coordinate, c2: import("maptalks").Coordinate) => number;
|
|
1206
|
+
} | {
|
|
1207
|
+
code: string;
|
|
1208
|
+
is: (code: string) => boolean;
|
|
1209
|
+
project: ((p: import("maptalks").Coordinate) => import("maptalks").Coordinate) & ((p: import("maptalks").Coordinate, out?: import("maptalks").Coordinate) => import("maptalks").Coordinate);
|
|
1210
|
+
unproject: ((p: import("maptalks").Coordinate) => import("maptalks").Coordinate) & ((p: import("maptalks").Coordinate, out?: import("maptalks").Coordinate) => import("maptalks").Coordinate);
|
|
1211
|
+
projectCoords: (coordinates: import("maptalks").Coordinate[] | import("maptalks").Coordinate[][] | import("maptalks").Coordinate[][][], antiMeridian?: boolean) => import("maptalks").Coordinate[] | import("maptalks").Coordinate[][] | import("maptalks").Coordinate[][][];
|
|
1212
|
+
unprojectCoords: (projCoords: import("maptalks").Coordinate[] | import("maptalks").Coordinate[][] | import("maptalks").Coordinate[][][]) => import("maptalks").Coordinate[] | import("maptalks").Coordinate[][] | import("maptalks").Coordinate[][][];
|
|
1213
|
+
isSphere: () => boolean;
|
|
1214
|
+
isOutSphere: (pcoord: import("maptalks").Coordinate) => boolean;
|
|
1215
|
+
wrapCoord: (pcoord: import("maptalks").Coordinate) => import("maptalks").Coordinate;
|
|
1216
|
+
getCircum: () => Record<string, number>;
|
|
1217
|
+
getSphereExtent: () => import("maptalks").Extent;
|
|
1218
|
+
aliases: string[];
|
|
1219
|
+
measure: string;
|
|
1220
|
+
sphere: {
|
|
1221
|
+
radius: number;
|
|
1222
|
+
measureLenBetween: (c1: import("maptalks").CoordsLike, c2: import("maptalks").CoordsLike, ignoreAltitude?: boolean) => number;
|
|
1223
|
+
measureArea: (coordinates: import("maptalks").CoordsLike[]) => number;
|
|
1224
|
+
locate: (c: import("maptalks").CoordsLike, xDist: number, yDist: number, out?: import("maptalks").Coordinate) => import("maptalks").Coordinate;
|
|
1225
|
+
_locate: (c: import("maptalks").Coordinate, xDist: number, yDist: number) => import("maptalks").WithNull<import("maptalks").Coordinate>;
|
|
1226
|
+
rotate: (c: import("maptalks").CoordsLike, pivot: import("maptalks").Coordinate, angle: number) => import("maptalks").Coordinate;
|
|
1227
|
+
_rotate: (c: import("maptalks").Coordinate, pivot: import("maptalks").Coordinate, angle: number) => import("maptalks").Coordinate;
|
|
1228
|
+
};
|
|
1229
|
+
measureLenBetween: (c1: import("maptalks").CoordsLike, c2: import("maptalks").CoordsLike) => number;
|
|
1230
|
+
measureArea: (coordinates: import("maptalks").Coordinate[]) => number;
|
|
1231
|
+
_locate: (c: import("maptalks").CoordsLike, xDist: number, yDist: number) => any;
|
|
1232
|
+
locate: (c: import("maptalks").CoordsLike, xDist: number, yDist: number, out?: import("maptalks").Coordinate) => any;
|
|
1233
|
+
_rotate: (c: import("maptalks").Coordinate, pivot: import("maptalks").Coordinate, angle: number) => any;
|
|
1234
|
+
rotate: (c: import("maptalks").CoordsLike, pivot: import("maptalks").Coordinate, angle: number) => any;
|
|
1235
|
+
measureLength: (c1: import("maptalks").Coordinate, c2: import("maptalks").Coordinate) => number;
|
|
1236
|
+
} | {
|
|
1237
|
+
code: string;
|
|
1238
|
+
is: (code: string) => boolean;
|
|
1239
|
+
project: (p: import("maptalks").Coordinate) => import("maptalks").Coordinate;
|
|
1240
|
+
unproject: (p: import("maptalks").Coordinate) => import("maptalks").Coordinate;
|
|
1241
|
+
projectCoords: (coordinates: import("maptalks").Coordinate[] | import("maptalks").Coordinate[][] | import("maptalks").Coordinate[][][], antiMeridian?: boolean) => import("maptalks").Coordinate[] | import("maptalks").Coordinate[][] | import("maptalks").Coordinate[][][];
|
|
1242
|
+
unprojectCoords: (projCoords: import("maptalks").Coordinate[] | import("maptalks").Coordinate[][] | import("maptalks").Coordinate[][][]) => import("maptalks").Coordinate[] | import("maptalks").Coordinate[][] | import("maptalks").Coordinate[][][];
|
|
1243
|
+
isSphere: () => boolean;
|
|
1244
|
+
isOutSphere: (pcoord: import("maptalks").Coordinate) => boolean;
|
|
1245
|
+
wrapCoord: (pcoord: import("maptalks").Coordinate) => import("maptalks").Coordinate;
|
|
1246
|
+
getCircum: () => Record<string, number>;
|
|
1247
|
+
getSphereExtent: () => import("maptalks").Extent;
|
|
1248
|
+
aliases: string[];
|
|
1249
|
+
centralMeridian: number;
|
|
1250
|
+
create: (params: Partial<import("maptalks").EPSG9807ProjectionParams>) => {
|
|
1251
|
+
code: string;
|
|
1252
|
+
is(code: string): boolean;
|
|
1253
|
+
project(p: import("maptalks").Coordinate): import("maptalks").Coordinate;
|
|
1254
|
+
unproject(p: import("maptalks").Coordinate): import("maptalks").Coordinate;
|
|
1255
|
+
projectCoords(coordinates: import("maptalks").Coordinate[] | import("maptalks").Coordinate[][] | import("maptalks").Coordinate[][][], antiMeridian?: boolean): import("maptalks").Coordinate[] | import("maptalks").Coordinate[][] | import("maptalks").Coordinate[][][];
|
|
1256
|
+
unprojectCoords(projCoords: import("maptalks").Coordinate[] | import("maptalks").Coordinate[][] | import("maptalks").Coordinate[][][]): import("maptalks").Coordinate[] | import("maptalks").Coordinate[][] | import("maptalks").Coordinate[][][];
|
|
1257
|
+
isSphere(): boolean;
|
|
1258
|
+
isOutSphere(pcoord: import("maptalks").Coordinate): boolean;
|
|
1259
|
+
wrapCoord(pcoord: import("maptalks").Coordinate): import("maptalks").Coordinate;
|
|
1260
|
+
getCircum(): Record<string, number>;
|
|
1261
|
+
getSphereExtent(): import("maptalks").Extent;
|
|
1262
|
+
} & {
|
|
1263
|
+
code: string;
|
|
1264
|
+
aliases: string[];
|
|
1265
|
+
centralMeridian: number;
|
|
1266
|
+
project: (p: import("maptalks").Coordinate, out?: import("maptalks").Coordinate) => import("maptalks").Coordinate;
|
|
1267
|
+
unproject: (p: import("maptalks").Coordinate, out?: import("maptalks").Coordinate) => import("maptalks").Coordinate;
|
|
1268
|
+
} & {
|
|
1269
|
+
measure: string;
|
|
1270
|
+
sphere: {
|
|
1271
|
+
radius: number;
|
|
1272
|
+
measureLenBetween(c1: import("maptalks").CoordinateJson | import("maptalks").Coordinate, c2: import("maptalks").CoordinateJson | import("maptalks").Coordinate, ignoreAltitude?: boolean): number;
|
|
1273
|
+
measureArea(coordinates: (import("maptalks").CoordinateJson | import("maptalks").Coordinate)[]): number;
|
|
1274
|
+
locate(c: import("maptalks").CoordinateJson | import("maptalks").Coordinate, xDist: number, yDist: number, out?: import("maptalks").Coordinate): import("maptalks").Coordinate;
|
|
1275
|
+
_locate(c: import("maptalks").Coordinate, xDist: number, yDist: number): import("maptalks").Coordinate;
|
|
1276
|
+
rotate(c: import("maptalks").CoordinateJson | import("maptalks").Coordinate, pivot: import("maptalks").Coordinate, angle: number): import("maptalks").Coordinate;
|
|
1277
|
+
_rotate(c: import("maptalks").Coordinate, pivot: import("maptalks").Coordinate, angle: number): import("maptalks").Coordinate;
|
|
1278
|
+
};
|
|
1279
|
+
measureLenBetween(c1: import("maptalks").CoordinateJson | import("maptalks").Coordinate, c2: import("maptalks").CoordinateJson | import("maptalks").Coordinate): number;
|
|
1280
|
+
measureArea(coordinates: import("maptalks").Coordinate[]): number;
|
|
1281
|
+
_locate(c: import("maptalks").CoordinateJson | import("maptalks").Coordinate, xDist: number, yDist: number): any;
|
|
1282
|
+
locate(c: import("maptalks").CoordinateJson | import("maptalks").Coordinate, xDist: number, yDist: number, out?: import("maptalks").Coordinate): any;
|
|
1283
|
+
_rotate(c: import("maptalks").Coordinate, pivot: import("maptalks").Coordinate, angle: number): any;
|
|
1284
|
+
rotate(c: import("maptalks").CoordinateJson | import("maptalks").Coordinate, pivot: import("maptalks").Coordinate, angle: number): any;
|
|
1285
|
+
} & {
|
|
1286
|
+
measureLength: (c1: import("maptalks").Coordinate, c2: import("maptalks").Coordinate) => number;
|
|
1287
|
+
};
|
|
1288
|
+
} | {
|
|
1289
|
+
code: string;
|
|
1290
|
+
is: (code: string) => boolean;
|
|
1291
|
+
project: ((p: import("maptalks").Coordinate) => import("maptalks").Coordinate) & ((p: import("maptalks").Coordinate, out?: import("maptalks").Coordinate) => import("maptalks").Coordinate);
|
|
1292
|
+
unproject: ((p: import("maptalks").Coordinate) => import("maptalks").Coordinate) & ((p: import("maptalks").Coordinate, out?: import("maptalks").Coordinate) => import("maptalks").Coordinate);
|
|
1293
|
+
projectCoords: (coordinates: import("maptalks").Coordinate[] | import("maptalks").Coordinate[][] | import("maptalks").Coordinate[][][], antiMeridian?: boolean) => import("maptalks").Coordinate[] | import("maptalks").Coordinate[][] | import("maptalks").Coordinate[][][];
|
|
1294
|
+
unprojectCoords: (projCoords: import("maptalks").Coordinate[] | import("maptalks").Coordinate[][] | import("maptalks").Coordinate[][][]) => import("maptalks").Coordinate[] | import("maptalks").Coordinate[][] | import("maptalks").Coordinate[][][];
|
|
1295
|
+
isSphere: () => boolean;
|
|
1296
|
+
isOutSphere: (pcoord: import("maptalks").Coordinate) => boolean;
|
|
1297
|
+
wrapCoord: (pcoord: import("maptalks").Coordinate) => import("maptalks").Coordinate;
|
|
1298
|
+
getCircum: () => Record<string, number>;
|
|
1299
|
+
getSphereExtent: () => import("maptalks").Extent;
|
|
1300
|
+
measure: string;
|
|
1301
|
+
sphere: {
|
|
1302
|
+
radius: number;
|
|
1303
|
+
measureLenBetween: (c1: import("maptalks").CoordsLike, c2: import("maptalks").CoordsLike, ignoreAltitude?: boolean) => number;
|
|
1304
|
+
measureArea: (coordinates: import("maptalks").CoordsLike[]) => number;
|
|
1305
|
+
locate: (c: import("maptalks").CoordsLike, xDist: number, yDist: number, out?: import("maptalks").Coordinate) => import("maptalks").Coordinate;
|
|
1306
|
+
_locate: (c: import("maptalks").Coordinate, xDist: number, yDist: number) => import("maptalks").WithNull<import("maptalks").Coordinate>;
|
|
1307
|
+
rotate: (c: import("maptalks").CoordsLike, pivot: import("maptalks").Coordinate, angle: number) => import("maptalks").Coordinate;
|
|
1308
|
+
_rotate: (c: import("maptalks").Coordinate, pivot: import("maptalks").Coordinate, angle: number) => import("maptalks").Coordinate;
|
|
1309
|
+
};
|
|
1310
|
+
measureLenBetween: (c1: import("maptalks").CoordsLike, c2: import("maptalks").CoordsLike) => number;
|
|
1311
|
+
measureArea: (coordinates: import("maptalks").CoordsLike[]) => number;
|
|
1312
|
+
_locate: (c: import("maptalks").Coordinate, xDist: number, yDist: number) => any;
|
|
1313
|
+
locate: (c: import("maptalks").CoordsLike, xDist: number, yDist: number, out?: import("maptalks").Coordinate) => any;
|
|
1314
|
+
_rotate: (c: import("maptalks").Coordinate, pivot: import("maptalks").Coordinate, angle: number) => any;
|
|
1315
|
+
rotate: (c: import("maptalks").CoordsLike, pivot: import("maptalks").Coordinate, angle: number) => any;
|
|
1316
|
+
measureLength: (c1: import("maptalks").Coordinate, c2: import("maptalks").Coordinate) => number;
|
|
1317
|
+
EARTHRADIUS: number;
|
|
1318
|
+
MCBAND: number[];
|
|
1319
|
+
LLBAND: number[];
|
|
1320
|
+
MC2LL: number[][];
|
|
1321
|
+
LL2MC: number[][];
|
|
1322
|
+
convertMC2LL: (cB: import("maptalks").Coordinate, out?: import("maptalks").Coordinate) => import("maptalks").Coordinate;
|
|
1323
|
+
convertLL2MC: (T: import("maptalks").Coordinate, out?: import("maptalks").Coordinate) => import("maptalks").Coordinate;
|
|
1324
|
+
convertor: (cC: import("maptalks").Coordinate, cD: number, out?: import("maptalks").Coordinate) => import("maptalks").Coordinate;
|
|
1325
|
+
toRadians: (T: number) => number;
|
|
1326
|
+
toDegrees: (T: number) => number;
|
|
1327
|
+
getRange: (cC: number, cB: number, T: number) => number;
|
|
1328
|
+
getLoop: (cC: number, cB: number, T: number) => number;
|
|
1329
|
+
} | {
|
|
1330
|
+
code: string;
|
|
1331
|
+
is: (code: string) => boolean;
|
|
1332
|
+
project: (p: import("maptalks").Coordinate) => import("maptalks").Coordinate;
|
|
1333
|
+
unproject: (p: import("maptalks").Coordinate) => import("maptalks").Coordinate;
|
|
1334
|
+
projectCoords: (coordinates: import("maptalks").Coordinate[] | import("maptalks").Coordinate[][] | import("maptalks").Coordinate[][][], antiMeridian?: boolean) => import("maptalks").Coordinate[] | import("maptalks").Coordinate[][] | import("maptalks").Coordinate[][][];
|
|
1335
|
+
unprojectCoords: (projCoords: import("maptalks").Coordinate[] | import("maptalks").Coordinate[][] | import("maptalks").Coordinate[][][]) => import("maptalks").Coordinate[] | import("maptalks").Coordinate[][] | import("maptalks").Coordinate[][][];
|
|
1336
|
+
isSphere: () => boolean;
|
|
1337
|
+
isOutSphere: (pcoord: import("maptalks").Coordinate) => boolean;
|
|
1338
|
+
wrapCoord: (pcoord: import("maptalks").Coordinate) => import("maptalks").Coordinate;
|
|
1339
|
+
getCircum: () => Record<string, number>;
|
|
1340
|
+
getSphereExtent: () => import("maptalks").Extent;
|
|
1341
|
+
aliases: string[] & any[];
|
|
1342
|
+
centralMeridian: number;
|
|
1343
|
+
create: ((params: Partial<import("maptalks").EPSG9807ProjectionParams>) => {
|
|
1344
|
+
code: string;
|
|
1345
|
+
is(code: string): boolean;
|
|
1346
|
+
project(p: import("maptalks").Coordinate): import("maptalks").Coordinate;
|
|
1347
|
+
unproject(p: import("maptalks").Coordinate): import("maptalks").Coordinate;
|
|
1348
|
+
projectCoords(coordinates: import("maptalks").Coordinate[] | import("maptalks").Coordinate[][] | import("maptalks").Coordinate[][][], antiMeridian?: boolean): import("maptalks").Coordinate[] | import("maptalks").Coordinate[][] | import("maptalks").Coordinate[][][];
|
|
1349
|
+
unprojectCoords(projCoords: import("maptalks").Coordinate[] | import("maptalks").Coordinate[][] | import("maptalks").Coordinate[][][]): import("maptalks").Coordinate[] | import("maptalks").Coordinate[][] | import("maptalks").Coordinate[][][];
|
|
1350
|
+
isSphere(): boolean;
|
|
1351
|
+
isOutSphere(pcoord: import("maptalks").Coordinate): boolean;
|
|
1352
|
+
wrapCoord(pcoord: import("maptalks").Coordinate): import("maptalks").Coordinate;
|
|
1353
|
+
getCircum(): Record<string, number>;
|
|
1354
|
+
getSphereExtent(): import("maptalks").Extent;
|
|
1355
|
+
} & {
|
|
1356
|
+
code: string;
|
|
1357
|
+
aliases: string[];
|
|
1358
|
+
centralMeridian: number;
|
|
1359
|
+
project: (p: import("maptalks").Coordinate, out?: import("maptalks").Coordinate) => import("maptalks").Coordinate;
|
|
1360
|
+
unproject: (p: import("maptalks").Coordinate, out?: import("maptalks").Coordinate) => import("maptalks").Coordinate;
|
|
1361
|
+
} & {
|
|
1362
|
+
measure: string;
|
|
1363
|
+
sphere: {
|
|
1364
|
+
radius: number;
|
|
1365
|
+
measureLenBetween(c1: import("maptalks").CoordinateJson | import("maptalks").Coordinate, c2: import("maptalks").CoordinateJson | import("maptalks").Coordinate, ignoreAltitude?: boolean): number;
|
|
1366
|
+
measureArea(coordinates: (import("maptalks").CoordinateJson | import("maptalks").Coordinate)[]): number;
|
|
1367
|
+
locate(c: import("maptalks").CoordinateJson | import("maptalks").Coordinate, xDist: number, yDist: number, out?: import("maptalks").Coordinate): import("maptalks").Coordinate;
|
|
1368
|
+
_locate(c: import("maptalks").Coordinate, xDist: number, yDist: number): import("maptalks").Coordinate;
|
|
1369
|
+
rotate(c: import("maptalks").CoordinateJson | import("maptalks").Coordinate, pivot: import("maptalks").Coordinate, angle: number): import("maptalks").Coordinate;
|
|
1370
|
+
_rotate(c: import("maptalks").Coordinate, pivot: import("maptalks").Coordinate, angle: number): import("maptalks").Coordinate;
|
|
1371
|
+
};
|
|
1372
|
+
measureLenBetween(c1: import("maptalks").CoordinateJson | import("maptalks").Coordinate, c2: import("maptalks").CoordinateJson | import("maptalks").Coordinate): number;
|
|
1373
|
+
measureArea(coordinates: import("maptalks").Coordinate[]): number;
|
|
1374
|
+
_locate(c: import("maptalks").CoordinateJson | import("maptalks").Coordinate, xDist: number, yDist: number): any;
|
|
1375
|
+
locate(c: import("maptalks").CoordinateJson | import("maptalks").Coordinate, xDist: number, yDist: number, out?: import("maptalks").Coordinate): any;
|
|
1376
|
+
_rotate(c: import("maptalks").Coordinate, pivot: import("maptalks").Coordinate, angle: number): any;
|
|
1377
|
+
rotate(c: import("maptalks").CoordinateJson | import("maptalks").Coordinate, pivot: import("maptalks").Coordinate, angle: number): any;
|
|
1378
|
+
} & {
|
|
1379
|
+
measureLength: (c1: import("maptalks").Coordinate, c2: import("maptalks").Coordinate) => number;
|
|
1380
|
+
}) & ((params: Partial<import("maptalks").UTMProjectionParams>) => {
|
|
1381
|
+
code: string;
|
|
1382
|
+
is(code: string): boolean;
|
|
1383
|
+
project(p: import("maptalks").Coordinate): import("maptalks").Coordinate;
|
|
1384
|
+
unproject(p: import("maptalks").Coordinate): import("maptalks").Coordinate;
|
|
1385
|
+
projectCoords(coordinates: import("maptalks").Coordinate[] | import("maptalks").Coordinate[][] | import("maptalks").Coordinate[][][], antiMeridian?: boolean): import("maptalks").Coordinate[] | import("maptalks").Coordinate[][] | import("maptalks").Coordinate[][][];
|
|
1386
|
+
unprojectCoords(projCoords: import("maptalks").Coordinate[] | import("maptalks").Coordinate[][] | import("maptalks").Coordinate[][][]): import("maptalks").Coordinate[] | import("maptalks").Coordinate[][] | import("maptalks").Coordinate[][][];
|
|
1387
|
+
isSphere(): boolean;
|
|
1388
|
+
isOutSphere(pcoord: import("maptalks").Coordinate): boolean;
|
|
1389
|
+
wrapCoord(pcoord: import("maptalks").Coordinate): import("maptalks").Coordinate;
|
|
1390
|
+
getCircum(): Record<string, number>;
|
|
1391
|
+
getSphereExtent(): import("maptalks").Extent;
|
|
1392
|
+
} & {
|
|
1393
|
+
code: string;
|
|
1394
|
+
aliases: string[];
|
|
1395
|
+
centralMeridian: number;
|
|
1396
|
+
project: (p: import("maptalks").Coordinate, out?: import("maptalks").Coordinate) => import("maptalks").Coordinate;
|
|
1397
|
+
unproject: (p: import("maptalks").Coordinate, out?: import("maptalks").Coordinate) => import("maptalks").Coordinate;
|
|
1398
|
+
} & {
|
|
1399
|
+
measure: string;
|
|
1400
|
+
sphere: {
|
|
1401
|
+
radius: number;
|
|
1402
|
+
measureLenBetween(c1: import("maptalks").CoordinateJson | import("maptalks").Coordinate, c2: import("maptalks").CoordinateJson | import("maptalks").Coordinate, ignoreAltitude?: boolean): number;
|
|
1403
|
+
measureArea(coordinates: (import("maptalks").CoordinateJson | import("maptalks").Coordinate)[]): number;
|
|
1404
|
+
locate(c: import("maptalks").CoordinateJson | import("maptalks").Coordinate, xDist: number, yDist: number, out?: import("maptalks").Coordinate): import("maptalks").Coordinate;
|
|
1405
|
+
_locate(c: import("maptalks").Coordinate, xDist: number, yDist: number): import("maptalks").Coordinate;
|
|
1406
|
+
rotate(c: import("maptalks").CoordinateJson | import("maptalks").Coordinate, pivot: import("maptalks").Coordinate, angle: number): import("maptalks").Coordinate;
|
|
1407
|
+
_rotate(c: import("maptalks").Coordinate, pivot: import("maptalks").Coordinate, angle: number): import("maptalks").Coordinate;
|
|
1408
|
+
};
|
|
1409
|
+
measureLenBetween(c1: import("maptalks").CoordinateJson | import("maptalks").Coordinate, c2: import("maptalks").CoordinateJson | import("maptalks").Coordinate): number;
|
|
1410
|
+
measureArea(coordinates: import("maptalks").Coordinate[]): number;
|
|
1411
|
+
_locate(c: import("maptalks").CoordinateJson | import("maptalks").Coordinate, xDist: number, yDist: number): any;
|
|
1412
|
+
locate(c: import("maptalks").CoordinateJson | import("maptalks").Coordinate, xDist: number, yDist: number, out?: import("maptalks").Coordinate): any;
|
|
1413
|
+
_rotate(c: import("maptalks").Coordinate, pivot: import("maptalks").Coordinate, angle: number): any;
|
|
1414
|
+
rotate(c: import("maptalks").CoordinateJson | import("maptalks").Coordinate, pivot: import("maptalks").Coordinate, angle: number): any;
|
|
1415
|
+
} & {
|
|
1416
|
+
measureLength: (c1: import("maptalks").Coordinate, c2: import("maptalks").Coordinate) => number;
|
|
1417
|
+
});
|
|
1418
|
+
} | {
|
|
1419
|
+
code: string;
|
|
1420
|
+
is: (code: string) => boolean;
|
|
1421
|
+
project: ((p: import("maptalks").Coordinate) => import("maptalks").Coordinate) & ((p: import("maptalks").Coordinate, out?: import("maptalks").Coordinate) => import("maptalks").Coordinate);
|
|
1422
|
+
unproject: ((p: import("maptalks").Coordinate) => import("maptalks").Coordinate) & ((p: import("maptalks").Coordinate, out?: import("maptalks").Coordinate) => import("maptalks").Coordinate);
|
|
1423
|
+
projectCoords: (coordinates: import("maptalks").Coordinate[] | import("maptalks").Coordinate[][] | import("maptalks").Coordinate[][][], antiMeridian?: boolean) => import("maptalks").Coordinate[] | import("maptalks").Coordinate[][] | import("maptalks").Coordinate[][][];
|
|
1424
|
+
unprojectCoords: (projCoords: import("maptalks").Coordinate[] | import("maptalks").Coordinate[][] | import("maptalks").Coordinate[][][]) => import("maptalks").Coordinate[] | import("maptalks").Coordinate[][] | import("maptalks").Coordinate[][][];
|
|
1425
|
+
isSphere: () => boolean;
|
|
1426
|
+
isOutSphere: (pcoord: import("maptalks").Coordinate) => boolean;
|
|
1427
|
+
wrapCoord: (pcoord: import("maptalks").Coordinate) => import("maptalks").Coordinate;
|
|
1428
|
+
getCircum: () => Record<string, number>;
|
|
1429
|
+
getSphereExtent: () => import("maptalks").Extent;
|
|
1430
|
+
measure: string;
|
|
1431
|
+
measureLenBetween: (c1: import("maptalks").Coordinate | import("maptalks").CoordinateJson, c2: import("maptalks").Coordinate | import("maptalks").CoordinateJson, ignoreAltitude?: boolean) => number;
|
|
1432
|
+
measureArea: (coordinates: (import("maptalks").Coordinate | import("maptalks").CoordinateJson)[]) => number;
|
|
1433
|
+
locate: (c: import("maptalks").Coordinate | import("maptalks").CoordinateJson, xDist: number, yDist: number, out?: import("maptalks").Coordinate) => any;
|
|
1434
|
+
_locate: (c: import("maptalks").Coordinate, xDist: number, yDist: number) => import("maptalks").WithNull<import("maptalks").Coordinate>;
|
|
1435
|
+
rotate: (c: import("maptalks").Coordinate | import("maptalks").CoordinateJson, pivot: import("maptalks").Coordinate, angle: number) => any;
|
|
1436
|
+
_rotate: (c: import("maptalks").Coordinate, pivot: import("maptalks").Coordinate, angle: number) => import("maptalks").Coordinate;
|
|
1437
|
+
measureLength: (c1: import("maptalks").Coordinate, c2: import("maptalks").Coordinate) => number;
|
|
1438
|
+
};
|
|
1439
|
+
resolutions?: number[] | undefined;
|
|
1440
|
+
fullExtent?: {
|
|
1441
|
+
top: number;
|
|
1442
|
+
left: number;
|
|
1443
|
+
bottom: number;
|
|
1444
|
+
right: number;
|
|
1445
|
+
} | {
|
|
1446
|
+
xmin: number;
|
|
1447
|
+
xmax: number;
|
|
1448
|
+
ymin: number;
|
|
1449
|
+
ymax: number;
|
|
1450
|
+
} | undefined;
|
|
1451
|
+
} | undefined;
|
|
1452
|
+
autoPanAtEdge?: boolean | undefined;
|
|
1453
|
+
boxZoom?: boolean | undefined;
|
|
1454
|
+
boxZoomSymbol?: {
|
|
1455
|
+
markerType: string;
|
|
1456
|
+
markerLineWidth: number;
|
|
1457
|
+
markerLineColor: string;
|
|
1458
|
+
markerLineDasharray: Array<number>;
|
|
1459
|
+
markerFillOpacity: number;
|
|
1460
|
+
markerFill: string;
|
|
1461
|
+
markerWidth: number;
|
|
1462
|
+
markerHeight: number;
|
|
1463
|
+
} | undefined;
|
|
1464
|
+
onlyVisibleGeometryEvents?: boolean | undefined;
|
|
1465
|
+
compassControl?: boolean | undefined;
|
|
1466
|
+
layerSwitcherControl?: boolean | undefined;
|
|
1467
|
+
navControl?: boolean | undefined;
|
|
1468
|
+
resetControl?: boolean | undefined;
|
|
1469
|
+
cameraFarUndergroundInMeter?: number | undefined;
|
|
1470
|
+
onlyWebGL1?: boolean | undefined;
|
|
1471
|
+
preserveDrawingBuffer?: boolean | undefined;
|
|
1472
|
+
forceRedrawPerFrame?: boolean | undefined;
|
|
1473
|
+
extensions?: string[] | undefined;
|
|
1474
|
+
optionalExtensions?: string[] | undefined;
|
|
1475
|
+
};
|
|
1476
|
+
JSON_VERSION: "1.0";
|
|
1477
|
+
attributionControl?: {
|
|
1478
|
+
buildOn: () => HTMLDivElement;
|
|
1479
|
+
getContent: () => string | HTMLElement;
|
|
1480
|
+
setContent: (content: string | HTMLElement) => {
|
|
1481
|
+
buildOn(): HTMLDivElement;
|
|
1482
|
+
getContent(): string | HTMLElement;
|
|
1483
|
+
setContent(content: string | HTMLElement): /*elided*/ any;
|
|
1484
|
+
onAdd(): void;
|
|
1485
|
+
onRemove(): void;
|
|
1486
|
+
options: import("maptalks").ControlOptionsType & import("maptalks").AttributionOptionsTypeSpec;
|
|
1487
|
+
addTo(map: import("maptalks").Map): /*elided*/ any;
|
|
1488
|
+
update(): /*elided*/ any;
|
|
1489
|
+
getMap(): import("maptalks").Map;
|
|
1490
|
+
getPosition(): import("maptalks").DomPositionType;
|
|
1491
|
+
setPosition(position: import("maptalks").ControlPositionType): /*elided*/ any;
|
|
1492
|
+
getContainerPoint(): import("maptalks").Point;
|
|
1493
|
+
getContainer(): HTMLElement;
|
|
1494
|
+
getDOM(): HTMLElement;
|
|
1495
|
+
show(): /*elided*/ any;
|
|
1496
|
+
hide(): /*elided*/ any;
|
|
1497
|
+
isVisible(): boolean;
|
|
1498
|
+
remove(): /*elided*/ any;
|
|
1499
|
+
onConfig(conf: import("maptalks").ClassOptions): void;
|
|
1500
|
+
_eventMap?: Record<string, {
|
|
1501
|
+
handler: import("maptalks").HandlerFn;
|
|
1502
|
+
context: any;
|
|
1503
|
+
}[]>;
|
|
1504
|
+
_eventParent?: any;
|
|
1505
|
+
_eventTarget?: any;
|
|
1506
|
+
on(eventsOn: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
1507
|
+
addEventListener(...args: any[]): any;
|
|
1508
|
+
once(eventTypes: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
1509
|
+
off(eventsOff: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
1510
|
+
removeEventListener(...args: any[]): any;
|
|
1511
|
+
listens(eventType: string, handler?: import("maptalks").HandlerFn, context?: any): number;
|
|
1512
|
+
getListeningEvents(): string[];
|
|
1513
|
+
copyEventListeners(target: any): any;
|
|
1514
|
+
fire(eventType: string, param?: import("maptalks").BaseEventParamsType): any;
|
|
1515
|
+
_wrapOnceHandler(evtType: string, handler: import("maptalks").HandlerFn, context?: any): (...args: any[]) => void;
|
|
1516
|
+
_switch(to: string, eventRecords: import("maptalks").EventRecords, context?: any): any;
|
|
1517
|
+
_clearListeners(eventType: string): void;
|
|
1518
|
+
_clearAllListeners(): void;
|
|
1519
|
+
_setEventParent(parent: any): any;
|
|
1520
|
+
_setEventTarget(target: any): any;
|
|
1521
|
+
_fire(eventType: string, param: import("maptalks").BaseEventParamsType): any;
|
|
1522
|
+
proxyOptions(): /*elided*/ any;
|
|
1523
|
+
callInitHooks(): /*elided*/ any;
|
|
1524
|
+
_setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
1525
|
+
setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
1526
|
+
config(conf?: string | import("maptalks").ClassOptions, value?: any): /*elided*/ any | import("maptalks").ClassOptions;
|
|
1527
|
+
};
|
|
1528
|
+
onAdd: () => void;
|
|
1529
|
+
onRemove: () => void;
|
|
1530
|
+
options: {
|
|
1531
|
+
position?: string | {
|
|
1532
|
+
top?: number | string | undefined;
|
|
1533
|
+
bottom?: number | string | undefined;
|
|
1534
|
+
left?: number | string | undefined;
|
|
1535
|
+
right?: number | string | undefined;
|
|
1536
|
+
} | undefined;
|
|
1537
|
+
cssName?: (string | Array<string>) | undefined;
|
|
1538
|
+
content?: (string | HTMLElement) | undefined;
|
|
1539
|
+
custom?: boolean | undefined;
|
|
1540
|
+
};
|
|
1541
|
+
addTo: (map: import("maptalks").Map) => {
|
|
1542
|
+
buildOn(): HTMLDivElement;
|
|
1543
|
+
getContent(): string | HTMLElement;
|
|
1544
|
+
setContent(content: string | HTMLElement): /*elided*/ any;
|
|
1545
|
+
onAdd(): void;
|
|
1546
|
+
onRemove(): void;
|
|
1547
|
+
options: import("maptalks").ControlOptionsType & import("maptalks").AttributionOptionsTypeSpec;
|
|
1548
|
+
addTo(map: import("maptalks").Map): /*elided*/ any;
|
|
1549
|
+
update(): /*elided*/ any;
|
|
1550
|
+
getMap(): import("maptalks").Map;
|
|
1551
|
+
getPosition(): import("maptalks").DomPositionType;
|
|
1552
|
+
setPosition(position: import("maptalks").ControlPositionType): /*elided*/ any;
|
|
1553
|
+
getContainerPoint(): import("maptalks").Point;
|
|
1554
|
+
getContainer(): HTMLElement;
|
|
1555
|
+
getDOM(): HTMLElement;
|
|
1556
|
+
show(): /*elided*/ any;
|
|
1557
|
+
hide(): /*elided*/ any;
|
|
1558
|
+
isVisible(): boolean;
|
|
1559
|
+
remove(): /*elided*/ any;
|
|
1560
|
+
onConfig(conf: import("maptalks").ClassOptions): void;
|
|
1561
|
+
_eventMap?: Record<string, {
|
|
1562
|
+
handler: import("maptalks").HandlerFn;
|
|
1563
|
+
context: any;
|
|
1564
|
+
}[]>;
|
|
1565
|
+
_eventParent?: any;
|
|
1566
|
+
_eventTarget?: any;
|
|
1567
|
+
on(eventsOn: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
1568
|
+
addEventListener(...args: any[]): any;
|
|
1569
|
+
once(eventTypes: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
1570
|
+
off(eventsOff: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
1571
|
+
removeEventListener(...args: any[]): any;
|
|
1572
|
+
listens(eventType: string, handler?: import("maptalks").HandlerFn, context?: any): number;
|
|
1573
|
+
getListeningEvents(): string[];
|
|
1574
|
+
copyEventListeners(target: any): any;
|
|
1575
|
+
fire(eventType: string, param?: import("maptalks").BaseEventParamsType): any;
|
|
1576
|
+
_wrapOnceHandler(evtType: string, handler: import("maptalks").HandlerFn, context?: any): (...args: any[]) => void;
|
|
1577
|
+
_switch(to: string, eventRecords: import("maptalks").EventRecords, context?: any): any;
|
|
1578
|
+
_clearListeners(eventType: string): void;
|
|
1579
|
+
_clearAllListeners(): void;
|
|
1580
|
+
_setEventParent(parent: any): any;
|
|
1581
|
+
_setEventTarget(target: any): any;
|
|
1582
|
+
_fire(eventType: string, param: import("maptalks").BaseEventParamsType): any;
|
|
1583
|
+
proxyOptions(): /*elided*/ any;
|
|
1584
|
+
callInitHooks(): /*elided*/ any;
|
|
1585
|
+
_setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
1586
|
+
setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
1587
|
+
config(conf?: string | import("maptalks").ClassOptions, value?: any): /*elided*/ any | import("maptalks").ClassOptions;
|
|
1588
|
+
};
|
|
1589
|
+
update: () => {
|
|
1590
|
+
buildOn(): HTMLDivElement;
|
|
1591
|
+
getContent(): string | HTMLElement;
|
|
1592
|
+
setContent(content: string | HTMLElement): /*elided*/ any;
|
|
1593
|
+
onAdd(): void;
|
|
1594
|
+
onRemove(): void;
|
|
1595
|
+
options: import("maptalks").ControlOptionsType & import("maptalks").AttributionOptionsTypeSpec;
|
|
1596
|
+
addTo(map: import("maptalks").Map): /*elided*/ any;
|
|
1597
|
+
update(): /*elided*/ any;
|
|
1598
|
+
getMap(): import("maptalks").Map;
|
|
1599
|
+
getPosition(): import("maptalks").DomPositionType;
|
|
1600
|
+
setPosition(position: import("maptalks").ControlPositionType): /*elided*/ any;
|
|
1601
|
+
getContainerPoint(): import("maptalks").Point;
|
|
1602
|
+
getContainer(): HTMLElement;
|
|
1603
|
+
getDOM(): HTMLElement;
|
|
1604
|
+
show(): /*elided*/ any;
|
|
1605
|
+
hide(): /*elided*/ any;
|
|
1606
|
+
isVisible(): boolean;
|
|
1607
|
+
remove(): /*elided*/ any;
|
|
1608
|
+
onConfig(conf: import("maptalks").ClassOptions): void;
|
|
1609
|
+
_eventMap?: Record<string, {
|
|
1610
|
+
handler: import("maptalks").HandlerFn;
|
|
1611
|
+
context: any;
|
|
1612
|
+
}[]>;
|
|
1613
|
+
_eventParent?: any;
|
|
1614
|
+
_eventTarget?: any;
|
|
1615
|
+
on(eventsOn: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
1616
|
+
addEventListener(...args: any[]): any;
|
|
1617
|
+
once(eventTypes: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
1618
|
+
off(eventsOff: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
1619
|
+
removeEventListener(...args: any[]): any;
|
|
1620
|
+
listens(eventType: string, handler?: import("maptalks").HandlerFn, context?: any): number;
|
|
1621
|
+
getListeningEvents(): string[];
|
|
1622
|
+
copyEventListeners(target: any): any;
|
|
1623
|
+
fire(eventType: string, param?: import("maptalks").BaseEventParamsType): any;
|
|
1624
|
+
_wrapOnceHandler(evtType: string, handler: import("maptalks").HandlerFn, context?: any): (...args: any[]) => void;
|
|
1625
|
+
_switch(to: string, eventRecords: import("maptalks").EventRecords, context?: any): any;
|
|
1626
|
+
_clearListeners(eventType: string): void;
|
|
1627
|
+
_clearAllListeners(): void;
|
|
1628
|
+
_setEventParent(parent: any): any;
|
|
1629
|
+
_setEventTarget(target: any): any;
|
|
1630
|
+
_fire(eventType: string, param: import("maptalks").BaseEventParamsType): any;
|
|
1631
|
+
proxyOptions(): /*elided*/ any;
|
|
1632
|
+
callInitHooks(): /*elided*/ any;
|
|
1633
|
+
_setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
1634
|
+
setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
1635
|
+
config(conf?: string | import("maptalks").ClassOptions, value?: any): /*elided*/ any | import("maptalks").ClassOptions;
|
|
1636
|
+
};
|
|
1637
|
+
getMap: () => import("maptalks").Map;
|
|
1638
|
+
getPosition: () => import("maptalks").DomPositionType;
|
|
1639
|
+
setPosition: (position: import("maptalks").ControlPositionType) => {
|
|
1640
|
+
buildOn(): HTMLDivElement;
|
|
1641
|
+
getContent(): string | HTMLElement;
|
|
1642
|
+
setContent(content: string | HTMLElement): /*elided*/ any;
|
|
1643
|
+
onAdd(): void;
|
|
1644
|
+
onRemove(): void;
|
|
1645
|
+
options: import("maptalks").ControlOptionsType & import("maptalks").AttributionOptionsTypeSpec;
|
|
1646
|
+
addTo(map: import("maptalks").Map): /*elided*/ any;
|
|
1647
|
+
update(): /*elided*/ any;
|
|
1648
|
+
getMap(): import("maptalks").Map;
|
|
1649
|
+
getPosition(): import("maptalks").DomPositionType;
|
|
1650
|
+
setPosition(position: import("maptalks").ControlPositionType): /*elided*/ any;
|
|
1651
|
+
getContainerPoint(): import("maptalks").Point;
|
|
1652
|
+
getContainer(): HTMLElement;
|
|
1653
|
+
getDOM(): HTMLElement;
|
|
1654
|
+
show(): /*elided*/ any;
|
|
1655
|
+
hide(): /*elided*/ any;
|
|
1656
|
+
isVisible(): boolean;
|
|
1657
|
+
remove(): /*elided*/ any;
|
|
1658
|
+
onConfig(conf: import("maptalks").ClassOptions): void;
|
|
1659
|
+
_eventMap?: Record<string, {
|
|
1660
|
+
handler: import("maptalks").HandlerFn;
|
|
1661
|
+
context: any;
|
|
1662
|
+
}[]>;
|
|
1663
|
+
_eventParent?: any;
|
|
1664
|
+
_eventTarget?: any;
|
|
1665
|
+
on(eventsOn: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
1666
|
+
addEventListener(...args: any[]): any;
|
|
1667
|
+
once(eventTypes: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
1668
|
+
off(eventsOff: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
1669
|
+
removeEventListener(...args: any[]): any;
|
|
1670
|
+
listens(eventType: string, handler?: import("maptalks").HandlerFn, context?: any): number;
|
|
1671
|
+
getListeningEvents(): string[];
|
|
1672
|
+
copyEventListeners(target: any): any;
|
|
1673
|
+
fire(eventType: string, param?: import("maptalks").BaseEventParamsType): any;
|
|
1674
|
+
_wrapOnceHandler(evtType: string, handler: import("maptalks").HandlerFn, context?: any): (...args: any[]) => void;
|
|
1675
|
+
_switch(to: string, eventRecords: import("maptalks").EventRecords, context?: any): any;
|
|
1676
|
+
_clearListeners(eventType: string): void;
|
|
1677
|
+
_clearAllListeners(): void;
|
|
1678
|
+
_setEventParent(parent: any): any;
|
|
1679
|
+
_setEventTarget(target: any): any;
|
|
1680
|
+
_fire(eventType: string, param: import("maptalks").BaseEventParamsType): any;
|
|
1681
|
+
proxyOptions(): /*elided*/ any;
|
|
1682
|
+
callInitHooks(): /*elided*/ any;
|
|
1683
|
+
_setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
1684
|
+
setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
1685
|
+
config(conf?: string | import("maptalks").ClassOptions, value?: any): /*elided*/ any | import("maptalks").ClassOptions;
|
|
1686
|
+
};
|
|
1687
|
+
getContainerPoint: () => import("maptalks").Point;
|
|
1688
|
+
getContainer: () => HTMLElement;
|
|
1689
|
+
getDOM: () => HTMLElement;
|
|
1690
|
+
show: () => {
|
|
1691
|
+
buildOn(): HTMLDivElement;
|
|
1692
|
+
getContent(): string | HTMLElement;
|
|
1693
|
+
setContent(content: string | HTMLElement): /*elided*/ any;
|
|
1694
|
+
onAdd(): void;
|
|
1695
|
+
onRemove(): void;
|
|
1696
|
+
options: import("maptalks").ControlOptionsType & import("maptalks").AttributionOptionsTypeSpec;
|
|
1697
|
+
addTo(map: import("maptalks").Map): /*elided*/ any;
|
|
1698
|
+
update(): /*elided*/ any;
|
|
1699
|
+
getMap(): import("maptalks").Map;
|
|
1700
|
+
getPosition(): import("maptalks").DomPositionType;
|
|
1701
|
+
setPosition(position: import("maptalks").ControlPositionType): /*elided*/ any;
|
|
1702
|
+
getContainerPoint(): import("maptalks").Point;
|
|
1703
|
+
getContainer(): HTMLElement;
|
|
1704
|
+
getDOM(): HTMLElement;
|
|
1705
|
+
show(): /*elided*/ any;
|
|
1706
|
+
hide(): /*elided*/ any;
|
|
1707
|
+
isVisible(): boolean;
|
|
1708
|
+
remove(): /*elided*/ any;
|
|
1709
|
+
onConfig(conf: import("maptalks").ClassOptions): void;
|
|
1710
|
+
_eventMap?: Record<string, {
|
|
1711
|
+
handler: import("maptalks").HandlerFn;
|
|
1712
|
+
context: any;
|
|
1713
|
+
}[]>;
|
|
1714
|
+
_eventParent?: any;
|
|
1715
|
+
_eventTarget?: any;
|
|
1716
|
+
on(eventsOn: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
1717
|
+
addEventListener(...args: any[]): any;
|
|
1718
|
+
once(eventTypes: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
1719
|
+
off(eventsOff: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
1720
|
+
removeEventListener(...args: any[]): any;
|
|
1721
|
+
listens(eventType: string, handler?: import("maptalks").HandlerFn, context?: any): number;
|
|
1722
|
+
getListeningEvents(): string[];
|
|
1723
|
+
copyEventListeners(target: any): any;
|
|
1724
|
+
fire(eventType: string, param?: import("maptalks").BaseEventParamsType): any;
|
|
1725
|
+
_wrapOnceHandler(evtType: string, handler: import("maptalks").HandlerFn, context?: any): (...args: any[]) => void;
|
|
1726
|
+
_switch(to: string, eventRecords: import("maptalks").EventRecords, context?: any): any;
|
|
1727
|
+
_clearListeners(eventType: string): void;
|
|
1728
|
+
_clearAllListeners(): void;
|
|
1729
|
+
_setEventParent(parent: any): any;
|
|
1730
|
+
_setEventTarget(target: any): any;
|
|
1731
|
+
_fire(eventType: string, param: import("maptalks").BaseEventParamsType): any;
|
|
1732
|
+
proxyOptions(): /*elided*/ any;
|
|
1733
|
+
callInitHooks(): /*elided*/ any;
|
|
1734
|
+
_setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
1735
|
+
setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
1736
|
+
config(conf?: string | import("maptalks").ClassOptions, value?: any): /*elided*/ any | import("maptalks").ClassOptions;
|
|
1737
|
+
};
|
|
1738
|
+
hide: () => {
|
|
1739
|
+
buildOn(): HTMLDivElement;
|
|
1740
|
+
getContent(): string | HTMLElement;
|
|
1741
|
+
setContent(content: string | HTMLElement): /*elided*/ any;
|
|
1742
|
+
onAdd(): void;
|
|
1743
|
+
onRemove(): void;
|
|
1744
|
+
options: import("maptalks").ControlOptionsType & import("maptalks").AttributionOptionsTypeSpec;
|
|
1745
|
+
addTo(map: import("maptalks").Map): /*elided*/ any;
|
|
1746
|
+
update(): /*elided*/ any;
|
|
1747
|
+
getMap(): import("maptalks").Map;
|
|
1748
|
+
getPosition(): import("maptalks").DomPositionType;
|
|
1749
|
+
setPosition(position: import("maptalks").ControlPositionType): /*elided*/ any;
|
|
1750
|
+
getContainerPoint(): import("maptalks").Point;
|
|
1751
|
+
getContainer(): HTMLElement;
|
|
1752
|
+
getDOM(): HTMLElement;
|
|
1753
|
+
show(): /*elided*/ any;
|
|
1754
|
+
hide(): /*elided*/ any;
|
|
1755
|
+
isVisible(): boolean;
|
|
1756
|
+
remove(): /*elided*/ any;
|
|
1757
|
+
onConfig(conf: import("maptalks").ClassOptions): void;
|
|
1758
|
+
_eventMap?: Record<string, {
|
|
1759
|
+
handler: import("maptalks").HandlerFn;
|
|
1760
|
+
context: any;
|
|
1761
|
+
}[]>;
|
|
1762
|
+
_eventParent?: any;
|
|
1763
|
+
_eventTarget?: any;
|
|
1764
|
+
on(eventsOn: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
1765
|
+
addEventListener(...args: any[]): any;
|
|
1766
|
+
once(eventTypes: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
1767
|
+
off(eventsOff: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
1768
|
+
removeEventListener(...args: any[]): any;
|
|
1769
|
+
listens(eventType: string, handler?: import("maptalks").HandlerFn, context?: any): number;
|
|
1770
|
+
getListeningEvents(): string[];
|
|
1771
|
+
copyEventListeners(target: any): any;
|
|
1772
|
+
fire(eventType: string, param?: import("maptalks").BaseEventParamsType): any;
|
|
1773
|
+
_wrapOnceHandler(evtType: string, handler: import("maptalks").HandlerFn, context?: any): (...args: any[]) => void;
|
|
1774
|
+
_switch(to: string, eventRecords: import("maptalks").EventRecords, context?: any): any;
|
|
1775
|
+
_clearListeners(eventType: string): void;
|
|
1776
|
+
_clearAllListeners(): void;
|
|
1777
|
+
_setEventParent(parent: any): any;
|
|
1778
|
+
_setEventTarget(target: any): any;
|
|
1779
|
+
_fire(eventType: string, param: import("maptalks").BaseEventParamsType): any;
|
|
1780
|
+
proxyOptions(): /*elided*/ any;
|
|
1781
|
+
callInitHooks(): /*elided*/ any;
|
|
1782
|
+
_setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
1783
|
+
setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
1784
|
+
config(conf?: string | import("maptalks").ClassOptions, value?: any): /*elided*/ any | import("maptalks").ClassOptions;
|
|
1785
|
+
};
|
|
1786
|
+
isVisible: () => boolean;
|
|
1787
|
+
remove: () => {
|
|
1788
|
+
buildOn(): HTMLDivElement;
|
|
1789
|
+
getContent(): string | HTMLElement;
|
|
1790
|
+
setContent(content: string | HTMLElement): /*elided*/ any;
|
|
1791
|
+
onAdd(): void;
|
|
1792
|
+
onRemove(): void;
|
|
1793
|
+
options: import("maptalks").ControlOptionsType & import("maptalks").AttributionOptionsTypeSpec;
|
|
1794
|
+
addTo(map: import("maptalks").Map): /*elided*/ any;
|
|
1795
|
+
update(): /*elided*/ any;
|
|
1796
|
+
getMap(): import("maptalks").Map;
|
|
1797
|
+
getPosition(): import("maptalks").DomPositionType;
|
|
1798
|
+
setPosition(position: import("maptalks").ControlPositionType): /*elided*/ any;
|
|
1799
|
+
getContainerPoint(): import("maptalks").Point;
|
|
1800
|
+
getContainer(): HTMLElement;
|
|
1801
|
+
getDOM(): HTMLElement;
|
|
1802
|
+
show(): /*elided*/ any;
|
|
1803
|
+
hide(): /*elided*/ any;
|
|
1804
|
+
isVisible(): boolean;
|
|
1805
|
+
remove(): /*elided*/ any;
|
|
1806
|
+
onConfig(conf: import("maptalks").ClassOptions): void;
|
|
1807
|
+
_eventMap?: Record<string, {
|
|
1808
|
+
handler: import("maptalks").HandlerFn;
|
|
1809
|
+
context: any;
|
|
1810
|
+
}[]>;
|
|
1811
|
+
_eventParent?: any;
|
|
1812
|
+
_eventTarget?: any;
|
|
1813
|
+
on(eventsOn: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
1814
|
+
addEventListener(...args: any[]): any;
|
|
1815
|
+
once(eventTypes: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
1816
|
+
off(eventsOff: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
1817
|
+
removeEventListener(...args: any[]): any;
|
|
1818
|
+
listens(eventType: string, handler?: import("maptalks").HandlerFn, context?: any): number;
|
|
1819
|
+
getListeningEvents(): string[];
|
|
1820
|
+
copyEventListeners(target: any): any;
|
|
1821
|
+
fire(eventType: string, param?: import("maptalks").BaseEventParamsType): any;
|
|
1822
|
+
_wrapOnceHandler(evtType: string, handler: import("maptalks").HandlerFn, context?: any): (...args: any[]) => void;
|
|
1823
|
+
_switch(to: string, eventRecords: import("maptalks").EventRecords, context?: any): any;
|
|
1824
|
+
_clearListeners(eventType: string): void;
|
|
1825
|
+
_clearAllListeners(): void;
|
|
1826
|
+
_setEventParent(parent: any): any;
|
|
1827
|
+
_setEventTarget(target: any): any;
|
|
1828
|
+
_fire(eventType: string, param: import("maptalks").BaseEventParamsType): any;
|
|
1829
|
+
proxyOptions(): /*elided*/ any;
|
|
1830
|
+
callInitHooks(): /*elided*/ any;
|
|
1831
|
+
_setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
1832
|
+
setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
1833
|
+
config(conf?: string | import("maptalks").ClassOptions, value?: any): /*elided*/ any | import("maptalks").ClassOptions;
|
|
1834
|
+
};
|
|
1835
|
+
onConfig: (conf: import("maptalks").ClassOptions) => void;
|
|
1836
|
+
_eventMap?: Record<string, {
|
|
1837
|
+
handler: import("maptalks").HandlerFn;
|
|
1838
|
+
context: any;
|
|
1839
|
+
}[]> | undefined;
|
|
1840
|
+
_eventParent?: any;
|
|
1841
|
+
_eventTarget?: any;
|
|
1842
|
+
on: (eventsOn: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any) => any;
|
|
1843
|
+
addEventListener: (...args: any[]) => any;
|
|
1844
|
+
once: (eventTypes: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any) => any;
|
|
1845
|
+
off: (eventsOff: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any) => any;
|
|
1846
|
+
removeEventListener: (...args: any[]) => any;
|
|
1847
|
+
listens: (eventType: string, handler?: import("maptalks").HandlerFn, context?: any) => number;
|
|
1848
|
+
getListeningEvents: () => string[];
|
|
1849
|
+
copyEventListeners: (target: any) => any;
|
|
1850
|
+
fire: (eventType: string, param?: import("maptalks").BaseEventParamsType) => any;
|
|
1851
|
+
_wrapOnceHandler: (evtType: string, handler: import("maptalks").HandlerFn, context?: any) => (...args: any[]) => void;
|
|
1852
|
+
_switch: (to: string, eventRecords: import("maptalks").EventRecords, context?: any) => any;
|
|
1853
|
+
_clearListeners: (eventType: string) => void;
|
|
1854
|
+
_clearAllListeners: () => void;
|
|
1855
|
+
_setEventParent: (parent: any) => any;
|
|
1856
|
+
_setEventTarget: (target: any) => any;
|
|
1857
|
+
_fire: (eventType: string, param: import("maptalks").BaseEventParamsType) => any;
|
|
1858
|
+
proxyOptions: () => {
|
|
1859
|
+
buildOn(): HTMLDivElement;
|
|
1860
|
+
getContent(): string | HTMLElement;
|
|
1861
|
+
setContent(content: string | HTMLElement): /*elided*/ any;
|
|
1862
|
+
onAdd(): void;
|
|
1863
|
+
onRemove(): void;
|
|
1864
|
+
options: import("maptalks").ControlOptionsType & import("maptalks").AttributionOptionsTypeSpec;
|
|
1865
|
+
addTo(map: import("maptalks").Map): /*elided*/ any;
|
|
1866
|
+
update(): /*elided*/ any;
|
|
1867
|
+
getMap(): import("maptalks").Map;
|
|
1868
|
+
getPosition(): import("maptalks").DomPositionType;
|
|
1869
|
+
setPosition(position: import("maptalks").ControlPositionType): /*elided*/ any;
|
|
1870
|
+
getContainerPoint(): import("maptalks").Point;
|
|
1871
|
+
getContainer(): HTMLElement;
|
|
1872
|
+
getDOM(): HTMLElement;
|
|
1873
|
+
show(): /*elided*/ any;
|
|
1874
|
+
hide(): /*elided*/ any;
|
|
1875
|
+
isVisible(): boolean;
|
|
1876
|
+
remove(): /*elided*/ any;
|
|
1877
|
+
onConfig(conf: import("maptalks").ClassOptions): void;
|
|
1878
|
+
_eventMap?: Record<string, {
|
|
1879
|
+
handler: import("maptalks").HandlerFn;
|
|
1880
|
+
context: any;
|
|
1881
|
+
}[]>;
|
|
1882
|
+
_eventParent?: any;
|
|
1883
|
+
_eventTarget?: any;
|
|
1884
|
+
on(eventsOn: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
1885
|
+
addEventListener(...args: any[]): any;
|
|
1886
|
+
once(eventTypes: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
1887
|
+
off(eventsOff: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
1888
|
+
removeEventListener(...args: any[]): any;
|
|
1889
|
+
listens(eventType: string, handler?: import("maptalks").HandlerFn, context?: any): number;
|
|
1890
|
+
getListeningEvents(): string[];
|
|
1891
|
+
copyEventListeners(target: any): any;
|
|
1892
|
+
fire(eventType: string, param?: import("maptalks").BaseEventParamsType): any;
|
|
1893
|
+
_wrapOnceHandler(evtType: string, handler: import("maptalks").HandlerFn, context?: any): (...args: any[]) => void;
|
|
1894
|
+
_switch(to: string, eventRecords: import("maptalks").EventRecords, context?: any): any;
|
|
1895
|
+
_clearListeners(eventType: string): void;
|
|
1896
|
+
_clearAllListeners(): void;
|
|
1897
|
+
_setEventParent(parent: any): any;
|
|
1898
|
+
_setEventTarget(target: any): any;
|
|
1899
|
+
_fire(eventType: string, param: import("maptalks").BaseEventParamsType): any;
|
|
1900
|
+
proxyOptions(): /*elided*/ any;
|
|
1901
|
+
callInitHooks(): /*elided*/ any;
|
|
1902
|
+
_setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
1903
|
+
setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
1904
|
+
config(conf?: string | import("maptalks").ClassOptions, value?: any): /*elided*/ any | import("maptalks").ClassOptions;
|
|
1905
|
+
};
|
|
1906
|
+
callInitHooks: () => {
|
|
1907
|
+
buildOn(): HTMLDivElement;
|
|
1908
|
+
getContent(): string | HTMLElement;
|
|
1909
|
+
setContent(content: string | HTMLElement): /*elided*/ any;
|
|
1910
|
+
onAdd(): void;
|
|
1911
|
+
onRemove(): void;
|
|
1912
|
+
options: import("maptalks").ControlOptionsType & import("maptalks").AttributionOptionsTypeSpec;
|
|
1913
|
+
addTo(map: import("maptalks").Map): /*elided*/ any;
|
|
1914
|
+
update(): /*elided*/ any;
|
|
1915
|
+
getMap(): import("maptalks").Map;
|
|
1916
|
+
getPosition(): import("maptalks").DomPositionType;
|
|
1917
|
+
setPosition(position: import("maptalks").ControlPositionType): /*elided*/ any;
|
|
1918
|
+
getContainerPoint(): import("maptalks").Point;
|
|
1919
|
+
getContainer(): HTMLElement;
|
|
1920
|
+
getDOM(): HTMLElement;
|
|
1921
|
+
show(): /*elided*/ any;
|
|
1922
|
+
hide(): /*elided*/ any;
|
|
1923
|
+
isVisible(): boolean;
|
|
1924
|
+
remove(): /*elided*/ any;
|
|
1925
|
+
onConfig(conf: import("maptalks").ClassOptions): void;
|
|
1926
|
+
_eventMap?: Record<string, {
|
|
1927
|
+
handler: import("maptalks").HandlerFn;
|
|
1928
|
+
context: any;
|
|
1929
|
+
}[]>;
|
|
1930
|
+
_eventParent?: any;
|
|
1931
|
+
_eventTarget?: any;
|
|
1932
|
+
on(eventsOn: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
1933
|
+
addEventListener(...args: any[]): any;
|
|
1934
|
+
once(eventTypes: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
1935
|
+
off(eventsOff: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
1936
|
+
removeEventListener(...args: any[]): any;
|
|
1937
|
+
listens(eventType: string, handler?: import("maptalks").HandlerFn, context?: any): number;
|
|
1938
|
+
getListeningEvents(): string[];
|
|
1939
|
+
copyEventListeners(target: any): any;
|
|
1940
|
+
fire(eventType: string, param?: import("maptalks").BaseEventParamsType): any;
|
|
1941
|
+
_wrapOnceHandler(evtType: string, handler: import("maptalks").HandlerFn, context?: any): (...args: any[]) => void;
|
|
1942
|
+
_switch(to: string, eventRecords: import("maptalks").EventRecords, context?: any): any;
|
|
1943
|
+
_clearListeners(eventType: string): void;
|
|
1944
|
+
_clearAllListeners(): void;
|
|
1945
|
+
_setEventParent(parent: any): any;
|
|
1946
|
+
_setEventTarget(target: any): any;
|
|
1947
|
+
_fire(eventType: string, param: import("maptalks").BaseEventParamsType): any;
|
|
1948
|
+
proxyOptions(): /*elided*/ any;
|
|
1949
|
+
callInitHooks(): /*elided*/ any;
|
|
1950
|
+
_setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
1951
|
+
setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
1952
|
+
config(conf?: string | import("maptalks").ClassOptions, value?: any): /*elided*/ any | import("maptalks").ClassOptions;
|
|
1953
|
+
};
|
|
1954
|
+
_setOptions: (options: import("maptalks").ClassOptions) => {
|
|
1955
|
+
buildOn(): HTMLDivElement;
|
|
1956
|
+
getContent(): string | HTMLElement;
|
|
1957
|
+
setContent(content: string | HTMLElement): /*elided*/ any;
|
|
1958
|
+
onAdd(): void;
|
|
1959
|
+
onRemove(): void;
|
|
1960
|
+
options: import("maptalks").ControlOptionsType & import("maptalks").AttributionOptionsTypeSpec;
|
|
1961
|
+
addTo(map: import("maptalks").Map): /*elided*/ any;
|
|
1962
|
+
update(): /*elided*/ any;
|
|
1963
|
+
getMap(): import("maptalks").Map;
|
|
1964
|
+
getPosition(): import("maptalks").DomPositionType;
|
|
1965
|
+
setPosition(position: import("maptalks").ControlPositionType): /*elided*/ any;
|
|
1966
|
+
getContainerPoint(): import("maptalks").Point;
|
|
1967
|
+
getContainer(): HTMLElement;
|
|
1968
|
+
getDOM(): HTMLElement;
|
|
1969
|
+
show(): /*elided*/ any;
|
|
1970
|
+
hide(): /*elided*/ any;
|
|
1971
|
+
isVisible(): boolean;
|
|
1972
|
+
remove(): /*elided*/ any;
|
|
1973
|
+
onConfig(conf: import("maptalks").ClassOptions): void;
|
|
1974
|
+
_eventMap?: Record<string, {
|
|
1975
|
+
handler: import("maptalks").HandlerFn;
|
|
1976
|
+
context: any;
|
|
1977
|
+
}[]>;
|
|
1978
|
+
_eventParent?: any;
|
|
1979
|
+
_eventTarget?: any;
|
|
1980
|
+
on(eventsOn: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
1981
|
+
addEventListener(...args: any[]): any;
|
|
1982
|
+
once(eventTypes: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
1983
|
+
off(eventsOff: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
1984
|
+
removeEventListener(...args: any[]): any;
|
|
1985
|
+
listens(eventType: string, handler?: import("maptalks").HandlerFn, context?: any): number;
|
|
1986
|
+
getListeningEvents(): string[];
|
|
1987
|
+
copyEventListeners(target: any): any;
|
|
1988
|
+
fire(eventType: string, param?: import("maptalks").BaseEventParamsType): any;
|
|
1989
|
+
_wrapOnceHandler(evtType: string, handler: import("maptalks").HandlerFn, context?: any): (...args: any[]) => void;
|
|
1990
|
+
_switch(to: string, eventRecords: import("maptalks").EventRecords, context?: any): any;
|
|
1991
|
+
_clearListeners(eventType: string): void;
|
|
1992
|
+
_clearAllListeners(): void;
|
|
1993
|
+
_setEventParent(parent: any): any;
|
|
1994
|
+
_setEventTarget(target: any): any;
|
|
1995
|
+
_fire(eventType: string, param: import("maptalks").BaseEventParamsType): any;
|
|
1996
|
+
proxyOptions(): /*elided*/ any;
|
|
1997
|
+
callInitHooks(): /*elided*/ any;
|
|
1998
|
+
_setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
1999
|
+
setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
2000
|
+
config(conf?: string | import("maptalks").ClassOptions, value?: any): /*elided*/ any | import("maptalks").ClassOptions;
|
|
2001
|
+
};
|
|
2002
|
+
setOptions: (options: import("maptalks").ClassOptions) => {
|
|
2003
|
+
buildOn(): HTMLDivElement;
|
|
2004
|
+
getContent(): string | HTMLElement;
|
|
2005
|
+
setContent(content: string | HTMLElement): /*elided*/ any;
|
|
2006
|
+
onAdd(): void;
|
|
2007
|
+
onRemove(): void;
|
|
2008
|
+
options: import("maptalks").ControlOptionsType & import("maptalks").AttributionOptionsTypeSpec;
|
|
2009
|
+
addTo(map: import("maptalks").Map): /*elided*/ any;
|
|
2010
|
+
update(): /*elided*/ any;
|
|
2011
|
+
getMap(): import("maptalks").Map;
|
|
2012
|
+
getPosition(): import("maptalks").DomPositionType;
|
|
2013
|
+
setPosition(position: import("maptalks").ControlPositionType): /*elided*/ any;
|
|
2014
|
+
getContainerPoint(): import("maptalks").Point;
|
|
2015
|
+
getContainer(): HTMLElement;
|
|
2016
|
+
getDOM(): HTMLElement;
|
|
2017
|
+
show(): /*elided*/ any;
|
|
2018
|
+
hide(): /*elided*/ any;
|
|
2019
|
+
isVisible(): boolean;
|
|
2020
|
+
remove(): /*elided*/ any;
|
|
2021
|
+
onConfig(conf: import("maptalks").ClassOptions): void;
|
|
2022
|
+
_eventMap?: Record<string, {
|
|
2023
|
+
handler: import("maptalks").HandlerFn;
|
|
2024
|
+
context: any;
|
|
2025
|
+
}[]>;
|
|
2026
|
+
_eventParent?: any;
|
|
2027
|
+
_eventTarget?: any;
|
|
2028
|
+
on(eventsOn: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
2029
|
+
addEventListener(...args: any[]): any;
|
|
2030
|
+
once(eventTypes: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
2031
|
+
off(eventsOff: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
2032
|
+
removeEventListener(...args: any[]): any;
|
|
2033
|
+
listens(eventType: string, handler?: import("maptalks").HandlerFn, context?: any): number;
|
|
2034
|
+
getListeningEvents(): string[];
|
|
2035
|
+
copyEventListeners(target: any): any;
|
|
2036
|
+
fire(eventType: string, param?: import("maptalks").BaseEventParamsType): any;
|
|
2037
|
+
_wrapOnceHandler(evtType: string, handler: import("maptalks").HandlerFn, context?: any): (...args: any[]) => void;
|
|
2038
|
+
_switch(to: string, eventRecords: import("maptalks").EventRecords, context?: any): any;
|
|
2039
|
+
_clearListeners(eventType: string): void;
|
|
2040
|
+
_clearAllListeners(): void;
|
|
2041
|
+
_setEventParent(parent: any): any;
|
|
2042
|
+
_setEventTarget(target: any): any;
|
|
2043
|
+
_fire(eventType: string, param: import("maptalks").BaseEventParamsType): any;
|
|
2044
|
+
proxyOptions(): /*elided*/ any;
|
|
2045
|
+
callInitHooks(): /*elided*/ any;
|
|
2046
|
+
_setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
2047
|
+
setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
2048
|
+
config(conf?: string | import("maptalks").ClassOptions, value?: any): /*elided*/ any | import("maptalks").ClassOptions;
|
|
2049
|
+
};
|
|
2050
|
+
config: (conf?: string | import("maptalks").ClassOptions, value?: any) => {
|
|
2051
|
+
buildOn(): HTMLDivElement;
|
|
2052
|
+
getContent(): string | HTMLElement;
|
|
2053
|
+
setContent(content: string | HTMLElement): /*elided*/ any;
|
|
2054
|
+
onAdd(): void;
|
|
2055
|
+
onRemove(): void;
|
|
2056
|
+
options: import("maptalks").ControlOptionsType & import("maptalks").AttributionOptionsTypeSpec;
|
|
2057
|
+
addTo(map: import("maptalks").Map): /*elided*/ any;
|
|
2058
|
+
update(): /*elided*/ any;
|
|
2059
|
+
getMap(): import("maptalks").Map;
|
|
2060
|
+
getPosition(): import("maptalks").DomPositionType;
|
|
2061
|
+
setPosition(position: import("maptalks").ControlPositionType): /*elided*/ any;
|
|
2062
|
+
getContainerPoint(): import("maptalks").Point;
|
|
2063
|
+
getContainer(): HTMLElement;
|
|
2064
|
+
getDOM(): HTMLElement;
|
|
2065
|
+
show(): /*elided*/ any;
|
|
2066
|
+
hide(): /*elided*/ any;
|
|
2067
|
+
isVisible(): boolean;
|
|
2068
|
+
remove(): /*elided*/ any;
|
|
2069
|
+
onConfig(conf: import("maptalks").ClassOptions): void;
|
|
2070
|
+
_eventMap?: Record<string, {
|
|
2071
|
+
handler: import("maptalks").HandlerFn;
|
|
2072
|
+
context: any;
|
|
2073
|
+
}[]>;
|
|
2074
|
+
_eventParent?: any;
|
|
2075
|
+
_eventTarget?: any;
|
|
2076
|
+
on(eventsOn: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
2077
|
+
addEventListener(...args: any[]): any;
|
|
2078
|
+
once(eventTypes: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
2079
|
+
off(eventsOff: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
2080
|
+
removeEventListener(...args: any[]): any;
|
|
2081
|
+
listens(eventType: string, handler?: import("maptalks").HandlerFn, context?: any): number;
|
|
2082
|
+
getListeningEvents(): string[];
|
|
2083
|
+
copyEventListeners(target: any): any;
|
|
2084
|
+
fire(eventType: string, param?: import("maptalks").BaseEventParamsType): any;
|
|
2085
|
+
_wrapOnceHandler(evtType: string, handler: import("maptalks").HandlerFn, context?: any): (...args: any[]) => void;
|
|
2086
|
+
_switch(to: string, eventRecords: import("maptalks").EventRecords, context?: any): any;
|
|
2087
|
+
_clearListeners(eventType: string): void;
|
|
2088
|
+
_clearAllListeners(): void;
|
|
2089
|
+
_setEventParent(parent: any): any;
|
|
2090
|
+
_setEventTarget(target: any): any;
|
|
2091
|
+
_fire(eventType: string, param: import("maptalks").BaseEventParamsType): any;
|
|
2092
|
+
proxyOptions(): /*elided*/ any;
|
|
2093
|
+
callInitHooks(): /*elided*/ any;
|
|
2094
|
+
_setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
2095
|
+
setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
2096
|
+
config(conf?: string | import("maptalks").ClassOptions, value?: any): /*elided*/ any | import("maptalks").ClassOptions;
|
|
2097
|
+
} | import("maptalks").ClassOptions;
|
|
2098
|
+
} | undefined;
|
|
2099
|
+
isLoaded: () => boolean;
|
|
2100
|
+
getContainer: () => HTMLCanvasElement | HTMLDivElement;
|
|
2101
|
+
getSpatialReference: () => import("maptalks").SpatialReference;
|
|
2102
|
+
setSpatialReference: (ref: import("maptalks").SpatialReferenceType) => import("maptalks").Map;
|
|
2103
|
+
onConfig: (conf: {
|
|
2104
|
+
[key: string]: any;
|
|
2105
|
+
}) => import("maptalks").Map;
|
|
2106
|
+
getProjection: () => import("maptalks").ProjectionType;
|
|
2107
|
+
getFullExtent: () => import("maptalks").Extent;
|
|
2108
|
+
setCursor: (cursor: string) => import("maptalks").Map;
|
|
2109
|
+
resetCursor: () => import("maptalks").Map;
|
|
2110
|
+
getCenter: () => import("maptalks").Coordinate;
|
|
2111
|
+
setCenter: (center: import("maptalks").Coordinate, padding?: import("maptalks").MapPaddingType) => import("maptalks").Map;
|
|
2112
|
+
getSize: () => import("maptalks").Size;
|
|
2113
|
+
getContainerExtent: () => import("maptalks").PointExtent;
|
|
2114
|
+
getExtent: () => import("maptalks").Extent;
|
|
2115
|
+
getProjExtent: () => import("maptalks").Extent;
|
|
2116
|
+
getPrjExtent: () => import("maptalks").Extent;
|
|
2117
|
+
getMaxExtent: () => import("maptalks").Extent;
|
|
2118
|
+
setMaxExtent: (extent: import("maptalks").Extent) => import("maptalks").Map;
|
|
2119
|
+
getZoom: () => number;
|
|
2120
|
+
getZoomForScale: (scale: number, fromZoom?: number, isFraction?: boolean) => number;
|
|
2121
|
+
getZoomFromRes: (res: number) => number;
|
|
2122
|
+
setZoom: (zoom: number, options?: {
|
|
2123
|
+
animation: boolean;
|
|
2124
|
+
} | undefined) => import("maptalks").Map;
|
|
2125
|
+
getMaxZoom: () => number;
|
|
2126
|
+
setMaxZoom: (maxZoom: number) => import("maptalks").Map;
|
|
2127
|
+
getMinZoom: () => number;
|
|
2128
|
+
setMinZoom: (minZoom: number) => import("maptalks").Map;
|
|
2129
|
+
getMaxNativeZoom: () => number;
|
|
2130
|
+
getGLRes: () => number;
|
|
2131
|
+
getGLScale: (zoom?: number) => number;
|
|
2132
|
+
zoomIn: () => import("maptalks").Map;
|
|
2133
|
+
zoomOut: () => import("maptalks").Map;
|
|
2134
|
+
isZooming: () => boolean;
|
|
2135
|
+
isInteracting: () => boolean;
|
|
2136
|
+
setCenterAndZoom: (center: import("maptalks").Coordinate, zoom?: number) => import("maptalks").Map;
|
|
2137
|
+
getFitZoom: (extent: import("maptalks").Extent, isFraction?: boolean, padding?: import("maptalks").MapPaddingType) => number;
|
|
2138
|
+
getView: () => import("maptalks").MapViewType;
|
|
2139
|
+
setView: (view: import("maptalks").MapViewType) => import("maptalks").Map;
|
|
2140
|
+
getResolution: (zoom?: number) => number;
|
|
2141
|
+
getScale: (zoom?: number) => number;
|
|
2142
|
+
fitExtent: (extent: import("maptalks").ExtentLike, zoomOffset?: number, options?: import("maptalks").MapFitType, step?: ((frame: any) => void) | undefined) => import("maptalks").Map | {
|
|
2143
|
+
options: import("maptalks").AnimationOptionsPrivateType;
|
|
2144
|
+
playState: string;
|
|
2145
|
+
ready: boolean;
|
|
2146
|
+
finished: boolean;
|
|
2147
|
+
target?: any;
|
|
2148
|
+
duration: number;
|
|
2149
|
+
currentTime: number;
|
|
2150
|
+
startTime: number;
|
|
2151
|
+
play(): /*elided*/ any;
|
|
2152
|
+
pause(): /*elided*/ any;
|
|
2153
|
+
cancel(): /*elided*/ any;
|
|
2154
|
+
finish(): /*elided*/ any;
|
|
2155
|
+
reverse(): void;
|
|
2156
|
+
};
|
|
2157
|
+
getBaseLayer: () => import("maptalks").Layer;
|
|
2158
|
+
setBaseLayer: (baseLayer: import("maptalks").Layer) => import("maptalks").Map;
|
|
2159
|
+
removeBaseLayer: () => import("maptalks").Map;
|
|
2160
|
+
getLayers: (filter?: ((layer: import("maptalks").Layer) => boolean) | undefined) => Array<import("maptalks").Layer>;
|
|
2161
|
+
getLayer: (id: string) => import("maptalks").Layer | null;
|
|
2162
|
+
addLayer: (layers: import("maptalks").Layer | Array<import("maptalks").Layer>, ...otherLayers: Array<import("maptalks").Layer>) => import("maptalks").Map;
|
|
2163
|
+
removeLayer: (layers: import("maptalks").Layer | Array<import("maptalks").Layer>) => import("maptalks").Map;
|
|
2164
|
+
sortLayers: (layers: Array<import("maptalks").Layer>) => import("maptalks").Map;
|
|
2165
|
+
toDataURL: (options?: import("maptalks").MapDataURLType) => string | null;
|
|
2166
|
+
coordToPoint: (coordinate: import("maptalks").Coordinate, zoom?: number, out?: import("maptalks").Point) => import("maptalks").Point;
|
|
2167
|
+
coordToPointAtRes: (coordinate: import("maptalks").Coordinate, res?: number, out?: import("maptalks").Point) => import("maptalks").Point;
|
|
2168
|
+
pointToCoord: (point: import("maptalks").Point, zoom?: number, out?: import("maptalks").Coordinate) => import("maptalks").Coordinate;
|
|
2169
|
+
pointAtResToCoord: (point: import("maptalks").Point, res?: number, out?: import("maptalks").Coordinate) => import("maptalks").Coordinate;
|
|
2170
|
+
coordToViewPoint: (coordinate: import("maptalks").Coordinate, out?: import("maptalks").Point, altitude?: number) => import("maptalks").Point;
|
|
2171
|
+
viewPointToCoord: (viewPoint: import("maptalks").Point, out?: import("maptalks").Coordinate) => import("maptalks").Coordinate;
|
|
2172
|
+
coordToContainerPoint: (coordinate: import("maptalks").Coordinate, zoom?: number, out?: import("maptalks").Point) => import("maptalks").Point;
|
|
2173
|
+
containerPointToCoord: (containerPoint: import("maptalks").Point, out?: import("maptalks").Coordinate) => import("maptalks").Coordinate;
|
|
2174
|
+
containerPointToViewPoint: (containerPoint: import("maptalks").Point, out?: import("maptalks").Point) => import("maptalks").Point;
|
|
2175
|
+
viewPointToContainerPoint: (viewPoint: import("maptalks").Point, out?: import("maptalks").Point) => import("maptalks").Point;
|
|
2176
|
+
checkSize: (force?: boolean) => import("maptalks").Map;
|
|
2177
|
+
locate: (coordinate: import("maptalks").Coordinate, dx: number, dy: number) => import("maptalks").Coordinate;
|
|
2178
|
+
getMainPanel: () => HTMLDivElement | null;
|
|
2179
|
+
getPanels: () => Record<string, import("maptalks").PanelDom>;
|
|
2180
|
+
remove: () => import("maptalks").Map;
|
|
2181
|
+
isRemoved: () => boolean;
|
|
2182
|
+
isMoving: () => boolean;
|
|
2183
|
+
onMoveStart: (param?: any) => void;
|
|
2184
|
+
onMoving: (param: any) => void;
|
|
2185
|
+
onMoveEnd: (param: any) => void;
|
|
2186
|
+
onDragRotateStart: (param: any) => void;
|
|
2187
|
+
onDragRotating: (param: any) => void;
|
|
2188
|
+
onDragRotateEnd: (param: any) => void;
|
|
2189
|
+
isDragRotating: () => boolean;
|
|
2190
|
+
isOffscreen: (box: import("maptalks").PointExtent | Array<number>, viewportPadding?: number) => boolean;
|
|
2191
|
+
getRenderer: () => any;
|
|
2192
|
+
getDevicePixelRatio: () => number;
|
|
2193
|
+
setDevicePixelRatio: (dpr: number) => import("maptalks").Map;
|
|
2194
|
+
setContainerDomRect: (domRect: DOMRect) => void;
|
|
2195
|
+
offsetPlatform: (offset?: import("maptalks").Point) => import("maptalks").Point;
|
|
2196
|
+
getViewPoint: () => import("maptalks").Point;
|
|
2197
|
+
toJSON: (options?: import("maptalks").MapOptionsType) => {
|
|
2198
|
+
[key: string]: any;
|
|
2199
|
+
};
|
|
2200
|
+
isRotating: () => boolean;
|
|
2201
|
+
animateTo: (view: import("maptalks").MapViewType, options?: import("maptalks").MapAnimationOptionsType, step?: ((frame: any) => void) | undefined) => {
|
|
2202
|
+
options: import("maptalks").AnimationOptionsPrivateType;
|
|
2203
|
+
playState: string;
|
|
2204
|
+
ready: boolean;
|
|
2205
|
+
finished: boolean;
|
|
2206
|
+
target?: any;
|
|
2207
|
+
duration: number;
|
|
2208
|
+
currentTime: number;
|
|
2209
|
+
startTime: number;
|
|
2210
|
+
play(): /*elided*/ any;
|
|
2211
|
+
pause(): /*elided*/ any;
|
|
2212
|
+
cancel(): /*elided*/ any;
|
|
2213
|
+
finish(): /*elided*/ any;
|
|
2214
|
+
reverse(): void;
|
|
2215
|
+
};
|
|
2216
|
+
flyTo: (view: import("maptalks").MapViewType, options?: import("maptalks").MapAnimationOptionsType, step?: ((frame: any) => void) | undefined) => import("maptalks").Map;
|
|
2217
|
+
isAnimating: () => boolean;
|
|
2218
|
+
isFullScreen: () => boolean;
|
|
2219
|
+
requestFullScreen: (dom?: HTMLDivElement) => import("maptalks").Map;
|
|
2220
|
+
cancelFullScreen: () => import("maptalks").Map;
|
|
2221
|
+
panTo: (coordinate: import("maptalks").Coordinate, options?: import("maptalks").MapAnimationOptionsType, step?: ((frame: any) => void) | undefined) => import("maptalks").Map;
|
|
2222
|
+
panBy: (offset: import("maptalks").Point | Array<number>, options?: import("maptalks").MapAnimationOptionsType, step?: ((frame: any) => void) | undefined) => import("maptalks").Map;
|
|
2223
|
+
computeLength: (coord1: import("maptalks").Coordinate, coord2: import("maptalks").Coordinate) => number;
|
|
2224
|
+
computeGeometryLength: (geometry: import("maptalks").Geometry) => number;
|
|
2225
|
+
computeGeometryArea: (geometry: import("maptalks").Geometry) => number;
|
|
2226
|
+
identify: (opts: import("maptalks").identifyOptionsType, cb: import("maptalks").MapIdentifyCBType) => void;
|
|
2227
|
+
identifyAtPoint: (opts: import("maptalks").identifyAtPointOptionsType, cb: import("maptalks").MapIdentifyCBType) => void;
|
|
2228
|
+
onZoomStart: (nextZoom: number, origin?: import("maptalks").Point) => any;
|
|
2229
|
+
onZooming: (nextZoom: number, origin?: import("maptalks").Point, startScale?: number) => any;
|
|
2230
|
+
onZoomEnd: (nextZoom: number, origin?: import("maptalks").Point) => any;
|
|
2231
|
+
cameraPosition: [number, number, number];
|
|
2232
|
+
cameraLookAt: [number, number, number];
|
|
2233
|
+
projViewMatrix: [number, number, number, number, number, number, number, number, number, number, number, number, number, number, number, number];
|
|
2234
|
+
getFov: () => number;
|
|
2235
|
+
setFov: (fov: number) => import("maptalks").Map;
|
|
2236
|
+
getBearing: () => number;
|
|
2237
|
+
setBearing: (bearing: number) => import("maptalks").Map;
|
|
2238
|
+
getPitch: () => number;
|
|
2239
|
+
setPitch: (pitch: number) => import("maptalks").Map;
|
|
2240
|
+
setCameraMovements: (frameOptions: Array<import("maptalks").MapViewType>, option?: {
|
|
2241
|
+
autoRotate: boolean;
|
|
2242
|
+
} | undefined) => any;
|
|
2243
|
+
setCameraOrientation: (params: import("maptalks").MapViewType) => import("maptalks").Map;
|
|
2244
|
+
setCameraPosition: (coordinate: import("maptalks").Coordinate) => any;
|
|
2245
|
+
getFitZoomForCamera: (cameraPosition: [number, number, number], pitch: number) => any;
|
|
2246
|
+
getFitZoomForAltitude: (altitude: number) => any;
|
|
2247
|
+
isTransforming: () => boolean;
|
|
2248
|
+
getFrustumAltitude: () => number;
|
|
2249
|
+
updateCenterAltitude: () => any;
|
|
2250
|
+
getContainerPointRay: (from: import("maptalks").Vector3, to: import("maptalks").Vector3, containerPoint: import("maptalks").Point, near?: number, far?: number) => any;
|
|
2251
|
+
zoomToPreviousView: (options?: any) => import("maptalks").MapViewType;
|
|
2252
|
+
hasPreviousView: () => boolean;
|
|
2253
|
+
zoomToNextView: (options?: any) => import("maptalks").MapViewType;
|
|
2254
|
+
hasNextView: () => boolean;
|
|
2255
|
+
getViewHistory: () => Array<import("maptalks").MapViewType>;
|
|
2256
|
+
getCollisionIndex: () => import("maptalks").CollisionIndex;
|
|
2257
|
+
createCollisionIndex: () => import("maptalks").CollisionIndex;
|
|
2258
|
+
clearCollisionIndex: () => import("maptalks").Map;
|
|
2259
|
+
uiCollides: () => import("maptalks").Map;
|
|
2260
|
+
coordinateToPoint: (coordinate: import("maptalks").Coordinate, zoom?: number, out?: import("maptalks").Point) => import("maptalks").Point;
|
|
2261
|
+
coordinateToPointAtRes: (coordinate: import("maptalks").Coordinate, res?: number, out?: import("maptalks").Point) => import("maptalks").Point;
|
|
2262
|
+
pointToCoordinate: (point: import("maptalks").Point, zoom?: number, out?: import("maptalks").Coordinate) => import("maptalks").Coordinate;
|
|
2263
|
+
pointAtResToCoordinate: (point: import("maptalks").Point, res?: number, out?: import("maptalks").Coordinate) => import("maptalks").Coordinate;
|
|
2264
|
+
coordinateToViewPoint: (coordinate: import("maptalks").Coordinate, out?: import("maptalks").Point, altitude?: number) => import("maptalks").Point;
|
|
2265
|
+
viewPointToCoordinate: (viewPoint: import("maptalks").Point, out?: import("maptalks").Coordinate) => import("maptalks").Coordinate;
|
|
2266
|
+
coordinateToContainerPoint: (coordinate: import("maptalks").Coordinate, zoom?: number, out?: import("maptalks").Point) => import("maptalks").Point;
|
|
2267
|
+
coordinateToContainerPointAtRes: (coordinate: import("maptalks").Coordinate, res?: number, out?: import("maptalks").Point) => import("maptalks").Point;
|
|
2268
|
+
coordinatesToContainerPoints: (coordinates: Array<import("maptalks").Coordinate>, zoom?: number) => Array<import("maptalks").Point>;
|
|
2269
|
+
coordinatesToContainerPointsAtRes: (coordinates: Array<import("maptalks").Coordinate>, res?: number) => Array<import("maptalks").Point>;
|
|
2270
|
+
containerPointToCoordinate: (containerPoint: import("maptalks").Point, out?: import("maptalks").Coordinate) => import("maptalks").Coordinate;
|
|
2271
|
+
containerToExtent: (containerExtent: import("maptalks").PointExtent) => import("maptalks").Extent;
|
|
2272
|
+
distanceToPixel: (xDist: number, yDist: number, zoom?: number) => import("maptalks").Size;
|
|
2273
|
+
distanceToPoint: (xDist: number, yDist: number, zoom?: number, paramCenter?: import("maptalks").Coordinate) => import("maptalks").Point;
|
|
2274
|
+
distanceToPointAtRes: (xDist: number, yDist: number, res?: number, paramCenter?: import("maptalks").Coordinate, out?: import("maptalks").Point) => import("maptalks").Point;
|
|
2275
|
+
altitudeToPoint: (altitude: number, res?: number, originCenter?: import("maptalks").Coordinate) => number;
|
|
2276
|
+
pointAtResToAltitude: (point: import("maptalks").Point, res?: number, originCenter?: import("maptalks").Coordinate) => number;
|
|
2277
|
+
pixelToDistance: (width: number, height: number) => number;
|
|
2278
|
+
pointToDistance: (dx: number, dy: number, zoom?: number) => number;
|
|
2279
|
+
pointAtResToDistance: (dx: number, dy: number, res?: number, paramCenter?: import("maptalks").Coordinate) => number;
|
|
2280
|
+
locateByPoint: (coordinate: import("maptalks").Coordinate, px: number, py: number) => import("maptalks").Coordinate;
|
|
2281
|
+
get2DExtent: (zoom?: number, out?: import("maptalks").PointExtent) => import("maptalks").PointExtent;
|
|
2282
|
+
get2DExtentAtRes: (res?: number, out?: import("maptalks").PointExtent) => import("maptalks").PointExtent;
|
|
2283
|
+
pointToExtent: (extent2D: import("maptalks").PointExtent) => import("maptalks").Extent;
|
|
2284
|
+
getViewPointFrameOffset: () => import("maptalks").Point | null;
|
|
2285
|
+
viewPointToPrj: (viewPoint: import("maptalks").Point, out?: import("maptalks").Point) => import("maptalks").Point;
|
|
2286
|
+
prjToContainerPoint: (pCoordinate: import("maptalks").Coordinate, zoom?: number, out?: import("maptalks").Point, altitude?: number) => import("maptalks").Point;
|
|
2287
|
+
prjToContainerPointAtRes: (pCoordinate: import("maptalks").Coordinate, res?: number, out?: import("maptalks").Point, altitude?: number) => import("maptalks").Point;
|
|
2288
|
+
prjToViewPoint: (pCoordinate: import("maptalks").Coordinate, out?: import("maptalks").Point, altitude?: number) => import("maptalks").Point;
|
|
2289
|
+
viewPointToPoint: (viewPoint: import("maptalks").Point, zoom?: number, out?: import("maptalks").Point) => import("maptalks").Point;
|
|
2290
|
+
pointToViewPoint: (point: import("maptalks").Point, zoom?: number, out?: import("maptalks").Point) => import("maptalks").Point;
|
|
2291
|
+
_handlers?: {
|
|
2292
|
+
target: any;
|
|
2293
|
+
dom?: HTMLElement | undefined;
|
|
2294
|
+
addHooks: () => void;
|
|
2295
|
+
removeHooks: () => void;
|
|
2296
|
+
enable: () => import("maptalks").Handler;
|
|
2297
|
+
disable: () => import("maptalks").Handler;
|
|
2298
|
+
enabled: () => boolean;
|
|
2299
|
+
remove: () => void;
|
|
2300
|
+
_eventMap?: Record<string, {
|
|
2301
|
+
handler: import("maptalks").HandlerFn;
|
|
2302
|
+
context: any;
|
|
2303
|
+
}[]> | undefined;
|
|
2304
|
+
_eventParent?: any;
|
|
2305
|
+
_eventTarget?: any;
|
|
2306
|
+
on: (eventsOn: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any) => any;
|
|
2307
|
+
addEventListener: (...args: any[]) => any;
|
|
2308
|
+
once: (eventTypes: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any) => any;
|
|
2309
|
+
off: (eventsOff: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any) => any;
|
|
2310
|
+
removeEventListener: (...args: any[]) => any;
|
|
2311
|
+
listens: (eventType: string, handler?: import("maptalks").HandlerFn, context?: any) => number;
|
|
2312
|
+
getListeningEvents: () => string[];
|
|
2313
|
+
copyEventListeners: (target: any) => any;
|
|
2314
|
+
fire: (eventType: string, param?: import("maptalks").BaseEventParamsType) => any;
|
|
2315
|
+
_wrapOnceHandler: (evtType: string, handler: import("maptalks").HandlerFn, context?: any) => (...args: any[]) => void;
|
|
2316
|
+
_switch: (to: string, eventRecords: import("maptalks").EventRecords, context?: any) => any;
|
|
2317
|
+
_clearListeners: (eventType: string) => void;
|
|
2318
|
+
_clearAllListeners: () => void;
|
|
2319
|
+
_setEventParent: (parent: any) => any;
|
|
2320
|
+
_setEventTarget: (target: any) => any;
|
|
2321
|
+
_fire: (eventType: string, param: import("maptalks").BaseEventParamsType) => any;
|
|
2322
|
+
}[] | undefined;
|
|
2323
|
+
addHandler: (name: any, handlerClass: any) => any;
|
|
2324
|
+
removeHandler: (name: any) => any;
|
|
2325
|
+
_clearHandlers: () => void;
|
|
2326
|
+
_eventMap?: Record<string, {
|
|
2327
|
+
handler: import("maptalks").HandlerFn;
|
|
2328
|
+
context: any;
|
|
2329
|
+
}[]> | undefined;
|
|
2330
|
+
_eventParent?: any;
|
|
2331
|
+
_eventTarget?: any;
|
|
2332
|
+
on: (eventsOn: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any) => any;
|
|
2333
|
+
addEventListener: (...args: any[]) => any;
|
|
2334
|
+
once: (eventTypes: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any) => any;
|
|
2335
|
+
off: (eventsOff: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any) => any;
|
|
2336
|
+
removeEventListener: (...args: any[]) => any;
|
|
2337
|
+
listens: (eventType: string, handler?: import("maptalks").HandlerFn, context?: any) => number;
|
|
2338
|
+
getListeningEvents: () => string[];
|
|
2339
|
+
copyEventListeners: (target: any) => any;
|
|
2340
|
+
fire: (eventType: string, param?: import("maptalks").BaseEventParamsType) => any;
|
|
2341
|
+
_wrapOnceHandler: (evtType: string, handler: import("maptalks").HandlerFn, context?: any) => (...args: any[]) => void;
|
|
2342
|
+
_switch: (to: string, eventRecords: import("maptalks").EventRecords, context?: any) => any;
|
|
2343
|
+
_clearListeners: (eventType: string) => void;
|
|
2344
|
+
_clearAllListeners: () => void;
|
|
2345
|
+
_setEventParent: (parent: any) => any;
|
|
2346
|
+
_setEventTarget: (target: any) => any;
|
|
2347
|
+
_fire: (eventType: string, param: import("maptalks").BaseEventParamsType) => any;
|
|
2348
|
+
proxyOptions: () => import("maptalks").Map;
|
|
2349
|
+
callInitHooks: () => import("maptalks").Map;
|
|
2350
|
+
_setOptions: (options: import("maptalks").ClassOptions) => import("maptalks").Map;
|
|
2351
|
+
setOptions: (options: import("maptalks").ClassOptions) => import("maptalks").Map;
|
|
2352
|
+
config: (conf?: string | import("maptalks").ClassOptions, value?: any) => import("maptalks").Map | import("maptalks").ClassOptions;
|
|
2353
|
+
setMenu: (options: import("maptalks").MenuOptionsType) => import("maptalks").Map;
|
|
2354
|
+
getMenu: () => {
|
|
2355
|
+
options: import("maptalks").MenuOptionsType;
|
|
2356
|
+
addTo(owner: import("maptalks").Geometry | import("maptalks").Map): any;
|
|
2357
|
+
setItems(items: Array<import("maptalks").MenuItem>): /*elided*/ any;
|
|
2358
|
+
getItems(): import("maptalks").MenuItem[];
|
|
2359
|
+
buildOn(): HTMLElement;
|
|
2360
|
+
getOffset(): import("maptalks").Point;
|
|
2361
|
+
getTransformOrigin(): string;
|
|
2362
|
+
getEvents(): {
|
|
2363
|
+
"_zoomstart _zoomend _movestart _dblclick _click": () => void;
|
|
2364
|
+
};
|
|
2365
|
+
onAdd(): void;
|
|
2366
|
+
onRemove(): void;
|
|
2367
|
+
onDomRemove(): void;
|
|
2368
|
+
getOwnerEvents(): {
|
|
2369
|
+
[key: string]: () => void;
|
|
2370
|
+
};
|
|
2371
|
+
getMap(): import("maptalks").Map;
|
|
2372
|
+
show(coordinate: import("maptalks").Coordinate): /*elided*/ any;
|
|
2373
|
+
hide(): /*elided*/ any;
|
|
2374
|
+
isVisible(): boolean;
|
|
2375
|
+
remove(): /*elided*/ any;
|
|
2376
|
+
getSize(): import("maptalks").Size;
|
|
2377
|
+
getOwner(): import("maptalks").Map | import("maptalks").Geometry;
|
|
2378
|
+
getDOM(): HTMLElement;
|
|
2379
|
+
setZIndex(zIndex: number): /*elided*/ any;
|
|
2380
|
+
getPosition(): import("maptalks").Point;
|
|
2381
|
+
onGeometryPositionChange(param: any): void;
|
|
2382
|
+
onMoving(): void;
|
|
2383
|
+
onEvent(): void;
|
|
2384
|
+
onZoomEnd(): void;
|
|
2385
|
+
onResize(): void;
|
|
2386
|
+
onDomSizeChange(): void;
|
|
2387
|
+
isSupportZoomFilter(): boolean;
|
|
2388
|
+
onConfig(config: Record<string, any>): /*elided*/ any;
|
|
2389
|
+
_eventMap?: Record<string, {
|
|
2390
|
+
handler: import("maptalks").HandlerFn;
|
|
2391
|
+
context: any;
|
|
2392
|
+
}[]>;
|
|
2393
|
+
_eventParent?: any;
|
|
2394
|
+
_eventTarget?: any;
|
|
2395
|
+
on(eventsOn: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
2396
|
+
addEventListener(...args: any[]): any;
|
|
2397
|
+
once(eventTypes: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
2398
|
+
off(eventsOff: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
2399
|
+
removeEventListener(...args: any[]): any;
|
|
2400
|
+
listens(eventType: string, handler?: import("maptalks").HandlerFn, context?: any): number;
|
|
2401
|
+
getListeningEvents(): string[];
|
|
2402
|
+
copyEventListeners(target: any): any;
|
|
2403
|
+
fire(eventType: string, param?: import("maptalks").BaseEventParamsType): any;
|
|
2404
|
+
_wrapOnceHandler(evtType: string, handler: import("maptalks").HandlerFn, context?: any): (...args: any[]) => void;
|
|
2405
|
+
_switch(to: string, eventRecords: import("maptalks").EventRecords, context?: any): any;
|
|
2406
|
+
_clearListeners(eventType: string): void;
|
|
2407
|
+
_clearAllListeners(): void;
|
|
2408
|
+
_setEventParent(parent: any): any;
|
|
2409
|
+
_setEventTarget(target: any): any;
|
|
2410
|
+
_fire(eventType: string, param: import("maptalks").BaseEventParamsType): any;
|
|
2411
|
+
proxyOptions(): /*elided*/ any;
|
|
2412
|
+
callInitHooks(): /*elided*/ any;
|
|
2413
|
+
_setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
2414
|
+
setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
2415
|
+
config(conf?: string | import("maptalks").ClassOptions, value?: any): import("maptalks").ClassOptions | /*elided*/ any;
|
|
2416
|
+
};
|
|
2417
|
+
openMenu: (coordinate?: import("maptalks").Coordinate) => import("maptalks").Map;
|
|
2418
|
+
setMenuItems: (items: Array<import("maptalks").MenuItem>) => import("maptalks").Map;
|
|
2419
|
+
getMenuItems: () => Array<import("maptalks").MenuItem>;
|
|
2420
|
+
closeMenu: () => import("maptalks").Map;
|
|
2421
|
+
removeMenu: () => import("maptalks").Map;
|
|
628
2422
|
};
|
|
629
|
-
readonly coordType: import("
|
|
2423
|
+
readonly coordType: import("tg-map-core").CoordType;
|
|
630
2424
|
addEventListener: {
|
|
631
2425
|
<K extends keyof AbstractMapEventMap>(type: K, listener: (event: AbstractMapEventMap[K]) => void): void;
|
|
632
|
-
(type: string, listener: import("
|
|
2426
|
+
(type: string, listener: import("tg-map-core").Tg.EventListener): void;
|
|
633
2427
|
};
|
|
634
2428
|
removeEventListener: {
|
|
635
2429
|
<K extends keyof AbstractMapEventMap>(type: K, listener: (event: AbstractMapEventMap[K]) => void): void;
|
|
636
|
-
(type: string, listener: import("
|
|
2430
|
+
(type: string, listener: import("tg-map-core").Tg.EventListener): void;
|
|
637
2431
|
};
|
|
638
|
-
getLatestInfoWindow: () => import("
|
|
639
|
-
setLatestInfoWindowInternal: (infoWindow: import("
|
|
640
|
-
fromContainerPointToLatLng: (point: import("
|
|
641
|
-
fromLatLngToContainerPoint: (latLng: LatLng) => import("
|
|
2432
|
+
getLatestInfoWindow: () => import("tg-map-core").InfoWindowOverlay | undefined;
|
|
2433
|
+
setLatestInfoWindowInternal: (infoWindow: import("tg-map-core").InfoWindowOverlay) => void;
|
|
2434
|
+
fromContainerPointToLatLng: (point: import("tg-map-core").Point) => LatLng;
|
|
2435
|
+
fromLatLngToContainerPoint: (latLng: LatLng) => import("tg-map-core").Point;
|
|
642
2436
|
setDefaultCursor: (cursor: import("csstype").Property.Cursor) => void;
|
|
643
2437
|
setDraggable: (draggable: boolean) => void;
|
|
644
2438
|
setDoubleClickZoom: (enable: boolean) => void;
|
|
@@ -650,40 +2444,40 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
650
2444
|
setBuildInMapTypeId: (id: BuildInMapTypeId) => void;
|
|
651
2445
|
setMapType: (mapType: MapType) => void;
|
|
652
2446
|
getMapType: () => MapType;
|
|
653
|
-
addLayer: (layer: import("
|
|
654
|
-
removeLayer: (layer: import("
|
|
655
|
-
addOverlayMapType: (mapType: import("
|
|
656
|
-
removeOverlayMapType: (mapType: import("
|
|
2447
|
+
addLayer: (layer: import("tg-map-core").Layer) => void;
|
|
2448
|
+
removeLayer: (layer: import("tg-map-core").Layer) => void;
|
|
2449
|
+
addOverlayMapType: (mapType: import("tg-map-core").OverlayMapType) => void;
|
|
2450
|
+
removeOverlayMapType: (mapType: import("tg-map-core").OverlayMapType) => void;
|
|
657
2451
|
panTo: (position: LatLng) => void;
|
|
658
2452
|
panBy: (x: number, y: number) => void;
|
|
659
|
-
fitBounds: (bounds: import("
|
|
660
|
-
getBounds: () => import("
|
|
661
|
-
addElementOverlay: (overlay: import("
|
|
662
|
-
removeElementOverlay: (overlay: import("
|
|
663
|
-
addOverlay: (overlay: import("
|
|
664
|
-
removeOverlay: (overlay: import("
|
|
665
|
-
createMarker: (options: import("
|
|
666
|
-
createMarkerClusterer: (options: import("
|
|
667
|
-
createHeatmap: (options: import("
|
|
668
|
-
createAutocomplete: (options: import("
|
|
669
|
-
createSearchBox: (options: import("
|
|
670
|
-
createPlacesService: (options: import("
|
|
671
|
-
createMapUrls: (options: import("
|
|
672
|
-
createInfoWindow: (options: import("
|
|
673
|
-
createInfoBox: (options: import("
|
|
674
|
-
createPolyline: (options: import("
|
|
675
|
-
createPolygon: (options: import("
|
|
676
|
-
createRectangle: (options: import("
|
|
677
|
-
createCircle: (options: import("
|
|
678
|
-
createLabel: (options: import("
|
|
679
|
-
addCustomControl: (control: import("
|
|
680
|
-
removeCustomControl: (control: import("
|
|
681
|
-
createMapTypeControl: (options: import("
|
|
682
|
-
createZoomControl: (options: import("
|
|
683
|
-
createStreetViewControl: (options: import("
|
|
684
|
-
createScaleControl: (options: import("
|
|
685
|
-
addControl: (control: import("
|
|
686
|
-
removeControl: (control: import("
|
|
2453
|
+
fitBounds: (bounds: import("tg-map-core").LatLngBounds, padding?: import("tg-map-core").Padding) => void;
|
|
2454
|
+
getBounds: () => import("tg-map-core").LatLngBounds;
|
|
2455
|
+
addElementOverlay: (overlay: import("tg-map-core").ElementOverlay) => void;
|
|
2456
|
+
removeElementOverlay: (overlay: import("tg-map-core").ElementOverlay) => void;
|
|
2457
|
+
addOverlay: (overlay: import("tg-map-core").Overlay) => void;
|
|
2458
|
+
removeOverlay: (overlay: import("tg-map-core").Overlay) => void;
|
|
2459
|
+
createMarker: (options: import("tg-map-core").MarkerOptions) => import("tg-map-core").MarkerOverlay;
|
|
2460
|
+
createMarkerClusterer: (options: import("tg-map-core").MarkerClustererOptions) => import("tg-map-core").MarkerClusterer;
|
|
2461
|
+
createHeatmap: (options: import("tg-map-core").HeatmapOptions) => import("tg-map-core").Heatmap;
|
|
2462
|
+
createAutocomplete: (options: import("tg-map-core").AutocompleteOptions) => import("tg-map-core").Autocomplete;
|
|
2463
|
+
createSearchBox: (options: import("tg-map-core").SearchBoxOptions) => import("tg-map-core").SearchBox;
|
|
2464
|
+
createPlacesService: (options: import("tg-map-core").PlacesServiceOptions) => import("tg-map-core").PlacesService;
|
|
2465
|
+
createMapUrls: (options: import("tg-map-core").MapUrlsOptions) => import("tg-map-core").MapUrls;
|
|
2466
|
+
createInfoWindow: (options: import("tg-map-core").InfoWindowOptions) => import("tg-map-core").InfoWindowOverlay;
|
|
2467
|
+
createInfoBox: (options: import("tg-map-core").InfoBoxOptions) => import("tg-map-core").InfoBoxOverlay;
|
|
2468
|
+
createPolyline: (options: import("tg-map-core").PolylineOptions) => import("tg-map-core").PolylineOverlay;
|
|
2469
|
+
createPolygon: (options: import("tg-map-core").PolygonOptions) => import("tg-map-core").PolygonOverlay;
|
|
2470
|
+
createRectangle: (options: import("tg-map-core").RectangleOptions) => import("tg-map-core").RectangleOverlay;
|
|
2471
|
+
createCircle: (options: import("tg-map-core").CircleOptions) => import("tg-map-core").CircleOverlay;
|
|
2472
|
+
createLabel: (options: import("tg-map-core").LabelOptions) => import("tg-map-core").LabelOverlay;
|
|
2473
|
+
addCustomControl: (control: import("tg-map-core").CustomControl) => void;
|
|
2474
|
+
removeCustomControl: (control: import("tg-map-core").CustomControl) => void;
|
|
2475
|
+
createMapTypeControl: (options: import("tg-map-core").MapTypeControlOptions) => import("tg-map-core").MapTypeControl;
|
|
2476
|
+
createZoomControl: (options: import("tg-map-core").ZoomControlOptions) => import("tg-map-core").ZoomControl;
|
|
2477
|
+
createStreetViewControl: (options: import("tg-map-core").StreetViewControlOptions) => import("tg-map-core").StreetViewControl;
|
|
2478
|
+
createScaleControl: (options: import("tg-map-core").ScaleControlOptions) => import("tg-map-core").ZoomControl;
|
|
2479
|
+
addControl: (control: import("tg-map-core").AbstractControl) => void;
|
|
2480
|
+
removeControl: (control: import("tg-map-core").AbstractControl) => void;
|
|
687
2481
|
getZoom: () => number;
|
|
688
2482
|
setZoom: (zoom: number) => void;
|
|
689
2483
|
} | undefined>;
|