tg-map-vue3 4.2.12 → 4.3.1
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 +5 -0
- package/README.md +7 -0
- package/dist/src/components/TgMap.vue.d.ts +6 -2186
- package/dist/src/components/TgMapWidget.vue.d.ts +2 -2
- package/dist/src/components/overlays/TgInfoBox.vue.d.ts +2 -2
- package/dist/src/components/overlays/TgMarker.vue.d.ts +4 -4
- package/dist/src/components/overlays/TgPolygon.vue.d.ts +2 -2
- package/dist/src/components/overlays/TgRectangle.vue.d.ts +2 -2
- package/dist/tg-map.cjs +1 -1
- package/dist/tg-map.cjs.map +1 -1
- package/dist/tg-map.js +48 -47
- package/dist/tg-map.js.map +1 -1
- package/package.json +7 -5
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BuildInMapTypeId, GestureHandlingOptions, LatLng, MapType, TgMapType, type AbstractMap, type AbstractMapEventMap, type BaseMap, type MapStyle, type StringEnumValue } from 'tg-map-core';
|
|
2
|
-
import { type PropType } from 'vue';
|
|
2
|
+
import { type PropType, type Raw } from 'vue';
|
|
3
3
|
import { type EventEmits } from '../utils/vue-utils';
|
|
4
4
|
type TgMapEmits = {
|
|
5
5
|
load: AbstractMap;
|
|
@@ -19,7 +19,7 @@ export declare const tgMapProps: {
|
|
|
19
19
|
};
|
|
20
20
|
/**
|
|
21
21
|
* 当对该属性使用双向绑定时, 改变center将触发update:center又反过来触发center改变, 最终导致无限循环...
|
|
22
|
-
* 当前通过
|
|
22
|
+
* 当前通过setCenterIfChanged()判断center是否有改变来避免该问题, 但为了避免可能存在的问题, 另外设计了如下机制:
|
|
23
23
|
* - :center-sync-delay="300": 延时同步center, 防止center的值更新过快
|
|
24
24
|
* - :current-center.sync="currentCenter": 实时获取center的值
|
|
25
25
|
* - :last-center.sync="center": 获取tg-map销毁时的最后的center的值, 使用这种方式可以做到type切换时保留中心点位置
|
|
@@ -108,7 +108,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
108
108
|
};
|
|
109
109
|
/**
|
|
110
110
|
* 当对该属性使用双向绑定时, 改变center将触发update:center又反过来触发center改变, 最终导致无限循环...
|
|
111
|
-
* 当前通过
|
|
111
|
+
* 当前通过setCenterIfChanged()判断center是否有改变来避免该问题, 但为了避免可能存在的问题, 另外设计了如下机制:
|
|
112
112
|
* - :center-sync-delay="300": 延时同步center, 防止center的值更新过快
|
|
113
113
|
* - :current-center.sync="currentCenter": 实时获取center的值
|
|
114
114
|
* - :last-center.sync="center": 获取tg-map销毁时的最后的center的值, 使用这种方式可以做到type切换时保留中心点位置
|
|
@@ -195,7 +195,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
195
195
|
}>;
|
|
196
196
|
centerSyncTimeoutId: TimeoutId | undefined;
|
|
197
197
|
}, {
|
|
198
|
-
map: BaseMap | undefined;
|
|
198
|
+
map: Raw<BaseMap> | undefined;
|
|
199
199
|
isDestroyed: boolean;
|
|
200
200
|
}, {
|
|
201
201
|
propsJson(): string;
|
|
@@ -207,7 +207,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
207
207
|
};
|
|
208
208
|
/**
|
|
209
209
|
* 当对该属性使用双向绑定时, 改变center将触发update:center又反过来触发center改变, 最终导致无限循环...
|
|
210
|
-
* 当前通过
|
|
210
|
+
* 当前通过setCenterIfChanged()判断center是否有改变来避免该问题, 但为了避免可能存在的问题, 另外设计了如下机制:
|
|
211
211
|
* - :center-sync-delay="300": 延时同步center, 防止center的值更新过快
|
|
212
212
|
* - :current-center.sync="currentCenter": 实时获取center的值
|
|
213
213
|
* - :last-center.sync="center": 获取tg-map销毁时的最后的center的值, 使用这种方式可以做到type切换时保留中心点位置
|
|
@@ -315,2186 +315,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
315
315
|
type: StringEnumValue<typeof TgMapType>;
|
|
316
316
|
centerSyncDelay: number;
|
|
317
317
|
}, {}, {}, {}, string, () => {
|
|
318
|
-
$map: import("vue").ComputedRef<
|
|
319
|
-
element: HTMLElement;
|
|
320
|
-
setGestureHandling: (gestureHandling: GestureHandlingOptions) => void;
|
|
321
|
-
readonly innerMap: {
|
|
322
|
-
controls: {
|
|
323
|
-
clear: () => void;
|
|
324
|
-
forEach: (callback: (arg0: HTMLElement, arg1: number) => void) => void;
|
|
325
|
-
getArray: () => HTMLElement[];
|
|
326
|
-
getAt: (i: number) => HTMLElement;
|
|
327
|
-
getLength: () => number;
|
|
328
|
-
insertAt: (i: number, elem: HTMLElement) => void;
|
|
329
|
-
pop: () => HTMLElement;
|
|
330
|
-
push: (elem: HTMLElement) => number;
|
|
331
|
-
removeAt: (i: number) => HTMLElement;
|
|
332
|
-
setAt: (i: number, elem: HTMLElement) => void;
|
|
333
|
-
addListener: (eventName: string, handler: Function) => google.maps.MapsEventListener;
|
|
334
|
-
bindTo: (key: string, target: google.maps.MVCObject, targetKey?: string | null, noNotify?: boolean) => void;
|
|
335
|
-
get: (key: string) => any;
|
|
336
|
-
notify: (key: string) => void;
|
|
337
|
-
set: (key: string, value: unknown) => void;
|
|
338
|
-
setValues: (values?: object | null) => void;
|
|
339
|
-
unbind: (key: string) => void;
|
|
340
|
-
unbindAll: () => void;
|
|
341
|
-
}[];
|
|
342
|
-
data: {
|
|
343
|
-
add: (feature?: google.maps.Data.Feature | google.maps.Data.FeatureOptions | null) => google.maps.Data.Feature;
|
|
344
|
-
addGeoJson: (geoJson: object, options?: google.maps.Data.GeoJsonOptions | null) => google.maps.Data.Feature[];
|
|
345
|
-
contains: (feature: google.maps.Data.Feature) => boolean;
|
|
346
|
-
forEach: (callback: (arg0: google.maps.Data.Feature) => void) => void;
|
|
347
|
-
getControlPosition: () => google.maps.ControlPosition | null;
|
|
348
|
-
getControls: () => string[] | null;
|
|
349
|
-
getDrawingMode: () => string | null;
|
|
350
|
-
getFeatureById: (id: number | string) => google.maps.Data.Feature | undefined;
|
|
351
|
-
getMap: () => google.maps.Map | null;
|
|
352
|
-
getStyle: () => google.maps.Data.StylingFunction | google.maps.Data.StyleOptions | null;
|
|
353
|
-
loadGeoJson: (url: string, options?: google.maps.Data.GeoJsonOptions | null, callback?: ((arg0: google.maps.Data.Feature[]) => void) | undefined) => void;
|
|
354
|
-
overrideStyle: (feature: google.maps.Data.Feature, style: google.maps.Data.StyleOptions) => void;
|
|
355
|
-
remove: (feature: google.maps.Data.Feature) => void;
|
|
356
|
-
revertStyle: (feature?: google.maps.Data.Feature | null) => void;
|
|
357
|
-
setControlPosition: (controlPosition: google.maps.ControlPosition | null) => void;
|
|
358
|
-
setControls: (controls: string[] | null) => void;
|
|
359
|
-
setDrawingMode: (drawingMode: string | null) => void;
|
|
360
|
-
setMap: (map: google.maps.Map | null) => void;
|
|
361
|
-
setStyle: (style: google.maps.Data.StylingFunction | google.maps.Data.StyleOptions | null) => void;
|
|
362
|
-
toGeoJson: (callback: (arg0: object) => void) => void;
|
|
363
|
-
addListener: (eventName: string, handler: Function) => google.maps.MapsEventListener;
|
|
364
|
-
bindTo: (key: string, target: google.maps.MVCObject, targetKey?: string | null, noNotify?: boolean) => void;
|
|
365
|
-
get: (key: string) => any;
|
|
366
|
-
notify: (key: string) => void;
|
|
367
|
-
set: (key: string, value: unknown) => void;
|
|
368
|
-
setValues: (values?: object | null) => void;
|
|
369
|
-
unbind: (key: string) => void;
|
|
370
|
-
unbindAll: () => void;
|
|
371
|
-
};
|
|
372
|
-
mapTypes: {
|
|
373
|
-
set: (id: string, mapType: google.maps.MapType | unknown) => void;
|
|
374
|
-
addListener: (eventName: string, handler: Function) => google.maps.MapsEventListener;
|
|
375
|
-
bindTo: (key: string, target: google.maps.MVCObject, targetKey?: string | null, noNotify?: boolean) => void;
|
|
376
|
-
get: (key: string) => any;
|
|
377
|
-
notify: (key: string) => void;
|
|
378
|
-
setValues: (values?: object | null) => void;
|
|
379
|
-
unbind: (key: string) => void;
|
|
380
|
-
unbindAll: () => void;
|
|
381
|
-
};
|
|
382
|
-
overlayMapTypes: {
|
|
383
|
-
clear: () => void;
|
|
384
|
-
forEach: (callback: (arg0: google.maps.MapType | null, arg1: number) => void) => void;
|
|
385
|
-
getArray: () => (google.maps.MapType | null)[];
|
|
386
|
-
getAt: (i: number) => google.maps.MapType | null;
|
|
387
|
-
getLength: () => number;
|
|
388
|
-
insertAt: (i: number, elem: google.maps.MapType | null) => void;
|
|
389
|
-
pop: () => google.maps.MapType | null;
|
|
390
|
-
push: (elem: google.maps.MapType | null) => number;
|
|
391
|
-
removeAt: (i: number) => google.maps.MapType | null;
|
|
392
|
-
setAt: (i: number, elem: google.maps.MapType | null) => void;
|
|
393
|
-
addListener: (eventName: string, handler: Function) => google.maps.MapsEventListener;
|
|
394
|
-
bindTo: (key: string, target: google.maps.MVCObject, targetKey?: string | null, noNotify?: boolean) => void;
|
|
395
|
-
get: (key: string) => any;
|
|
396
|
-
notify: (key: string) => void;
|
|
397
|
-
set: (key: string, value: unknown) => void;
|
|
398
|
-
setValues: (values?: object | null) => void;
|
|
399
|
-
unbind: (key: string) => void;
|
|
400
|
-
unbindAll: () => void;
|
|
401
|
-
};
|
|
402
|
-
fitBounds: (bounds: google.maps.LatLngBounds | google.maps.LatLngBoundsLiteral, padding?: number | google.maps.Padding) => void;
|
|
403
|
-
getBounds: () => google.maps.LatLngBounds | undefined;
|
|
404
|
-
getCenter: () => google.maps.LatLng | undefined;
|
|
405
|
-
getClickableIcons: () => boolean | undefined;
|
|
406
|
-
getDatasetFeatureLayer: (datasetId: string) => google.maps.FeatureLayer;
|
|
407
|
-
getDiv: () => HTMLElement;
|
|
408
|
-
getFeatureLayer: (featureType: google.maps.FeatureTypeString) => google.maps.FeatureLayer;
|
|
409
|
-
getHeading: () => number | undefined;
|
|
410
|
-
getHeadingInteractionEnabled: () => boolean | null;
|
|
411
|
-
getInternalUsageAttributionIds: () => Iterable<string> | null;
|
|
412
|
-
getMapCapabilities: () => google.maps.MapCapabilities;
|
|
413
|
-
getMapTypeId: () => google.maps.MapTypeIdString | string | undefined;
|
|
414
|
-
getProjection: () => google.maps.Projection | undefined;
|
|
415
|
-
getRenderingType: () => google.maps.RenderingTypeString;
|
|
416
|
-
getStreetView: () => google.maps.StreetViewPanorama;
|
|
417
|
-
getTilt: () => number | undefined;
|
|
418
|
-
getTiltInteractionEnabled: () => boolean | null;
|
|
419
|
-
getZoom: () => number | undefined;
|
|
420
|
-
moveCamera: (cameraOptions: google.maps.CameraOptions) => void;
|
|
421
|
-
panBy: (x: number, y: number) => void;
|
|
422
|
-
panTo: (latLng: google.maps.LatLng | google.maps.LatLngLiteral) => void;
|
|
423
|
-
panToBounds: (latLngBounds: google.maps.LatLngBounds | google.maps.LatLngBoundsLiteral, padding?: number | google.maps.Padding) => void;
|
|
424
|
-
setCenter: (latlng: google.maps.LatLng | google.maps.LatLngLiteral) => void;
|
|
425
|
-
setClickableIcons: (value: boolean) => void;
|
|
426
|
-
setHeading: (heading: number) => void;
|
|
427
|
-
setHeadingInteractionEnabled: (headingInteractionEnabled: boolean) => void;
|
|
428
|
-
setMapTypeId: (mapTypeId: google.maps.MapTypeIdString | string) => void;
|
|
429
|
-
setOptions: (options: google.maps.MapOptions | null) => void;
|
|
430
|
-
setRenderingType: (renderingType: google.maps.RenderingTypeString) => void;
|
|
431
|
-
setStreetView: (panorama: google.maps.StreetViewPanorama | null) => void;
|
|
432
|
-
setTilt: (tilt: number) => void;
|
|
433
|
-
setTiltInteractionEnabled: (tiltInteractionEnabled: boolean) => void;
|
|
434
|
-
setZoom: (zoom: number) => void;
|
|
435
|
-
addListener: (eventName: string, handler: Function) => google.maps.MapsEventListener;
|
|
436
|
-
bindTo: (key: string, target: google.maps.MVCObject, targetKey?: string | null, noNotify?: boolean) => void;
|
|
437
|
-
get: (key: string) => any;
|
|
438
|
-
notify: (key: string) => void;
|
|
439
|
-
set: (key: string, value: unknown) => void;
|
|
440
|
-
setValues: (values?: object | null) => void;
|
|
441
|
-
unbind: (key: string) => void;
|
|
442
|
-
unbindAll: () => void;
|
|
443
|
-
} | {
|
|
444
|
-
addEventListener: {
|
|
445
|
-
(event: string, handler: BMap.Callback): void;
|
|
446
|
-
(event: string, handler: BMap.Callback): void;
|
|
447
|
-
};
|
|
448
|
-
removeEventListener: {
|
|
449
|
-
(event: string, handler: BMap.Callback): void;
|
|
450
|
-
(event: string, handler: BMap.Callback): void;
|
|
451
|
-
};
|
|
452
|
-
enableDragging: () => void;
|
|
453
|
-
disableDragging: () => void;
|
|
454
|
-
enableScrollWheelZoom: () => void;
|
|
455
|
-
disableScrollWheelZoom: () => void;
|
|
456
|
-
enableDoubleClickZoom: () => void;
|
|
457
|
-
disableDoubleClickZoom: () => void;
|
|
458
|
-
enableKeyboard: () => void;
|
|
459
|
-
disableKeyboard: () => void;
|
|
460
|
-
enableInertialDragging: () => void;
|
|
461
|
-
disableInertialDragging: () => void;
|
|
462
|
-
enableContinuousZoom: () => void;
|
|
463
|
-
disableContinuousZoom: () => void;
|
|
464
|
-
enablePinchToZoom: () => void;
|
|
465
|
-
disablePinchToZoom: () => void;
|
|
466
|
-
enableAutoResize: () => void;
|
|
467
|
-
disableAutoResize: () => void;
|
|
468
|
-
setDefaultCursor: (cursor: string) => void;
|
|
469
|
-
getDefaultCursor: () => string;
|
|
470
|
-
setDraggingCursor: (cursor: string) => void;
|
|
471
|
-
getDraggingCursor: () => string;
|
|
472
|
-
setMinZoom: (zoom: number) => void;
|
|
473
|
-
setMaxZoom: (zoom: number) => void;
|
|
474
|
-
setMapStyle: (mapStyle: BMap.MapStyle) => void;
|
|
475
|
-
setMapStyleV2: (style: BMap.MapStyleV2) => void;
|
|
476
|
-
setPanorama: (pano: BMap.Panorama) => void;
|
|
477
|
-
disable3DBuilding: () => void;
|
|
478
|
-
getBounds: () => BMap.Bounds;
|
|
479
|
-
getCenter: () => BMap.Point;
|
|
480
|
-
getDistance: (start: BMap.Point, end: BMap.Point) => number;
|
|
481
|
-
getMapType: () => BMap.MapType;
|
|
482
|
-
getSize: () => BMap.Size;
|
|
483
|
-
getViewport: (view: BMap.Point[], viewportOptions?: BMap.ViewportOptions) => BMap.Viewport;
|
|
484
|
-
getZoom: () => number;
|
|
485
|
-
getPanorama: () => BMap.Panorama;
|
|
486
|
-
centerAndZoom: {
|
|
487
|
-
(center: BMap.Point, zoom: number): void;
|
|
488
|
-
(city: string): void;
|
|
489
|
-
};
|
|
490
|
-
panTo: (center: BMap.Point, opts?: BMap.PanOptions) => void;
|
|
491
|
-
panBy: (x: number, y: number, opts?: BMap.PanOptions) => void;
|
|
492
|
-
reset: () => void;
|
|
493
|
-
setCenter: (center: BMap.Point | string) => void;
|
|
494
|
-
setCurrentCity: (city: string) => void;
|
|
495
|
-
setMapType: (mapType: BMap.MapType) => void;
|
|
496
|
-
setViewport: (view: BMap.Point[], viewportOptions?: BMap.ViewportOptions) => void;
|
|
497
|
-
setZoom: (zoom: number) => void;
|
|
498
|
-
highResolutionEnabled: () => boolean;
|
|
499
|
-
zoomIn: () => void;
|
|
500
|
-
zoomOut: () => void;
|
|
501
|
-
addHotspot: (hotspot: BMap.Hotspot) => void;
|
|
502
|
-
removeHotspot: (hotspot: BMap.Hotspot) => void;
|
|
503
|
-
clearHotspots: () => void;
|
|
504
|
-
addControl: (control: BMap.Control) => void;
|
|
505
|
-
removeControl: (control: BMap.Control) => void;
|
|
506
|
-
getContainer: () => HTMLElement;
|
|
507
|
-
addContextMenu: (menu: BMap.ContextMenu) => void;
|
|
508
|
-
removeContextMenu: (menu: BMap.ContextMenu) => void;
|
|
509
|
-
addOverlay: (overlay: BMap.Overlay) => void;
|
|
510
|
-
removeOverlay: (overlay: BMap.Overlay) => void;
|
|
511
|
-
clearOverlays: () => void;
|
|
512
|
-
openInfoWindow: (infoWnd: BMap.InfoWindow, point: BMap.Point) => void;
|
|
513
|
-
closeInfoWindow: () => void;
|
|
514
|
-
pointToOverlayPixel: (point: BMap.Point) => BMap.Pixel;
|
|
515
|
-
overlayPixelToPoint: (pixel: BMap.Pixel) => BMap.Point;
|
|
516
|
-
getInfoWindow: () => BMap.InfoWindow;
|
|
517
|
-
getOverlays: () => BMap.Overlay[];
|
|
518
|
-
getPanes: () => BMap.MapPanes;
|
|
519
|
-
addTileLayer: (tileLayer: BMap.TileLayer) => void;
|
|
520
|
-
removeTileLayer: (tilelayer: BMap.TileLayer) => void;
|
|
521
|
-
getTileLayer: (mapType: string) => BMap.TileLayer;
|
|
522
|
-
pixelToPoint: (pixel: BMap.Pixel) => BMap.Point;
|
|
523
|
-
pointToPixel: (point: BMap.Point) => BMap.Pixel;
|
|
524
|
-
onclick: (event: {
|
|
525
|
-
type: string;
|
|
526
|
-
target: any;
|
|
527
|
-
point: BMap.Point;
|
|
528
|
-
pixel: BMap.Pixel;
|
|
529
|
-
overlay: BMap.Overlay;
|
|
530
|
-
}) => void;
|
|
531
|
-
ondblclick: (event: {
|
|
532
|
-
type: string;
|
|
533
|
-
target: any;
|
|
534
|
-
point: BMap.Point;
|
|
535
|
-
pixel: BMap.Pixel;
|
|
536
|
-
}) => void;
|
|
537
|
-
onrightclick: (event: {
|
|
538
|
-
type: string;
|
|
539
|
-
target: any;
|
|
540
|
-
point: BMap.Point;
|
|
541
|
-
pixel: BMap.Pixel;
|
|
542
|
-
overlay: BMap.Overlay;
|
|
543
|
-
}) => void;
|
|
544
|
-
onrightdblclick: (event: {
|
|
545
|
-
type: string;
|
|
546
|
-
target: any;
|
|
547
|
-
point: BMap.Point;
|
|
548
|
-
pixel: BMap.Pixel;
|
|
549
|
-
overlay: BMap.Overlay;
|
|
550
|
-
}) => void;
|
|
551
|
-
onmaptypechange: (event: {
|
|
552
|
-
type: string;
|
|
553
|
-
target: any;
|
|
554
|
-
}) => void;
|
|
555
|
-
onmousemove: (event: {
|
|
556
|
-
type: string;
|
|
557
|
-
target: any;
|
|
558
|
-
point: BMap.Point;
|
|
559
|
-
pixel: BMap.Pixel;
|
|
560
|
-
overlay: BMap.Overlay;
|
|
561
|
-
}) => void;
|
|
562
|
-
onmouseover: (event: {
|
|
563
|
-
type: string;
|
|
564
|
-
target: any;
|
|
565
|
-
}) => void;
|
|
566
|
-
onmouseout: (event: {
|
|
567
|
-
type: string;
|
|
568
|
-
target: any;
|
|
569
|
-
}) => void;
|
|
570
|
-
onmovestart: (event: {
|
|
571
|
-
type: string;
|
|
572
|
-
target: any;
|
|
573
|
-
}) => void;
|
|
574
|
-
onmoving: (event: {
|
|
575
|
-
type: string;
|
|
576
|
-
target: any;
|
|
577
|
-
}) => void;
|
|
578
|
-
onmoveend: (event: {
|
|
579
|
-
type: string;
|
|
580
|
-
target: any;
|
|
581
|
-
}) => void;
|
|
582
|
-
onzoomstart: (event: {
|
|
583
|
-
type: string;
|
|
584
|
-
target: any;
|
|
585
|
-
}) => void;
|
|
586
|
-
onzoomend: (event: {
|
|
587
|
-
type: string;
|
|
588
|
-
target: any;
|
|
589
|
-
}) => void;
|
|
590
|
-
onaddoverlay: (event: {
|
|
591
|
-
type: string;
|
|
592
|
-
target: any;
|
|
593
|
-
}) => void;
|
|
594
|
-
onaddcontrol: (event: {
|
|
595
|
-
type: string;
|
|
596
|
-
target: any;
|
|
597
|
-
}) => void;
|
|
598
|
-
onremovecontrol: (event: {
|
|
599
|
-
type: string;
|
|
600
|
-
target: any;
|
|
601
|
-
}) => void;
|
|
602
|
-
onremoveoverlay: (event: {
|
|
603
|
-
type: string;
|
|
604
|
-
target: any;
|
|
605
|
-
}) => void;
|
|
606
|
-
onclearoverlays: (event: {
|
|
607
|
-
type: string;
|
|
608
|
-
target: any;
|
|
609
|
-
}) => void;
|
|
610
|
-
ondragstart: (event: {
|
|
611
|
-
type: string;
|
|
612
|
-
target: any;
|
|
613
|
-
point: BMap.Point;
|
|
614
|
-
pixel: BMap.Pixel;
|
|
615
|
-
}) => void;
|
|
616
|
-
ondragging: (event: {
|
|
617
|
-
type: string;
|
|
618
|
-
target: any;
|
|
619
|
-
point: BMap.Point;
|
|
620
|
-
pixel: BMap.Pixel;
|
|
621
|
-
}) => void;
|
|
622
|
-
ondragend: (event: {
|
|
623
|
-
type: string;
|
|
624
|
-
target: any;
|
|
625
|
-
point: BMap.Point;
|
|
626
|
-
pixel: BMap.Pixel;
|
|
627
|
-
}) => void;
|
|
628
|
-
onaddtilelayer: (event: {
|
|
629
|
-
type: string;
|
|
630
|
-
target: any;
|
|
631
|
-
}) => void;
|
|
632
|
-
onremovetilelayer: (event: {
|
|
633
|
-
type: string;
|
|
634
|
-
target: any;
|
|
635
|
-
}) => void;
|
|
636
|
-
onload: (event: {
|
|
637
|
-
type: string;
|
|
638
|
-
target: any;
|
|
639
|
-
point: BMap.Point;
|
|
640
|
-
pixel: BMap.Pixel;
|
|
641
|
-
zoom: number;
|
|
642
|
-
}) => void;
|
|
643
|
-
onresize: (event: {
|
|
644
|
-
type: string;
|
|
645
|
-
target: any;
|
|
646
|
-
size: BMap.Size;
|
|
647
|
-
}) => void;
|
|
648
|
-
onhotspotclick: (event: {
|
|
649
|
-
type: string;
|
|
650
|
-
target: any;
|
|
651
|
-
spots: BMap.HotspotOptions;
|
|
652
|
-
}) => void;
|
|
653
|
-
onhotspotover: (event: {
|
|
654
|
-
type: string;
|
|
655
|
-
target: any;
|
|
656
|
-
spots: BMap.HotspotOptions;
|
|
657
|
-
}) => void;
|
|
658
|
-
onhotspotout: (event: {
|
|
659
|
-
type: string;
|
|
660
|
-
target: any;
|
|
661
|
-
spots: BMap.HotspotOptions;
|
|
662
|
-
}) => void;
|
|
663
|
-
ontilesloaded: (event: {
|
|
664
|
-
type: string;
|
|
665
|
-
target: any;
|
|
666
|
-
}) => void;
|
|
667
|
-
ontouchstart: (event: {
|
|
668
|
-
type: string;
|
|
669
|
-
target: any;
|
|
670
|
-
point: BMap.Point;
|
|
671
|
-
pixel: BMap.Pixel;
|
|
672
|
-
}) => void;
|
|
673
|
-
ontouchmove: (event: {
|
|
674
|
-
type: string;
|
|
675
|
-
target: any;
|
|
676
|
-
point: BMap.Point;
|
|
677
|
-
pixel: BMap.Pixel;
|
|
678
|
-
}) => void;
|
|
679
|
-
ontouchend: (event: {
|
|
680
|
-
type: string;
|
|
681
|
-
target: any;
|
|
682
|
-
point: BMap.Point;
|
|
683
|
-
pixel: BMap.Pixel;
|
|
684
|
-
}) => void;
|
|
685
|
-
onlongpress: (event: {
|
|
686
|
-
type: string;
|
|
687
|
-
target: any;
|
|
688
|
-
point: BMap.Point;
|
|
689
|
-
pixel: BMap.Pixel;
|
|
690
|
-
}) => void;
|
|
691
|
-
} | {
|
|
692
|
-
getElement: () => Element;
|
|
693
|
-
setCenter: (center: H.geo.IPoint, opt_animate?: boolean) => H.Map;
|
|
694
|
-
getCenter: () => H.geo.Point;
|
|
695
|
-
setZoom: (zoom: number, opt_animate?: boolean) => H.Map;
|
|
696
|
-
getZoom: () => number;
|
|
697
|
-
zoomAt: (zoom: number, x: number, y: number) => void;
|
|
698
|
-
setViewBounds: (boundingRect: H.geo.Rect, opt_animate?: boolean) => H.Map;
|
|
699
|
-
getViewBounds: () => H.geo.Rect;
|
|
700
|
-
getCameraDataForBounds: (rect: H.geo.Rect) => H.map.ViewModel.CameraData;
|
|
701
|
-
getViewPort: () => H.map.ViewPort;
|
|
702
|
-
getViewModel: () => H.map.ViewModel;
|
|
703
|
-
getLayers: () => H.map.DataModel;
|
|
704
|
-
getImprint: () => H.map.Imprint;
|
|
705
|
-
capture: (callback?: ((canvas: HTMLCanvasElement) => void) | undefined, opt_capturables?: H.util.ICapturable[], opt_x1?: number, opt_y1?: number, opt_x2?: number, opt_y2?: number) => void;
|
|
706
|
-
setEngineType: (type: H.Map.EngineType) => H.Map;
|
|
707
|
-
storeContent: (opt_onprogress?: ((req: H.util.Request) => void) | undefined, opt_bounds?: H.geo.Rect, opt_min?: number, opt_max?: number, opt_layer?: H.map.layer.BaseTileLayer) => H.util.Request;
|
|
708
|
-
clearContent: (opt_onprogress?: ((req: H.util.Request) => void) | undefined) => H.util.Request;
|
|
709
|
-
addLayer: (layer: H.map.layer.Layer, opt_idx?: number) => H.Map;
|
|
710
|
-
removeLayer: (layer: H.map.layer.Layer) => H.Map;
|
|
711
|
-
setBaseLayer: (layer: H.map.layer.Layer) => H.Map;
|
|
712
|
-
getBaseLayer: () => H.map.layer.Layer;
|
|
713
|
-
geoToScreen: (geoPoint: H.geo.IPoint) => H.math.Point;
|
|
714
|
-
screenToGeo: (x: number, y: number) => H.geo.Point;
|
|
715
|
-
screenToCameraData: (x: number, y: number) => H.map.ViewModel.CameraData;
|
|
716
|
-
addObject: (mapObject: H.map.Object) => H.map.Object;
|
|
717
|
-
removeObject: (mapObject: H.map.Object) => H.map.Object;
|
|
718
|
-
getObjects: () => H.map.Object[];
|
|
719
|
-
addObjects: (mapObjects: H.map.Object[]) => H.Map;
|
|
720
|
-
removeObjects: (mapObjects: (H.map.Object[] | H.map.Group)) => H.Map;
|
|
721
|
-
getObjectAt: (x: number, y: number) => H.map.Object;
|
|
722
|
-
getObjectsAt: (x: number, y: number) => H.map.Object[];
|
|
723
|
-
dispatchEvent: (evt: (H.util.Event | string)) => void;
|
|
724
|
-
dispose: () => void;
|
|
725
|
-
addOnDisposeCallback: (callback: () => void, opt_scope?: {}) => void;
|
|
726
|
-
getEngine: () => H.map.render.p2d.RenderEngine;
|
|
727
|
-
addEventListener: (type: string, handler: EventListenerOrEventListenerObject, opt_capture?: boolean, opt_scope?: any) => void;
|
|
728
|
-
removeEventListener: (type: string, handler: EventListenerOrEventListenerObject, opt_capture?: boolean, opt_scope?: any) => void;
|
|
729
|
-
} | {
|
|
730
|
-
addControl: (control: import("maptalks").control.Control) => import("maptalks").Map;
|
|
731
|
-
removeControl: (control: import("maptalks").control.Control) => import("maptalks").Map;
|
|
732
|
-
VERSION: string;
|
|
733
|
-
isMap: boolean;
|
|
734
|
-
centerAltitude: number;
|
|
735
|
-
width: number;
|
|
736
|
-
height: number;
|
|
737
|
-
CanvasClass: any;
|
|
738
|
-
cameraCenterDistance: number;
|
|
739
|
-
options: {
|
|
740
|
-
pitch?: number | undefined;
|
|
741
|
-
bearing?: number | undefined;
|
|
742
|
-
baseLayer?: {
|
|
743
|
-
map: /*elided*/ any;
|
|
744
|
-
parent: any;
|
|
745
|
-
options: {
|
|
746
|
-
attribution?: string | undefined;
|
|
747
|
-
minZoom?: number | undefined;
|
|
748
|
-
maxZoom?: number | undefined;
|
|
749
|
-
visible?: boolean | undefined;
|
|
750
|
-
opacity?: number | undefined;
|
|
751
|
-
zIndex?: number | undefined;
|
|
752
|
-
globalCompositeOperation?: string | undefined;
|
|
753
|
-
renderer?: "canvas" | "gl" | "gpu" | "dom" | null | undefined;
|
|
754
|
-
debugOutline?: string | undefined;
|
|
755
|
-
cssFilter?: string | undefined;
|
|
756
|
-
forceRenderOnMoving?: boolean | undefined;
|
|
757
|
-
forceRenderOnZooming?: boolean | undefined;
|
|
758
|
-
forceRenderOnRotating?: boolean | undefined;
|
|
759
|
-
collision?: boolean | undefined;
|
|
760
|
-
collisionScope?: "layer" | "map" | undefined;
|
|
761
|
-
hitDetect?: boolean | undefined;
|
|
762
|
-
canvas?: HTMLCanvasElement | undefined;
|
|
763
|
-
mask?: any;
|
|
764
|
-
drawImmediate?: boolean | undefined;
|
|
765
|
-
geometryEvents?: boolean | undefined;
|
|
766
|
-
geometryEventTolerance?: number | undefined;
|
|
767
|
-
maskClip?: boolean | undefined;
|
|
768
|
-
};
|
|
769
|
-
getLayers?: (() => import("maptalks").Layer[]) | undefined;
|
|
770
|
-
load: () => import("maptalks").Layer;
|
|
771
|
-
getId: () => string;
|
|
772
|
-
setId: (id: string) => import("maptalks").Layer;
|
|
773
|
-
addTo: (map: import("maptalks").Map) => import("maptalks").Layer;
|
|
774
|
-
setZIndex: (zIndex: number) => import("maptalks").Layer;
|
|
775
|
-
getZIndex: () => number;
|
|
776
|
-
getMinZoom: () => number;
|
|
777
|
-
getMaxZoom: () => number;
|
|
778
|
-
getOpacity: () => number;
|
|
779
|
-
setOpacity: (op: number) => import("maptalks").Layer;
|
|
780
|
-
isCanvasRender: () => boolean;
|
|
781
|
-
getMap: () => import("maptalks").Map;
|
|
782
|
-
getProjection: () => import("maptalks").CommonProjectionType;
|
|
783
|
-
bringToFront: () => import("maptalks").Layer;
|
|
784
|
-
bringToBack: () => import("maptalks").Layer;
|
|
785
|
-
show: () => import("maptalks").Layer;
|
|
786
|
-
hide: () => import("maptalks").Layer;
|
|
787
|
-
isVisible: () => boolean;
|
|
788
|
-
remove: () => import("maptalks").Layer;
|
|
789
|
-
getMask: () => import("maptalks").Marker | import("maptalks").MultiPolygon | import("maptalks").Polygon;
|
|
790
|
-
setMask: (mask: import("maptalks").Polygon | import("maptalks").MultiPolygon | import("maptalks").Marker) => import("maptalks").Layer;
|
|
791
|
-
removeMask: () => import("maptalks").Layer;
|
|
792
|
-
onLoad: () => boolean;
|
|
793
|
-
onLoadEnd: () => void;
|
|
794
|
-
isLoaded: () => boolean;
|
|
795
|
-
getCollisionIndex: () => import("maptalks").CollisionIndex;
|
|
796
|
-
clearCollisionIndex: () => import("maptalks").Layer;
|
|
797
|
-
getRenderer: () => any;
|
|
798
|
-
onConfig: (conf: {
|
|
799
|
-
[key: string]: any;
|
|
800
|
-
}) => void;
|
|
801
|
-
onAdd: () => void;
|
|
802
|
-
onRendererCreate: () => void;
|
|
803
|
-
onCanvasCreate: () => void;
|
|
804
|
-
onRemove: () => void;
|
|
805
|
-
getRendererOption: () => "canvas" | "gl" | "gpu" | "dom";
|
|
806
|
-
toJSON: (options?: any) => import("maptalks").LayerJSONType;
|
|
807
|
-
identify: (_coordinate: import("maptalks").Coordinate, _options: import("maptalks").LayerIdentifyOptionsType) => void;
|
|
808
|
-
identifyAtPoint: (_containerPoint: import("maptalks").Point, _options: import("maptalks").LayerIdentifyOptionsType) => void;
|
|
809
|
-
_jsonType?: string | undefined;
|
|
810
|
-
getJSONType: () => string;
|
|
811
|
-
_eventMap?: Record<string, {
|
|
812
|
-
handler: import("maptalks").HandlerFn;
|
|
813
|
-
context: any;
|
|
814
|
-
}[]> | undefined;
|
|
815
|
-
_eventParent?: any;
|
|
816
|
-
_eventTarget?: any;
|
|
817
|
-
on: (eventsOn: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any) => any;
|
|
818
|
-
addEventListener: (...args: any[]) => any;
|
|
819
|
-
once: (eventTypes: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any) => any;
|
|
820
|
-
off: (eventsOff: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any) => any;
|
|
821
|
-
removeEventListener: (...args: any[]) => any;
|
|
822
|
-
listens: (eventType: string, handler?: import("maptalks").HandlerFn, context?: any) => number;
|
|
823
|
-
getListeningEvents: () => string[];
|
|
824
|
-
copyEventListeners: (target: any) => any;
|
|
825
|
-
fire: (eventType: string, param?: import("maptalks").BaseEventParamsType) => any;
|
|
826
|
-
_wrapOnceHandler: (evtType: string, handler: import("maptalks").HandlerFn, context?: any) => (...args: any[]) => void;
|
|
827
|
-
_switch: (to: string, eventRecords: import("maptalks").EventRecords, context?: any) => any;
|
|
828
|
-
_clearListeners: (eventType: string) => void;
|
|
829
|
-
_clearAllListeners: () => void;
|
|
830
|
-
_setEventParent: (parent: any) => any;
|
|
831
|
-
_setEventTarget: (target: any) => any;
|
|
832
|
-
_fire: (eventType: string, param: import("maptalks").BaseEventParamsType) => any;
|
|
833
|
-
proxyOptions: () => import("maptalks").Layer;
|
|
834
|
-
callInitHooks: () => import("maptalks").Layer;
|
|
835
|
-
_setOptions: (options: import("maptalks").ClassOptions) => import("maptalks").Layer;
|
|
836
|
-
setOptions: (options: import("maptalks").ClassOptions) => import("maptalks").Layer;
|
|
837
|
-
config: (conf?: string | import("maptalks").ClassOptions, value?: any) => import("maptalks").Layer | import("maptalks").ClassOptions;
|
|
838
|
-
} | undefined;
|
|
839
|
-
layers?: {
|
|
840
|
-
map: /*elided*/ any;
|
|
841
|
-
parent: any;
|
|
842
|
-
options: {
|
|
843
|
-
attribution?: string | undefined;
|
|
844
|
-
minZoom?: number | undefined;
|
|
845
|
-
maxZoom?: number | undefined;
|
|
846
|
-
visible?: boolean | undefined;
|
|
847
|
-
opacity?: number | undefined;
|
|
848
|
-
zIndex?: number | undefined;
|
|
849
|
-
globalCompositeOperation?: string | undefined;
|
|
850
|
-
renderer?: "canvas" | "gl" | "gpu" | "dom" | null | undefined;
|
|
851
|
-
debugOutline?: string | undefined;
|
|
852
|
-
cssFilter?: string | undefined;
|
|
853
|
-
forceRenderOnMoving?: boolean | undefined;
|
|
854
|
-
forceRenderOnZooming?: boolean | undefined;
|
|
855
|
-
forceRenderOnRotating?: boolean | undefined;
|
|
856
|
-
collision?: boolean | undefined;
|
|
857
|
-
collisionScope?: "layer" | "map" | undefined;
|
|
858
|
-
hitDetect?: boolean | undefined;
|
|
859
|
-
canvas?: HTMLCanvasElement | undefined;
|
|
860
|
-
mask?: any;
|
|
861
|
-
drawImmediate?: boolean | undefined;
|
|
862
|
-
geometryEvents?: boolean | undefined;
|
|
863
|
-
geometryEventTolerance?: number | undefined;
|
|
864
|
-
maskClip?: boolean | undefined;
|
|
865
|
-
};
|
|
866
|
-
getLayers?: (() => import("maptalks").Layer[]) | undefined;
|
|
867
|
-
load: () => import("maptalks").Layer;
|
|
868
|
-
getId: () => string;
|
|
869
|
-
setId: (id: string) => import("maptalks").Layer;
|
|
870
|
-
addTo: (map: import("maptalks").Map) => import("maptalks").Layer;
|
|
871
|
-
setZIndex: (zIndex: number) => import("maptalks").Layer;
|
|
872
|
-
getZIndex: () => number;
|
|
873
|
-
getMinZoom: () => number;
|
|
874
|
-
getMaxZoom: () => number;
|
|
875
|
-
getOpacity: () => number;
|
|
876
|
-
setOpacity: (op: number) => import("maptalks").Layer;
|
|
877
|
-
isCanvasRender: () => boolean;
|
|
878
|
-
getMap: () => import("maptalks").Map;
|
|
879
|
-
getProjection: () => import("maptalks").CommonProjectionType;
|
|
880
|
-
bringToFront: () => import("maptalks").Layer;
|
|
881
|
-
bringToBack: () => import("maptalks").Layer;
|
|
882
|
-
show: () => import("maptalks").Layer;
|
|
883
|
-
hide: () => import("maptalks").Layer;
|
|
884
|
-
isVisible: () => boolean;
|
|
885
|
-
remove: () => import("maptalks").Layer;
|
|
886
|
-
getMask: () => import("maptalks").Marker | import("maptalks").MultiPolygon | import("maptalks").Polygon;
|
|
887
|
-
setMask: (mask: import("maptalks").Polygon | import("maptalks").MultiPolygon | import("maptalks").Marker) => import("maptalks").Layer;
|
|
888
|
-
removeMask: () => import("maptalks").Layer;
|
|
889
|
-
onLoad: () => boolean;
|
|
890
|
-
onLoadEnd: () => void;
|
|
891
|
-
isLoaded: () => boolean;
|
|
892
|
-
getCollisionIndex: () => import("maptalks").CollisionIndex;
|
|
893
|
-
clearCollisionIndex: () => import("maptalks").Layer;
|
|
894
|
-
getRenderer: () => any;
|
|
895
|
-
onConfig: (conf: {
|
|
896
|
-
[key: string]: any;
|
|
897
|
-
}) => void;
|
|
898
|
-
onAdd: () => void;
|
|
899
|
-
onRendererCreate: () => void;
|
|
900
|
-
onCanvasCreate: () => void;
|
|
901
|
-
onRemove: () => void;
|
|
902
|
-
getRendererOption: () => "canvas" | "gl" | "gpu" | "dom";
|
|
903
|
-
toJSON: (options?: any) => import("maptalks").LayerJSONType;
|
|
904
|
-
identify: (_coordinate: import("maptalks").Coordinate, _options: import("maptalks").LayerIdentifyOptionsType) => void;
|
|
905
|
-
identifyAtPoint: (_containerPoint: import("maptalks").Point, _options: import("maptalks").LayerIdentifyOptionsType) => void;
|
|
906
|
-
_jsonType?: string | undefined;
|
|
907
|
-
getJSONType: () => string;
|
|
908
|
-
_eventMap?: Record<string, {
|
|
909
|
-
handler: import("maptalks").HandlerFn;
|
|
910
|
-
context: any;
|
|
911
|
-
}[]> | undefined;
|
|
912
|
-
_eventParent?: any;
|
|
913
|
-
_eventTarget?: any;
|
|
914
|
-
on: (eventsOn: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any) => any;
|
|
915
|
-
addEventListener: (...args: any[]) => any;
|
|
916
|
-
once: (eventTypes: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any) => any;
|
|
917
|
-
off: (eventsOff: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any) => any;
|
|
918
|
-
removeEventListener: (...args: any[]) => any;
|
|
919
|
-
listens: (eventType: string, handler?: import("maptalks").HandlerFn, context?: any) => number;
|
|
920
|
-
getListeningEvents: () => string[];
|
|
921
|
-
copyEventListeners: (target: any) => any;
|
|
922
|
-
fire: (eventType: string, param?: import("maptalks").BaseEventParamsType) => any;
|
|
923
|
-
_wrapOnceHandler: (evtType: string, handler: import("maptalks").HandlerFn, context?: any) => (...args: any[]) => void;
|
|
924
|
-
_switch: (to: string, eventRecords: import("maptalks").EventRecords, context?: any) => any;
|
|
925
|
-
_clearListeners: (eventType: string) => void;
|
|
926
|
-
_clearAllListeners: () => void;
|
|
927
|
-
_setEventParent: (parent: any) => any;
|
|
928
|
-
_setEventTarget: (target: any) => any;
|
|
929
|
-
_fire: (eventType: string, param: import("maptalks").BaseEventParamsType) => any;
|
|
930
|
-
proxyOptions: () => import("maptalks").Layer;
|
|
931
|
-
callInitHooks: () => import("maptalks").Layer;
|
|
932
|
-
_setOptions: (options: import("maptalks").ClassOptions) => import("maptalks").Layer;
|
|
933
|
-
setOptions: (options: import("maptalks").ClassOptions) => import("maptalks").Layer;
|
|
934
|
-
config: (conf?: string | import("maptalks").ClassOptions, value?: any) => import("maptalks").Layer | import("maptalks").ClassOptions;
|
|
935
|
-
}[] | undefined;
|
|
936
|
-
draggable?: boolean | undefined;
|
|
937
|
-
dragPan?: boolean | undefined;
|
|
938
|
-
dragPanEasing?: import("maptalks").EasingType | undefined;
|
|
939
|
-
dragRotate?: boolean | undefined;
|
|
940
|
-
dragPitch?: boolean | undefined;
|
|
941
|
-
dragRotatePitch?: boolean | undefined;
|
|
942
|
-
touchGesture?: boolean | undefined;
|
|
943
|
-
touchZoom?: boolean | undefined;
|
|
944
|
-
touchRotate?: boolean | undefined;
|
|
945
|
-
touchPitch?: boolean | undefined;
|
|
946
|
-
touchZoomRotate?: boolean | undefined;
|
|
947
|
-
doubleClickZoom?: boolean | undefined;
|
|
948
|
-
scrollWheelZoom?: boolean | undefined;
|
|
949
|
-
geometryEvents?: boolean | undefined;
|
|
950
|
-
control?: boolean | undefined;
|
|
951
|
-
attribution?: boolean | {
|
|
952
|
-
content?: (string | HTMLElement) | undefined;
|
|
953
|
-
custom?: boolean | undefined;
|
|
954
|
-
position?: string | {
|
|
955
|
-
top?: number | string | undefined;
|
|
956
|
-
bottom?: number | string | undefined;
|
|
957
|
-
left?: number | string | undefined;
|
|
958
|
-
right?: number | string | undefined;
|
|
959
|
-
} | undefined;
|
|
960
|
-
cssName?: (string | Array<string>) | undefined;
|
|
961
|
-
} | undefined;
|
|
962
|
-
zoomControl?: boolean | undefined;
|
|
963
|
-
scaleControl?: boolean | undefined;
|
|
964
|
-
overviewControl?: boolean | undefined;
|
|
965
|
-
fog?: boolean | undefined;
|
|
966
|
-
fogColor?: any;
|
|
967
|
-
devicePixelRatio?: number | undefined;
|
|
968
|
-
heightFactor?: number | undefined;
|
|
969
|
-
originLatitudeForAltitude?: number | undefined;
|
|
970
|
-
viewHistory?: boolean | undefined;
|
|
971
|
-
viewHistoryCount?: number | undefined;
|
|
972
|
-
seamlessZoom?: boolean | undefined;
|
|
973
|
-
maxVisualPitch?: number | undefined;
|
|
974
|
-
maxPitch?: number | undefined;
|
|
975
|
-
centerCross?: boolean | undefined;
|
|
976
|
-
zoomable?: boolean | undefined;
|
|
977
|
-
zoomInCenter?: boolean | undefined;
|
|
978
|
-
zoomOrigin?: Array<number> | undefined;
|
|
979
|
-
zoomAnimation?: boolean | undefined;
|
|
980
|
-
zoomAnimationDuration?: number | undefined;
|
|
981
|
-
tileBackgroundLimitPerFrame?: number | undefined;
|
|
982
|
-
panAnimation?: boolean | undefined;
|
|
983
|
-
panAnimationDuration?: number | undefined;
|
|
984
|
-
rotateAnimation?: boolean | undefined;
|
|
985
|
-
rotateAnimationDuration?: number | undefined;
|
|
986
|
-
enableInfoWindow?: boolean | undefined;
|
|
987
|
-
hitDetect?: boolean | undefined;
|
|
988
|
-
hitDetectLimit?: number | undefined;
|
|
989
|
-
fpsOnInteracting?: number | undefined;
|
|
990
|
-
layerCanvasLimitOnInteracting?: number | undefined;
|
|
991
|
-
maxZoom?: number | undefined;
|
|
992
|
-
minZoom?: number | undefined;
|
|
993
|
-
maxExtent?: {
|
|
994
|
-
_clazz: typeof import("maptalks").Coordinate | typeof import("maptalks").Point;
|
|
995
|
-
_dirty: boolean;
|
|
996
|
-
projection: any;
|
|
997
|
-
xmin: import("maptalks").WithNull<number>;
|
|
998
|
-
xmax: import("maptalks").WithNull<number>;
|
|
999
|
-
ymin: import("maptalks").WithNull<number>;
|
|
1000
|
-
ymax: import("maptalks").WithNull<number>;
|
|
1001
|
-
pxmin: number;
|
|
1002
|
-
pxmax: number;
|
|
1003
|
-
pymin: number;
|
|
1004
|
-
pymax: number;
|
|
1005
|
-
left?: number | undefined;
|
|
1006
|
-
right?: number | undefined;
|
|
1007
|
-
top?: number | undefined;
|
|
1008
|
-
bottom?: number | undefined;
|
|
1009
|
-
antiMeridian?: boolean | undefined;
|
|
1010
|
-
_initialize: {
|
|
1011
|
-
(p1: import("maptalks").WithNull<import("maptalks").ExtentLike>): void;
|
|
1012
|
-
(p1: import("maptalks").PositionType, p2: import("maptalks").PositionType): void;
|
|
1013
|
-
(p1: number, p2: number, p3: number, p4: number): void;
|
|
1014
|
-
};
|
|
1015
|
-
_add: {
|
|
1016
|
-
(p: import("maptalks").Extent): import("maptalks").Extent;
|
|
1017
|
-
(p: import("maptalks").PointExtent): import("maptalks").Extent;
|
|
1018
|
-
(p: import("maptalks").PositionType): import("maptalks").Extent;
|
|
1019
|
-
(p: number[]): import("maptalks").Extent;
|
|
1020
|
-
};
|
|
1021
|
-
add: {
|
|
1022
|
-
(p: import("maptalks").Extent): import("maptalks").Extent;
|
|
1023
|
-
(p: import("maptalks").PointExtent): import("maptalks").Extent;
|
|
1024
|
-
(p: import("maptalks").PositionType): import("maptalks").Extent;
|
|
1025
|
-
(p: number[]): import("maptalks").Extent;
|
|
1026
|
-
};
|
|
1027
|
-
_scale: (s: number) => import("maptalks").Extent;
|
|
1028
|
-
_sub: {
|
|
1029
|
-
(p: [number, number]): import("maptalks").Extent;
|
|
1030
|
-
(p: import("maptalks").PositionType): import("maptalks").Extent;
|
|
1031
|
-
(p: import("maptalks").Extent | import("maptalks").PointExtent): import("maptalks").Extent;
|
|
1032
|
-
};
|
|
1033
|
-
_substract: {
|
|
1034
|
-
(p: [number, number]): import("maptalks").Extent;
|
|
1035
|
-
(p: import("maptalks").PositionType): import("maptalks").Extent;
|
|
1036
|
-
(p: import("maptalks").Extent | import("maptalks").PointExtent): import("maptalks").Extent;
|
|
1037
|
-
};
|
|
1038
|
-
sub: {
|
|
1039
|
-
(p: [number, number]): import("maptalks").Extent;
|
|
1040
|
-
(p: import("maptalks").PositionType): import("maptalks").Extent;
|
|
1041
|
-
(p: import("maptalks").Extent | import("maptalks").PointExtent): import("maptalks").Extent;
|
|
1042
|
-
};
|
|
1043
|
-
substract: {
|
|
1044
|
-
(p: [number, number]): import("maptalks").Extent;
|
|
1045
|
-
(p: import("maptalks").PositionType): import("maptalks").Extent;
|
|
1046
|
-
(p: import("maptalks").Extent | import("maptalks").PointExtent): import("maptalks").Extent;
|
|
1047
|
-
};
|
|
1048
|
-
round: () => import("maptalks").PointExtent | import("maptalks").Extent;
|
|
1049
|
-
_round: () => import("maptalks").Extent;
|
|
1050
|
-
getMin: {
|
|
1051
|
-
(out?: import("maptalks").Point): import("maptalks").Point;
|
|
1052
|
-
(out?: import("maptalks").Coordinate): import("maptalks").Coordinate;
|
|
1053
|
-
};
|
|
1054
|
-
getMax: {
|
|
1055
|
-
(out?: import("maptalks").Point): import("maptalks").Point;
|
|
1056
|
-
(out?: import("maptalks").Coordinate): import("maptalks").Coordinate;
|
|
1057
|
-
};
|
|
1058
|
-
getCenter: (out?: import("maptalks").PositionType) => import("maptalks").PositionType;
|
|
1059
|
-
isValid: () => boolean;
|
|
1060
|
-
equals: (ext2: import("maptalks").Extent | import("maptalks").PointExtent) => boolean;
|
|
1061
|
-
intersects: (ext2: import("maptalks").Extent | import("maptalks").PointExtent) => boolean;
|
|
1062
|
-
within: (extent: import("maptalks").Extent | import("maptalks").PointExtent) => boolean;
|
|
1063
|
-
contains: (c: import("maptalks").CoordinateLike) => boolean;
|
|
1064
|
-
getWidth: () => number;
|
|
1065
|
-
getHeight: () => number;
|
|
1066
|
-
getSize: () => import("maptalks").Size;
|
|
1067
|
-
set: (xmin: import("maptalks").WithNull<number>, ymin: import("maptalks").WithNull<number>, xmax: import("maptalks").WithNull<number>, ymax: import("maptalks").WithNull<number>) => import("maptalks").Extent;
|
|
1068
|
-
__combine: (extent: import("maptalks").PositionType | import("maptalks").Extent | import("maptalks").PointExtent) => number[];
|
|
1069
|
-
_combine: (extent: import("maptalks").PositionType | import("maptalks").Extent | import("maptalks").PointExtent) => import("maptalks").Extent;
|
|
1070
|
-
combine: (extent: import("maptalks").PositionType | import("maptalks").Extent | import("maptalks").PointExtent) => any;
|
|
1071
|
-
intersection: (extent: import("maptalks").Extent | import("maptalks").PointExtent) => any;
|
|
1072
|
-
expand: (distance: number | import("maptalks").Size) => import("maptalks").PointExtent | import("maptalks").Extent;
|
|
1073
|
-
_expand: (distance: number | import("maptalks").Size) => import("maptalks").Extent;
|
|
1074
|
-
toJSON: () => import("maptalks").JsonExtent;
|
|
1075
|
-
toArray: (out?: import("maptalks").PositionType[]) => import("maptalks").PositionType[];
|
|
1076
|
-
toBBOX: () => number[];
|
|
1077
|
-
toString: () => string;
|
|
1078
|
-
copy: () => import("maptalks").PointExtent | import("maptalks").Extent;
|
|
1079
|
-
convertTo: {
|
|
1080
|
-
(fn: (p: import("maptalks").Point) => import("maptalks").Point, out?: import("maptalks").Extent | import("maptalks").PointExtent): import("maptalks").Extent | import("maptalks").PointExtent;
|
|
1081
|
-
(fn: (p: import("maptalks").Coordinate) => import("maptalks").Coordinate, out?: import("maptalks").Extent | import("maptalks").PointExtent): import("maptalks").Extent | import("maptalks").PointExtent;
|
|
1082
|
-
};
|
|
1083
|
-
_project: (ext: import("maptalks").Extent | import("maptalks").PointExtent) => void;
|
|
1084
|
-
} | undefined;
|
|
1085
|
-
limitExtentOnMaxExtent?: boolean | undefined;
|
|
1086
|
-
fixCenterOnResize?: boolean | undefined;
|
|
1087
|
-
checkSize?: boolean | undefined;
|
|
1088
|
-
checkSizeInterval?: number | undefined;
|
|
1089
|
-
renderer?: (import("maptalks").MapRendererType | import("maptalks").MapRendererType[]) | undefined;
|
|
1090
|
-
cascadePitches?: Array<number> | undefined;
|
|
1091
|
-
renderable?: boolean | undefined;
|
|
1092
|
-
clickTimeThreshold?: number | undefined;
|
|
1093
|
-
stopRenderOnOffscreen?: boolean | undefined;
|
|
1094
|
-
preventWheelScroll?: boolean | undefined;
|
|
1095
|
-
preventTouch?: boolean | undefined;
|
|
1096
|
-
supportPluginEvent?: boolean | undefined;
|
|
1097
|
-
switchDragButton?: boolean | undefined;
|
|
1098
|
-
mousemoveThrottleTime?: number | undefined;
|
|
1099
|
-
mousemoveThrottleEnable?: boolean | undefined;
|
|
1100
|
-
maxFPS?: number | undefined;
|
|
1101
|
-
debug?: boolean | undefined;
|
|
1102
|
-
spatialReference?: {
|
|
1103
|
-
projection: string | {
|
|
1104
|
-
code: string;
|
|
1105
|
-
is: (code: string) => boolean;
|
|
1106
|
-
project: ((p: import("maptalks").Coordinate) => import("maptalks").Coordinate) & ((lnglat: import("maptalks").Coordinate, out?: import("maptalks").Coordinate) => import("maptalks").Coordinate);
|
|
1107
|
-
unproject: ((p: import("maptalks").Coordinate) => import("maptalks").Coordinate) & ((pLnglat: import("maptalks").Coordinate, out?: import("maptalks").Coordinate) => import("maptalks").Coordinate);
|
|
1108
|
-
projectCoords: (coordinates: import("maptalks").Coordinate[] | import("maptalks").Coordinate[][] | import("maptalks").Coordinate[][][], antiMeridian?: boolean) => import("maptalks").Coordinate[] | import("maptalks").Coordinate[][] | import("maptalks").Coordinate[][][];
|
|
1109
|
-
unprojectCoords: (projCoords: import("maptalks").Coordinate[] | import("maptalks").Coordinate[][] | import("maptalks").Coordinate[][][]) => import("maptalks").Coordinate[] | import("maptalks").Coordinate[][] | import("maptalks").Coordinate[][][];
|
|
1110
|
-
isSphere: () => boolean;
|
|
1111
|
-
isOutSphere: (pcoord: import("maptalks").Coordinate) => boolean;
|
|
1112
|
-
wrapCoord: (pcoord: import("maptalks").Coordinate) => import("maptalks").Coordinate;
|
|
1113
|
-
getCircum: () => Record<string, number>;
|
|
1114
|
-
getSphereExtent: () => import("maptalks").Extent;
|
|
1115
|
-
rad: number;
|
|
1116
|
-
metersPerDegree: number;
|
|
1117
|
-
maxLatitude: number;
|
|
1118
|
-
measure: string;
|
|
1119
|
-
sphere: {
|
|
1120
|
-
radius: number;
|
|
1121
|
-
measureLenBetween: (c1: import("maptalks").CoordsLike, c2: import("maptalks").CoordsLike, ignoreAltitude?: boolean) => number;
|
|
1122
|
-
measureArea: (coordinates: import("maptalks").CoordsLike[]) => number;
|
|
1123
|
-
locate: (c: import("maptalks").CoordsLike, xDist: number, yDist: number, out?: import("maptalks").Coordinate) => import("maptalks").Coordinate;
|
|
1124
|
-
_locate: (c: import("maptalks").Coordinate, xDist: number, yDist: number) => import("maptalks").WithNull<import("maptalks").Coordinate>;
|
|
1125
|
-
rotate: (c: import("maptalks").CoordsLike, pivot: import("maptalks").Coordinate, angle: number) => import("maptalks").Coordinate;
|
|
1126
|
-
_rotate: (c: import("maptalks").Coordinate, pivot: import("maptalks").Coordinate, angle: number) => import("maptalks").Coordinate;
|
|
1127
|
-
};
|
|
1128
|
-
measureLenBetween: (c1: import("maptalks").CoordsLike, c2: import("maptalks").CoordsLike) => number;
|
|
1129
|
-
measureArea: (coordinates: import("maptalks").Coordinate[]) => number;
|
|
1130
|
-
_locate: (c: import("maptalks").CoordsLike, xDist: number, yDist: number) => any;
|
|
1131
|
-
locate: (c: import("maptalks").CoordsLike, xDist: number, yDist: number, out?: import("maptalks").Coordinate) => any;
|
|
1132
|
-
_rotate: (c: import("maptalks").Coordinate, pivot: import("maptalks").Coordinate, angle: number) => any;
|
|
1133
|
-
rotate: (c: import("maptalks").CoordsLike, pivot: import("maptalks").Coordinate, angle: number) => any;
|
|
1134
|
-
measureLength: (c1: import("maptalks").Coordinate, c2: import("maptalks").Coordinate) => number;
|
|
1135
|
-
} | {
|
|
1136
|
-
code: string;
|
|
1137
|
-
is: (code: string) => boolean;
|
|
1138
|
-
project: ((p: import("maptalks").Coordinate) => import("maptalks").Coordinate) & ((p: import("maptalks").Coordinate, out?: import("maptalks").Coordinate) => import("maptalks").Coordinate);
|
|
1139
|
-
unproject: ((p: import("maptalks").Coordinate) => import("maptalks").Coordinate) & ((p: import("maptalks").Coordinate, out?: import("maptalks").Coordinate) => import("maptalks").Coordinate);
|
|
1140
|
-
projectCoords: (coordinates: import("maptalks").Coordinate[] | import("maptalks").Coordinate[][] | import("maptalks").Coordinate[][][], antiMeridian?: boolean) => import("maptalks").Coordinate[] | import("maptalks").Coordinate[][] | import("maptalks").Coordinate[][][];
|
|
1141
|
-
unprojectCoords: (projCoords: import("maptalks").Coordinate[] | import("maptalks").Coordinate[][] | import("maptalks").Coordinate[][][]) => import("maptalks").Coordinate[] | import("maptalks").Coordinate[][] | import("maptalks").Coordinate[][][];
|
|
1142
|
-
isSphere: () => boolean;
|
|
1143
|
-
isOutSphere: (pcoord: import("maptalks").Coordinate) => boolean;
|
|
1144
|
-
wrapCoord: (pcoord: import("maptalks").Coordinate) => import("maptalks").Coordinate;
|
|
1145
|
-
getCircum: () => Record<string, number>;
|
|
1146
|
-
getSphereExtent: () => import("maptalks").Extent;
|
|
1147
|
-
aliases: string[];
|
|
1148
|
-
measure: string;
|
|
1149
|
-
sphere: {
|
|
1150
|
-
radius: number;
|
|
1151
|
-
measureLenBetween: (c1: import("maptalks").CoordsLike, c2: import("maptalks").CoordsLike, ignoreAltitude?: boolean) => number;
|
|
1152
|
-
measureArea: (coordinates: import("maptalks").CoordsLike[]) => number;
|
|
1153
|
-
locate: (c: import("maptalks").CoordsLike, xDist: number, yDist: number, out?: import("maptalks").Coordinate) => import("maptalks").Coordinate;
|
|
1154
|
-
_locate: (c: import("maptalks").Coordinate, xDist: number, yDist: number) => import("maptalks").WithNull<import("maptalks").Coordinate>;
|
|
1155
|
-
rotate: (c: import("maptalks").CoordsLike, pivot: import("maptalks").Coordinate, angle: number) => import("maptalks").Coordinate;
|
|
1156
|
-
_rotate: (c: import("maptalks").Coordinate, pivot: import("maptalks").Coordinate, angle: number) => import("maptalks").Coordinate;
|
|
1157
|
-
};
|
|
1158
|
-
measureLenBetween: (c1: import("maptalks").CoordsLike, c2: import("maptalks").CoordsLike) => number;
|
|
1159
|
-
measureArea: (coordinates: import("maptalks").Coordinate[]) => number;
|
|
1160
|
-
_locate: (c: import("maptalks").CoordsLike, xDist: number, yDist: number) => any;
|
|
1161
|
-
locate: (c: import("maptalks").CoordsLike, xDist: number, yDist: number, out?: import("maptalks").Coordinate) => any;
|
|
1162
|
-
_rotate: (c: import("maptalks").Coordinate, pivot: import("maptalks").Coordinate, angle: number) => any;
|
|
1163
|
-
rotate: (c: import("maptalks").CoordsLike, pivot: import("maptalks").Coordinate, angle: number) => any;
|
|
1164
|
-
measureLength: (c1: import("maptalks").Coordinate, c2: import("maptalks").Coordinate) => number;
|
|
1165
|
-
} | {
|
|
1166
|
-
code: string;
|
|
1167
|
-
is: (code: string) => boolean;
|
|
1168
|
-
project: (p: import("maptalks").Coordinate) => import("maptalks").Coordinate;
|
|
1169
|
-
unproject: (p: import("maptalks").Coordinate) => import("maptalks").Coordinate;
|
|
1170
|
-
projectCoords: (coordinates: import("maptalks").Coordinate[] | import("maptalks").Coordinate[][] | import("maptalks").Coordinate[][][], antiMeridian?: boolean) => import("maptalks").Coordinate[] | import("maptalks").Coordinate[][] | import("maptalks").Coordinate[][][];
|
|
1171
|
-
unprojectCoords: (projCoords: import("maptalks").Coordinate[] | import("maptalks").Coordinate[][] | import("maptalks").Coordinate[][][]) => import("maptalks").Coordinate[] | import("maptalks").Coordinate[][] | import("maptalks").Coordinate[][][];
|
|
1172
|
-
isSphere: () => boolean;
|
|
1173
|
-
isOutSphere: (pcoord: import("maptalks").Coordinate) => boolean;
|
|
1174
|
-
wrapCoord: (pcoord: import("maptalks").Coordinate) => import("maptalks").Coordinate;
|
|
1175
|
-
getCircum: () => Record<string, number>;
|
|
1176
|
-
getSphereExtent: () => import("maptalks").Extent;
|
|
1177
|
-
aliases: string[];
|
|
1178
|
-
centralMeridian: number;
|
|
1179
|
-
create: (params: Partial<import("maptalks").EPSG9807ProjectionParams>) => {
|
|
1180
|
-
code: string;
|
|
1181
|
-
is(code: string): boolean;
|
|
1182
|
-
project(p: import("maptalks").Coordinate): import("maptalks").Coordinate;
|
|
1183
|
-
unproject(p: import("maptalks").Coordinate): import("maptalks").Coordinate;
|
|
1184
|
-
projectCoords(coordinates: import("maptalks").Coordinate[] | import("maptalks").Coordinate[][] | import("maptalks").Coordinate[][][], antiMeridian?: boolean): import("maptalks").Coordinate[] | import("maptalks").Coordinate[][] | import("maptalks").Coordinate[][][];
|
|
1185
|
-
unprojectCoords(projCoords: import("maptalks").Coordinate[] | import("maptalks").Coordinate[][] | import("maptalks").Coordinate[][][]): import("maptalks").Coordinate[] | import("maptalks").Coordinate[][] | import("maptalks").Coordinate[][][];
|
|
1186
|
-
isSphere(): boolean;
|
|
1187
|
-
isOutSphere(pcoord: import("maptalks").Coordinate): boolean;
|
|
1188
|
-
wrapCoord(pcoord: import("maptalks").Coordinate): import("maptalks").Coordinate;
|
|
1189
|
-
getCircum(): Record<string, number>;
|
|
1190
|
-
getSphereExtent(): import("maptalks").Extent;
|
|
1191
|
-
} & {
|
|
1192
|
-
code: string;
|
|
1193
|
-
aliases: string[];
|
|
1194
|
-
centralMeridian: number;
|
|
1195
|
-
project: (p: import("maptalks").Coordinate, out?: import("maptalks").Coordinate) => import("maptalks").Coordinate;
|
|
1196
|
-
unproject: (p: import("maptalks").Coordinate, out?: import("maptalks").Coordinate) => import("maptalks").Coordinate;
|
|
1197
|
-
} & {
|
|
1198
|
-
measure: string;
|
|
1199
|
-
sphere: {
|
|
1200
|
-
radius: number;
|
|
1201
|
-
measureLenBetween(c1: import("maptalks").CoordinateJson | import("maptalks").Coordinate, c2: import("maptalks").CoordinateJson | import("maptalks").Coordinate, ignoreAltitude?: boolean): number;
|
|
1202
|
-
measureArea(coordinates: (import("maptalks").CoordinateJson | import("maptalks").Coordinate)[]): number;
|
|
1203
|
-
locate(c: import("maptalks").CoordinateJson | import("maptalks").Coordinate, xDist: number, yDist: number, out?: import("maptalks").Coordinate): import("maptalks").Coordinate;
|
|
1204
|
-
_locate(c: import("maptalks").Coordinate, xDist: number, yDist: number): import("maptalks").Coordinate;
|
|
1205
|
-
rotate(c: import("maptalks").CoordinateJson | import("maptalks").Coordinate, pivot: import("maptalks").Coordinate, angle: number): import("maptalks").Coordinate;
|
|
1206
|
-
_rotate(c: import("maptalks").Coordinate, pivot: import("maptalks").Coordinate, angle: number): import("maptalks").Coordinate;
|
|
1207
|
-
};
|
|
1208
|
-
measureLenBetween(c1: import("maptalks").CoordinateJson | import("maptalks").Coordinate, c2: import("maptalks").CoordinateJson | import("maptalks").Coordinate): number;
|
|
1209
|
-
measureArea(coordinates: import("maptalks").Coordinate[]): number;
|
|
1210
|
-
_locate(c: import("maptalks").CoordinateJson | import("maptalks").Coordinate, xDist: number, yDist: number): any;
|
|
1211
|
-
locate(c: import("maptalks").CoordinateJson | import("maptalks").Coordinate, xDist: number, yDist: number, out?: import("maptalks").Coordinate): any;
|
|
1212
|
-
_rotate(c: import("maptalks").Coordinate, pivot: import("maptalks").Coordinate, angle: number): any;
|
|
1213
|
-
rotate(c: import("maptalks").CoordinateJson | import("maptalks").Coordinate, pivot: import("maptalks").Coordinate, angle: number): any;
|
|
1214
|
-
} & {
|
|
1215
|
-
measureLength: (c1: import("maptalks").Coordinate, c2: import("maptalks").Coordinate) => number;
|
|
1216
|
-
};
|
|
1217
|
-
} | {
|
|
1218
|
-
code: string;
|
|
1219
|
-
is: (code: string) => boolean;
|
|
1220
|
-
project: ((p: import("maptalks").Coordinate) => import("maptalks").Coordinate) & ((p: import("maptalks").Coordinate, out?: import("maptalks").Coordinate) => import("maptalks").Coordinate);
|
|
1221
|
-
unproject: ((p: import("maptalks").Coordinate) => import("maptalks").Coordinate) & ((p: import("maptalks").Coordinate, out?: import("maptalks").Coordinate) => import("maptalks").Coordinate);
|
|
1222
|
-
projectCoords: (coordinates: import("maptalks").Coordinate[] | import("maptalks").Coordinate[][] | import("maptalks").Coordinate[][][], antiMeridian?: boolean) => import("maptalks").Coordinate[] | import("maptalks").Coordinate[][] | import("maptalks").Coordinate[][][];
|
|
1223
|
-
unprojectCoords: (projCoords: import("maptalks").Coordinate[] | import("maptalks").Coordinate[][] | import("maptalks").Coordinate[][][]) => import("maptalks").Coordinate[] | import("maptalks").Coordinate[][] | import("maptalks").Coordinate[][][];
|
|
1224
|
-
isSphere: () => boolean;
|
|
1225
|
-
isOutSphere: (pcoord: import("maptalks").Coordinate) => boolean;
|
|
1226
|
-
wrapCoord: (pcoord: import("maptalks").Coordinate) => import("maptalks").Coordinate;
|
|
1227
|
-
getCircum: () => Record<string, number>;
|
|
1228
|
-
getSphereExtent: () => import("maptalks").Extent;
|
|
1229
|
-
measure: string;
|
|
1230
|
-
sphere: {
|
|
1231
|
-
radius: number;
|
|
1232
|
-
measureLenBetween: (c1: import("maptalks").CoordsLike, c2: import("maptalks").CoordsLike, ignoreAltitude?: boolean) => number;
|
|
1233
|
-
measureArea: (coordinates: import("maptalks").CoordsLike[]) => number;
|
|
1234
|
-
locate: (c: import("maptalks").CoordsLike, xDist: number, yDist: number, out?: import("maptalks").Coordinate) => import("maptalks").Coordinate;
|
|
1235
|
-
_locate: (c: import("maptalks").Coordinate, xDist: number, yDist: number) => import("maptalks").WithNull<import("maptalks").Coordinate>;
|
|
1236
|
-
rotate: (c: import("maptalks").CoordsLike, pivot: import("maptalks").Coordinate, angle: number) => import("maptalks").Coordinate;
|
|
1237
|
-
_rotate: (c: import("maptalks").Coordinate, pivot: import("maptalks").Coordinate, angle: number) => import("maptalks").Coordinate;
|
|
1238
|
-
};
|
|
1239
|
-
measureLenBetween: (c1: import("maptalks").CoordsLike, c2: import("maptalks").CoordsLike) => number;
|
|
1240
|
-
measureArea: (coordinates: import("maptalks").CoordsLike[]) => number;
|
|
1241
|
-
_locate: (c: import("maptalks").Coordinate, xDist: number, yDist: number) => any;
|
|
1242
|
-
locate: (c: import("maptalks").CoordsLike, xDist: number, yDist: number, out?: import("maptalks").Coordinate) => any;
|
|
1243
|
-
_rotate: (c: import("maptalks").Coordinate, pivot: import("maptalks").Coordinate, angle: number) => any;
|
|
1244
|
-
rotate: (c: import("maptalks").CoordsLike, pivot: import("maptalks").Coordinate, angle: number) => any;
|
|
1245
|
-
measureLength: (c1: import("maptalks").Coordinate, c2: import("maptalks").Coordinate) => number;
|
|
1246
|
-
EARTHRADIUS: number;
|
|
1247
|
-
MCBAND: number[];
|
|
1248
|
-
LLBAND: number[];
|
|
1249
|
-
MC2LL: number[][];
|
|
1250
|
-
LL2MC: number[][];
|
|
1251
|
-
convertMC2LL: (cB: import("maptalks").Coordinate, out?: import("maptalks").Coordinate) => import("maptalks").Coordinate;
|
|
1252
|
-
convertLL2MC: (T: import("maptalks").Coordinate, out?: import("maptalks").Coordinate) => import("maptalks").Coordinate;
|
|
1253
|
-
convertor: (cC: import("maptalks").Coordinate, cD: number, out?: import("maptalks").Coordinate) => import("maptalks").Coordinate;
|
|
1254
|
-
toRadians: (T: number) => number;
|
|
1255
|
-
toDegrees: (T: number) => number;
|
|
1256
|
-
getRange: (cC: number, cB: number, T: number) => number;
|
|
1257
|
-
getLoop: (cC: number, cB: number, T: number) => number;
|
|
1258
|
-
} | {
|
|
1259
|
-
code: string;
|
|
1260
|
-
is: (code: string) => boolean;
|
|
1261
|
-
project: (p: import("maptalks").Coordinate) => import("maptalks").Coordinate;
|
|
1262
|
-
unproject: (p: import("maptalks").Coordinate) => import("maptalks").Coordinate;
|
|
1263
|
-
projectCoords: (coordinates: import("maptalks").Coordinate[] | import("maptalks").Coordinate[][] | import("maptalks").Coordinate[][][], antiMeridian?: boolean) => import("maptalks").Coordinate[] | import("maptalks").Coordinate[][] | import("maptalks").Coordinate[][][];
|
|
1264
|
-
unprojectCoords: (projCoords: import("maptalks").Coordinate[] | import("maptalks").Coordinate[][] | import("maptalks").Coordinate[][][]) => import("maptalks").Coordinate[] | import("maptalks").Coordinate[][] | import("maptalks").Coordinate[][][];
|
|
1265
|
-
isSphere: () => boolean;
|
|
1266
|
-
isOutSphere: (pcoord: import("maptalks").Coordinate) => boolean;
|
|
1267
|
-
wrapCoord: (pcoord: import("maptalks").Coordinate) => import("maptalks").Coordinate;
|
|
1268
|
-
getCircum: () => Record<string, number>;
|
|
1269
|
-
getSphereExtent: () => import("maptalks").Extent;
|
|
1270
|
-
aliases: string[] & any[];
|
|
1271
|
-
centralMeridian: number;
|
|
1272
|
-
create: ((params: Partial<import("maptalks").EPSG9807ProjectionParams>) => {
|
|
1273
|
-
code: string;
|
|
1274
|
-
is(code: string): boolean;
|
|
1275
|
-
project(p: import("maptalks").Coordinate): import("maptalks").Coordinate;
|
|
1276
|
-
unproject(p: import("maptalks").Coordinate): import("maptalks").Coordinate;
|
|
1277
|
-
projectCoords(coordinates: import("maptalks").Coordinate[] | import("maptalks").Coordinate[][] | import("maptalks").Coordinate[][][], antiMeridian?: boolean): import("maptalks").Coordinate[] | import("maptalks").Coordinate[][] | import("maptalks").Coordinate[][][];
|
|
1278
|
-
unprojectCoords(projCoords: import("maptalks").Coordinate[] | import("maptalks").Coordinate[][] | import("maptalks").Coordinate[][][]): import("maptalks").Coordinate[] | import("maptalks").Coordinate[][] | import("maptalks").Coordinate[][][];
|
|
1279
|
-
isSphere(): boolean;
|
|
1280
|
-
isOutSphere(pcoord: import("maptalks").Coordinate): boolean;
|
|
1281
|
-
wrapCoord(pcoord: import("maptalks").Coordinate): import("maptalks").Coordinate;
|
|
1282
|
-
getCircum(): Record<string, number>;
|
|
1283
|
-
getSphereExtent(): import("maptalks").Extent;
|
|
1284
|
-
} & {
|
|
1285
|
-
code: string;
|
|
1286
|
-
aliases: string[];
|
|
1287
|
-
centralMeridian: number;
|
|
1288
|
-
project: (p: import("maptalks").Coordinate, out?: import("maptalks").Coordinate) => import("maptalks").Coordinate;
|
|
1289
|
-
unproject: (p: import("maptalks").Coordinate, out?: import("maptalks").Coordinate) => import("maptalks").Coordinate;
|
|
1290
|
-
} & {
|
|
1291
|
-
measure: string;
|
|
1292
|
-
sphere: {
|
|
1293
|
-
radius: number;
|
|
1294
|
-
measureLenBetween(c1: import("maptalks").CoordinateJson | import("maptalks").Coordinate, c2: import("maptalks").CoordinateJson | import("maptalks").Coordinate, ignoreAltitude?: boolean): number;
|
|
1295
|
-
measureArea(coordinates: (import("maptalks").CoordinateJson | import("maptalks").Coordinate)[]): number;
|
|
1296
|
-
locate(c: import("maptalks").CoordinateJson | import("maptalks").Coordinate, xDist: number, yDist: number, out?: import("maptalks").Coordinate): import("maptalks").Coordinate;
|
|
1297
|
-
_locate(c: import("maptalks").Coordinate, xDist: number, yDist: number): import("maptalks").Coordinate;
|
|
1298
|
-
rotate(c: import("maptalks").CoordinateJson | import("maptalks").Coordinate, pivot: import("maptalks").Coordinate, angle: number): import("maptalks").Coordinate;
|
|
1299
|
-
_rotate(c: import("maptalks").Coordinate, pivot: import("maptalks").Coordinate, angle: number): import("maptalks").Coordinate;
|
|
1300
|
-
};
|
|
1301
|
-
measureLenBetween(c1: import("maptalks").CoordinateJson | import("maptalks").Coordinate, c2: import("maptalks").CoordinateJson | import("maptalks").Coordinate): number;
|
|
1302
|
-
measureArea(coordinates: import("maptalks").Coordinate[]): number;
|
|
1303
|
-
_locate(c: import("maptalks").CoordinateJson | import("maptalks").Coordinate, xDist: number, yDist: number): any;
|
|
1304
|
-
locate(c: import("maptalks").CoordinateJson | import("maptalks").Coordinate, xDist: number, yDist: number, out?: import("maptalks").Coordinate): any;
|
|
1305
|
-
_rotate(c: import("maptalks").Coordinate, pivot: import("maptalks").Coordinate, angle: number): any;
|
|
1306
|
-
rotate(c: import("maptalks").CoordinateJson | import("maptalks").Coordinate, pivot: import("maptalks").Coordinate, angle: number): any;
|
|
1307
|
-
} & {
|
|
1308
|
-
measureLength: (c1: import("maptalks").Coordinate, c2: import("maptalks").Coordinate) => number;
|
|
1309
|
-
}) & ((params: Partial<import("maptalks").UTMProjectionParams>) => {
|
|
1310
|
-
code: string;
|
|
1311
|
-
is(code: string): boolean;
|
|
1312
|
-
project(p: import("maptalks").Coordinate): import("maptalks").Coordinate;
|
|
1313
|
-
unproject(p: import("maptalks").Coordinate): import("maptalks").Coordinate;
|
|
1314
|
-
projectCoords(coordinates: import("maptalks").Coordinate[] | import("maptalks").Coordinate[][] | import("maptalks").Coordinate[][][], antiMeridian?: boolean): import("maptalks").Coordinate[] | import("maptalks").Coordinate[][] | import("maptalks").Coordinate[][][];
|
|
1315
|
-
unprojectCoords(projCoords: import("maptalks").Coordinate[] | import("maptalks").Coordinate[][] | import("maptalks").Coordinate[][][]): import("maptalks").Coordinate[] | import("maptalks").Coordinate[][] | import("maptalks").Coordinate[][][];
|
|
1316
|
-
isSphere(): boolean;
|
|
1317
|
-
isOutSphere(pcoord: import("maptalks").Coordinate): boolean;
|
|
1318
|
-
wrapCoord(pcoord: import("maptalks").Coordinate): import("maptalks").Coordinate;
|
|
1319
|
-
getCircum(): Record<string, number>;
|
|
1320
|
-
getSphereExtent(): import("maptalks").Extent;
|
|
1321
|
-
} & {
|
|
1322
|
-
code: string;
|
|
1323
|
-
aliases: string[];
|
|
1324
|
-
centralMeridian: number;
|
|
1325
|
-
project: (p: import("maptalks").Coordinate, out?: import("maptalks").Coordinate) => import("maptalks").Coordinate;
|
|
1326
|
-
unproject: (p: import("maptalks").Coordinate, out?: import("maptalks").Coordinate) => import("maptalks").Coordinate;
|
|
1327
|
-
} & {
|
|
1328
|
-
measure: string;
|
|
1329
|
-
sphere: {
|
|
1330
|
-
radius: number;
|
|
1331
|
-
measureLenBetween(c1: import("maptalks").CoordinateJson | import("maptalks").Coordinate, c2: import("maptalks").CoordinateJson | import("maptalks").Coordinate, ignoreAltitude?: boolean): number;
|
|
1332
|
-
measureArea(coordinates: (import("maptalks").CoordinateJson | import("maptalks").Coordinate)[]): number;
|
|
1333
|
-
locate(c: import("maptalks").CoordinateJson | import("maptalks").Coordinate, xDist: number, yDist: number, out?: import("maptalks").Coordinate): import("maptalks").Coordinate;
|
|
1334
|
-
_locate(c: import("maptalks").Coordinate, xDist: number, yDist: number): import("maptalks").Coordinate;
|
|
1335
|
-
rotate(c: import("maptalks").CoordinateJson | import("maptalks").Coordinate, pivot: import("maptalks").Coordinate, angle: number): import("maptalks").Coordinate;
|
|
1336
|
-
_rotate(c: import("maptalks").Coordinate, pivot: import("maptalks").Coordinate, angle: number): import("maptalks").Coordinate;
|
|
1337
|
-
};
|
|
1338
|
-
measureLenBetween(c1: import("maptalks").CoordinateJson | import("maptalks").Coordinate, c2: import("maptalks").CoordinateJson | import("maptalks").Coordinate): number;
|
|
1339
|
-
measureArea(coordinates: import("maptalks").Coordinate[]): number;
|
|
1340
|
-
_locate(c: import("maptalks").CoordinateJson | import("maptalks").Coordinate, xDist: number, yDist: number): any;
|
|
1341
|
-
locate(c: import("maptalks").CoordinateJson | import("maptalks").Coordinate, xDist: number, yDist: number, out?: import("maptalks").Coordinate): any;
|
|
1342
|
-
_rotate(c: import("maptalks").Coordinate, pivot: import("maptalks").Coordinate, angle: number): any;
|
|
1343
|
-
rotate(c: import("maptalks").CoordinateJson | import("maptalks").Coordinate, pivot: import("maptalks").Coordinate, angle: number): any;
|
|
1344
|
-
} & {
|
|
1345
|
-
measureLength: (c1: import("maptalks").Coordinate, c2: import("maptalks").Coordinate) => number;
|
|
1346
|
-
});
|
|
1347
|
-
} | {
|
|
1348
|
-
code: string;
|
|
1349
|
-
is: (code: string) => boolean;
|
|
1350
|
-
project: ((p: import("maptalks").Coordinate) => import("maptalks").Coordinate) & ((p: import("maptalks").Coordinate, out?: import("maptalks").Coordinate) => import("maptalks").Coordinate);
|
|
1351
|
-
unproject: ((p: import("maptalks").Coordinate) => import("maptalks").Coordinate) & ((p: import("maptalks").Coordinate, out?: import("maptalks").Coordinate) => import("maptalks").Coordinate);
|
|
1352
|
-
projectCoords: (coordinates: import("maptalks").Coordinate[] | import("maptalks").Coordinate[][] | import("maptalks").Coordinate[][][], antiMeridian?: boolean) => import("maptalks").Coordinate[] | import("maptalks").Coordinate[][] | import("maptalks").Coordinate[][][];
|
|
1353
|
-
unprojectCoords: (projCoords: import("maptalks").Coordinate[] | import("maptalks").Coordinate[][] | import("maptalks").Coordinate[][][]) => import("maptalks").Coordinate[] | import("maptalks").Coordinate[][] | import("maptalks").Coordinate[][][];
|
|
1354
|
-
isSphere: () => boolean;
|
|
1355
|
-
isOutSphere: (pcoord: import("maptalks").Coordinate) => boolean;
|
|
1356
|
-
wrapCoord: (pcoord: import("maptalks").Coordinate) => import("maptalks").Coordinate;
|
|
1357
|
-
getCircum: () => Record<string, number>;
|
|
1358
|
-
getSphereExtent: () => import("maptalks").Extent;
|
|
1359
|
-
measure: string;
|
|
1360
|
-
measureLenBetween: (c1: import("maptalks").Coordinate | import("maptalks").CoordinateJson, c2: import("maptalks").Coordinate | import("maptalks").CoordinateJson, ignoreAltitude?: boolean) => number;
|
|
1361
|
-
measureArea: (coordinates: (import("maptalks").Coordinate | import("maptalks").CoordinateJson)[]) => number;
|
|
1362
|
-
locate: (c: import("maptalks").Coordinate | import("maptalks").CoordinateJson, xDist: number, yDist: number, out?: import("maptalks").Coordinate) => any;
|
|
1363
|
-
_locate: (c: import("maptalks").Coordinate, xDist: number, yDist: number) => import("maptalks").WithNull<import("maptalks").Coordinate>;
|
|
1364
|
-
rotate: (c: import("maptalks").Coordinate | import("maptalks").CoordinateJson, pivot: import("maptalks").Coordinate, angle: number) => any;
|
|
1365
|
-
_rotate: (c: import("maptalks").Coordinate, pivot: import("maptalks").Coordinate, angle: number) => import("maptalks").Coordinate;
|
|
1366
|
-
measureLength: (c1: import("maptalks").Coordinate, c2: import("maptalks").Coordinate) => number;
|
|
1367
|
-
};
|
|
1368
|
-
resolutions?: number[] | undefined;
|
|
1369
|
-
fullExtent?: {
|
|
1370
|
-
top: number;
|
|
1371
|
-
left: number;
|
|
1372
|
-
bottom: number;
|
|
1373
|
-
right: number;
|
|
1374
|
-
} | {
|
|
1375
|
-
xmin: number;
|
|
1376
|
-
xmax: number;
|
|
1377
|
-
ymin: number;
|
|
1378
|
-
ymax: number;
|
|
1379
|
-
} | undefined;
|
|
1380
|
-
} | undefined;
|
|
1381
|
-
autoPanAtEdge?: boolean | undefined;
|
|
1382
|
-
boxZoom?: boolean | undefined;
|
|
1383
|
-
boxZoomSymbol?: {
|
|
1384
|
-
markerType: string;
|
|
1385
|
-
markerLineWidth: number;
|
|
1386
|
-
markerLineColor: string;
|
|
1387
|
-
markerLineDasharray: Array<number>;
|
|
1388
|
-
markerFillOpacity: number;
|
|
1389
|
-
markerFill: string;
|
|
1390
|
-
markerWidth: number;
|
|
1391
|
-
markerHeight: number;
|
|
1392
|
-
} | undefined;
|
|
1393
|
-
onlyVisibleGeometryEvents?: boolean | undefined;
|
|
1394
|
-
compassControl?: boolean | undefined;
|
|
1395
|
-
layerSwitcherControl?: boolean | undefined;
|
|
1396
|
-
navControl?: boolean | undefined;
|
|
1397
|
-
resetControl?: boolean | undefined;
|
|
1398
|
-
cameraFarUndergroundInMeter?: number | undefined;
|
|
1399
|
-
onlyWebGL1?: boolean | undefined;
|
|
1400
|
-
preserveDrawingBuffer?: boolean | undefined;
|
|
1401
|
-
forceRedrawPerFrame?: boolean | undefined;
|
|
1402
|
-
extensions?: string[] | undefined;
|
|
1403
|
-
optionalExtensions?: string[] | undefined;
|
|
1404
|
-
};
|
|
1405
|
-
JSON_VERSION: "1.0";
|
|
1406
|
-
attributionControl?: {
|
|
1407
|
-
buildOn: () => HTMLDivElement;
|
|
1408
|
-
getContent: () => string | HTMLElement;
|
|
1409
|
-
setContent: (content: string | HTMLElement) => {
|
|
1410
|
-
buildOn(): HTMLDivElement;
|
|
1411
|
-
getContent(): string | HTMLElement;
|
|
1412
|
-
setContent(content: string | HTMLElement): /*elided*/ any;
|
|
1413
|
-
onAdd(): void;
|
|
1414
|
-
onRemove(): void;
|
|
1415
|
-
options: import("maptalks").ControlOptionsType & import("maptalks").AttributionOptionsTypeSpec;
|
|
1416
|
-
addTo(map: import("maptalks").Map): /*elided*/ any;
|
|
1417
|
-
update(): /*elided*/ any;
|
|
1418
|
-
getMap(): import("maptalks").Map;
|
|
1419
|
-
getPosition(): import("maptalks").DomPositionType;
|
|
1420
|
-
setPosition(position: import("maptalks").ControlPositionType): /*elided*/ any;
|
|
1421
|
-
getContainerPoint(): import("maptalks").Point;
|
|
1422
|
-
getContainer(): HTMLElement;
|
|
1423
|
-
getDOM(): HTMLElement;
|
|
1424
|
-
show(): /*elided*/ any;
|
|
1425
|
-
hide(): /*elided*/ any;
|
|
1426
|
-
isVisible(): boolean;
|
|
1427
|
-
remove(): /*elided*/ any;
|
|
1428
|
-
onConfig(conf: import("maptalks").ClassOptions): void;
|
|
1429
|
-
config(options: import("maptalks").ControlOptionsType): /*elided*/ any;
|
|
1430
|
-
config<K extends keyof import("maptalks").ControlOptionsType>(conf: K, value: import("maptalks").ControlOptionsType[K]): /*elided*/ any;
|
|
1431
|
-
config(): import("maptalks").ControlOptionsType;
|
|
1432
|
-
_eventMap?: Record<string, {
|
|
1433
|
-
handler: import("maptalks").HandlerFn;
|
|
1434
|
-
context: any;
|
|
1435
|
-
}[]>;
|
|
1436
|
-
_eventParent?: any;
|
|
1437
|
-
_eventTarget?: any;
|
|
1438
|
-
on(eventsOn: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
1439
|
-
addEventListener(...args: any[]): any;
|
|
1440
|
-
once(eventTypes: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
1441
|
-
off(eventsOff: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
1442
|
-
removeEventListener(...args: any[]): any;
|
|
1443
|
-
listens(eventType: string, handler?: import("maptalks").HandlerFn, context?: any): number;
|
|
1444
|
-
getListeningEvents(): string[];
|
|
1445
|
-
copyEventListeners(target: any): any;
|
|
1446
|
-
fire(eventType: string, param?: import("maptalks").BaseEventParamsType): any;
|
|
1447
|
-
_wrapOnceHandler(evtType: string, handler: import("maptalks").HandlerFn, context?: any): (...args: any[]) => void;
|
|
1448
|
-
_switch(to: string, eventRecords: import("maptalks").EventRecords, context?: any): any;
|
|
1449
|
-
_clearListeners(eventType: string): void;
|
|
1450
|
-
_clearAllListeners(): void;
|
|
1451
|
-
_setEventParent(parent: any): any;
|
|
1452
|
-
_setEventTarget(target: any): any;
|
|
1453
|
-
_fire(eventType: string, param: import("maptalks").BaseEventParamsType): any;
|
|
1454
|
-
proxyOptions(): /*elided*/ any;
|
|
1455
|
-
callInitHooks(): /*elided*/ any;
|
|
1456
|
-
_setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
1457
|
-
setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
1458
|
-
};
|
|
1459
|
-
onAdd: () => void;
|
|
1460
|
-
onRemove: () => void;
|
|
1461
|
-
options: {
|
|
1462
|
-
position?: string | {
|
|
1463
|
-
top?: number | string | undefined;
|
|
1464
|
-
bottom?: number | string | undefined;
|
|
1465
|
-
left?: number | string | undefined;
|
|
1466
|
-
right?: number | string | undefined;
|
|
1467
|
-
} | undefined;
|
|
1468
|
-
cssName?: (string | Array<string>) | undefined;
|
|
1469
|
-
content?: (string | HTMLElement) | undefined;
|
|
1470
|
-
custom?: boolean | undefined;
|
|
1471
|
-
};
|
|
1472
|
-
addTo: (map: import("maptalks").Map) => {
|
|
1473
|
-
buildOn(): HTMLDivElement;
|
|
1474
|
-
getContent(): string | HTMLElement;
|
|
1475
|
-
setContent(content: string | HTMLElement): /*elided*/ any;
|
|
1476
|
-
onAdd(): void;
|
|
1477
|
-
onRemove(): void;
|
|
1478
|
-
options: import("maptalks").ControlOptionsType & import("maptalks").AttributionOptionsTypeSpec;
|
|
1479
|
-
addTo(map: import("maptalks").Map): /*elided*/ any;
|
|
1480
|
-
update(): /*elided*/ any;
|
|
1481
|
-
getMap(): import("maptalks").Map;
|
|
1482
|
-
getPosition(): import("maptalks").DomPositionType;
|
|
1483
|
-
setPosition(position: import("maptalks").ControlPositionType): /*elided*/ any;
|
|
1484
|
-
getContainerPoint(): import("maptalks").Point;
|
|
1485
|
-
getContainer(): HTMLElement;
|
|
1486
|
-
getDOM(): HTMLElement;
|
|
1487
|
-
show(): /*elided*/ any;
|
|
1488
|
-
hide(): /*elided*/ any;
|
|
1489
|
-
isVisible(): boolean;
|
|
1490
|
-
remove(): /*elided*/ any;
|
|
1491
|
-
onConfig(conf: import("maptalks").ClassOptions): void;
|
|
1492
|
-
config(options: import("maptalks").ControlOptionsType): /*elided*/ any;
|
|
1493
|
-
config<K extends keyof import("maptalks").ControlOptionsType>(conf: K, value: import("maptalks").ControlOptionsType[K]): /*elided*/ any;
|
|
1494
|
-
config(): import("maptalks").ControlOptionsType;
|
|
1495
|
-
_eventMap?: Record<string, {
|
|
1496
|
-
handler: import("maptalks").HandlerFn;
|
|
1497
|
-
context: any;
|
|
1498
|
-
}[]>;
|
|
1499
|
-
_eventParent?: any;
|
|
1500
|
-
_eventTarget?: any;
|
|
1501
|
-
on(eventsOn: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
1502
|
-
addEventListener(...args: any[]): any;
|
|
1503
|
-
once(eventTypes: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
1504
|
-
off(eventsOff: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
1505
|
-
removeEventListener(...args: any[]): any;
|
|
1506
|
-
listens(eventType: string, handler?: import("maptalks").HandlerFn, context?: any): number;
|
|
1507
|
-
getListeningEvents(): string[];
|
|
1508
|
-
copyEventListeners(target: any): any;
|
|
1509
|
-
fire(eventType: string, param?: import("maptalks").BaseEventParamsType): any;
|
|
1510
|
-
_wrapOnceHandler(evtType: string, handler: import("maptalks").HandlerFn, context?: any): (...args: any[]) => void;
|
|
1511
|
-
_switch(to: string, eventRecords: import("maptalks").EventRecords, context?: any): any;
|
|
1512
|
-
_clearListeners(eventType: string): void;
|
|
1513
|
-
_clearAllListeners(): void;
|
|
1514
|
-
_setEventParent(parent: any): any;
|
|
1515
|
-
_setEventTarget(target: any): any;
|
|
1516
|
-
_fire(eventType: string, param: import("maptalks").BaseEventParamsType): any;
|
|
1517
|
-
proxyOptions(): /*elided*/ any;
|
|
1518
|
-
callInitHooks(): /*elided*/ any;
|
|
1519
|
-
_setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
1520
|
-
setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
1521
|
-
};
|
|
1522
|
-
update: () => {
|
|
1523
|
-
buildOn(): HTMLDivElement;
|
|
1524
|
-
getContent(): string | HTMLElement;
|
|
1525
|
-
setContent(content: string | HTMLElement): /*elided*/ any;
|
|
1526
|
-
onAdd(): void;
|
|
1527
|
-
onRemove(): void;
|
|
1528
|
-
options: import("maptalks").ControlOptionsType & import("maptalks").AttributionOptionsTypeSpec;
|
|
1529
|
-
addTo(map: import("maptalks").Map): /*elided*/ any;
|
|
1530
|
-
update(): /*elided*/ any;
|
|
1531
|
-
getMap(): import("maptalks").Map;
|
|
1532
|
-
getPosition(): import("maptalks").DomPositionType;
|
|
1533
|
-
setPosition(position: import("maptalks").ControlPositionType): /*elided*/ any;
|
|
1534
|
-
getContainerPoint(): import("maptalks").Point;
|
|
1535
|
-
getContainer(): HTMLElement;
|
|
1536
|
-
getDOM(): HTMLElement;
|
|
1537
|
-
show(): /*elided*/ any;
|
|
1538
|
-
hide(): /*elided*/ any;
|
|
1539
|
-
isVisible(): boolean;
|
|
1540
|
-
remove(): /*elided*/ any;
|
|
1541
|
-
onConfig(conf: import("maptalks").ClassOptions): void;
|
|
1542
|
-
config(options: import("maptalks").ControlOptionsType): /*elided*/ any;
|
|
1543
|
-
config<K extends keyof import("maptalks").ControlOptionsType>(conf: K, value: import("maptalks").ControlOptionsType[K]): /*elided*/ any;
|
|
1544
|
-
config(): import("maptalks").ControlOptionsType;
|
|
1545
|
-
_eventMap?: Record<string, {
|
|
1546
|
-
handler: import("maptalks").HandlerFn;
|
|
1547
|
-
context: any;
|
|
1548
|
-
}[]>;
|
|
1549
|
-
_eventParent?: any;
|
|
1550
|
-
_eventTarget?: any;
|
|
1551
|
-
on(eventsOn: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
1552
|
-
addEventListener(...args: any[]): any;
|
|
1553
|
-
once(eventTypes: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
1554
|
-
off(eventsOff: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
1555
|
-
removeEventListener(...args: any[]): any;
|
|
1556
|
-
listens(eventType: string, handler?: import("maptalks").HandlerFn, context?: any): number;
|
|
1557
|
-
getListeningEvents(): string[];
|
|
1558
|
-
copyEventListeners(target: any): any;
|
|
1559
|
-
fire(eventType: string, param?: import("maptalks").BaseEventParamsType): any;
|
|
1560
|
-
_wrapOnceHandler(evtType: string, handler: import("maptalks").HandlerFn, context?: any): (...args: any[]) => void;
|
|
1561
|
-
_switch(to: string, eventRecords: import("maptalks").EventRecords, context?: any): any;
|
|
1562
|
-
_clearListeners(eventType: string): void;
|
|
1563
|
-
_clearAllListeners(): void;
|
|
1564
|
-
_setEventParent(parent: any): any;
|
|
1565
|
-
_setEventTarget(target: any): any;
|
|
1566
|
-
_fire(eventType: string, param: import("maptalks").BaseEventParamsType): any;
|
|
1567
|
-
proxyOptions(): /*elided*/ any;
|
|
1568
|
-
callInitHooks(): /*elided*/ any;
|
|
1569
|
-
_setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
1570
|
-
setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
1571
|
-
};
|
|
1572
|
-
getMap: () => import("maptalks").Map;
|
|
1573
|
-
getPosition: () => import("maptalks").DomPositionType;
|
|
1574
|
-
setPosition: (position: import("maptalks").ControlPositionType) => {
|
|
1575
|
-
buildOn(): HTMLDivElement;
|
|
1576
|
-
getContent(): string | HTMLElement;
|
|
1577
|
-
setContent(content: string | HTMLElement): /*elided*/ any;
|
|
1578
|
-
onAdd(): void;
|
|
1579
|
-
onRemove(): void;
|
|
1580
|
-
options: import("maptalks").ControlOptionsType & import("maptalks").AttributionOptionsTypeSpec;
|
|
1581
|
-
addTo(map: import("maptalks").Map): /*elided*/ any;
|
|
1582
|
-
update(): /*elided*/ any;
|
|
1583
|
-
getMap(): import("maptalks").Map;
|
|
1584
|
-
getPosition(): import("maptalks").DomPositionType;
|
|
1585
|
-
setPosition(position: import("maptalks").ControlPositionType): /*elided*/ any;
|
|
1586
|
-
getContainerPoint(): import("maptalks").Point;
|
|
1587
|
-
getContainer(): HTMLElement;
|
|
1588
|
-
getDOM(): HTMLElement;
|
|
1589
|
-
show(): /*elided*/ any;
|
|
1590
|
-
hide(): /*elided*/ any;
|
|
1591
|
-
isVisible(): boolean;
|
|
1592
|
-
remove(): /*elided*/ any;
|
|
1593
|
-
onConfig(conf: import("maptalks").ClassOptions): void;
|
|
1594
|
-
config(options: import("maptalks").ControlOptionsType): /*elided*/ any;
|
|
1595
|
-
config<K extends keyof import("maptalks").ControlOptionsType>(conf: K, value: import("maptalks").ControlOptionsType[K]): /*elided*/ any;
|
|
1596
|
-
config(): import("maptalks").ControlOptionsType;
|
|
1597
|
-
_eventMap?: Record<string, {
|
|
1598
|
-
handler: import("maptalks").HandlerFn;
|
|
1599
|
-
context: any;
|
|
1600
|
-
}[]>;
|
|
1601
|
-
_eventParent?: any;
|
|
1602
|
-
_eventTarget?: any;
|
|
1603
|
-
on(eventsOn: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
1604
|
-
addEventListener(...args: any[]): any;
|
|
1605
|
-
once(eventTypes: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
1606
|
-
off(eventsOff: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
1607
|
-
removeEventListener(...args: any[]): any;
|
|
1608
|
-
listens(eventType: string, handler?: import("maptalks").HandlerFn, context?: any): number;
|
|
1609
|
-
getListeningEvents(): string[];
|
|
1610
|
-
copyEventListeners(target: any): any;
|
|
1611
|
-
fire(eventType: string, param?: import("maptalks").BaseEventParamsType): any;
|
|
1612
|
-
_wrapOnceHandler(evtType: string, handler: import("maptalks").HandlerFn, context?: any): (...args: any[]) => void;
|
|
1613
|
-
_switch(to: string, eventRecords: import("maptalks").EventRecords, context?: any): any;
|
|
1614
|
-
_clearListeners(eventType: string): void;
|
|
1615
|
-
_clearAllListeners(): void;
|
|
1616
|
-
_setEventParent(parent: any): any;
|
|
1617
|
-
_setEventTarget(target: any): any;
|
|
1618
|
-
_fire(eventType: string, param: import("maptalks").BaseEventParamsType): any;
|
|
1619
|
-
proxyOptions(): /*elided*/ any;
|
|
1620
|
-
callInitHooks(): /*elided*/ any;
|
|
1621
|
-
_setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
1622
|
-
setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
1623
|
-
};
|
|
1624
|
-
getContainerPoint: () => import("maptalks").Point;
|
|
1625
|
-
getContainer: () => HTMLElement;
|
|
1626
|
-
getDOM: () => HTMLElement;
|
|
1627
|
-
show: () => {
|
|
1628
|
-
buildOn(): HTMLDivElement;
|
|
1629
|
-
getContent(): string | HTMLElement;
|
|
1630
|
-
setContent(content: string | HTMLElement): /*elided*/ any;
|
|
1631
|
-
onAdd(): void;
|
|
1632
|
-
onRemove(): void;
|
|
1633
|
-
options: import("maptalks").ControlOptionsType & import("maptalks").AttributionOptionsTypeSpec;
|
|
1634
|
-
addTo(map: import("maptalks").Map): /*elided*/ any;
|
|
1635
|
-
update(): /*elided*/ any;
|
|
1636
|
-
getMap(): import("maptalks").Map;
|
|
1637
|
-
getPosition(): import("maptalks").DomPositionType;
|
|
1638
|
-
setPosition(position: import("maptalks").ControlPositionType): /*elided*/ any;
|
|
1639
|
-
getContainerPoint(): import("maptalks").Point;
|
|
1640
|
-
getContainer(): HTMLElement;
|
|
1641
|
-
getDOM(): HTMLElement;
|
|
1642
|
-
show(): /*elided*/ any;
|
|
1643
|
-
hide(): /*elided*/ any;
|
|
1644
|
-
isVisible(): boolean;
|
|
1645
|
-
remove(): /*elided*/ any;
|
|
1646
|
-
onConfig(conf: import("maptalks").ClassOptions): void;
|
|
1647
|
-
config(options: import("maptalks").ControlOptionsType): /*elided*/ any;
|
|
1648
|
-
config<K extends keyof import("maptalks").ControlOptionsType>(conf: K, value: import("maptalks").ControlOptionsType[K]): /*elided*/ any;
|
|
1649
|
-
config(): import("maptalks").ControlOptionsType;
|
|
1650
|
-
_eventMap?: Record<string, {
|
|
1651
|
-
handler: import("maptalks").HandlerFn;
|
|
1652
|
-
context: any;
|
|
1653
|
-
}[]>;
|
|
1654
|
-
_eventParent?: any;
|
|
1655
|
-
_eventTarget?: any;
|
|
1656
|
-
on(eventsOn: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
1657
|
-
addEventListener(...args: any[]): any;
|
|
1658
|
-
once(eventTypes: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
1659
|
-
off(eventsOff: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
1660
|
-
removeEventListener(...args: any[]): any;
|
|
1661
|
-
listens(eventType: string, handler?: import("maptalks").HandlerFn, context?: any): number;
|
|
1662
|
-
getListeningEvents(): string[];
|
|
1663
|
-
copyEventListeners(target: any): any;
|
|
1664
|
-
fire(eventType: string, param?: import("maptalks").BaseEventParamsType): any;
|
|
1665
|
-
_wrapOnceHandler(evtType: string, handler: import("maptalks").HandlerFn, context?: any): (...args: any[]) => void;
|
|
1666
|
-
_switch(to: string, eventRecords: import("maptalks").EventRecords, context?: any): any;
|
|
1667
|
-
_clearListeners(eventType: string): void;
|
|
1668
|
-
_clearAllListeners(): void;
|
|
1669
|
-
_setEventParent(parent: any): any;
|
|
1670
|
-
_setEventTarget(target: any): any;
|
|
1671
|
-
_fire(eventType: string, param: import("maptalks").BaseEventParamsType): any;
|
|
1672
|
-
proxyOptions(): /*elided*/ any;
|
|
1673
|
-
callInitHooks(): /*elided*/ any;
|
|
1674
|
-
_setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
1675
|
-
setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
1676
|
-
};
|
|
1677
|
-
hide: () => {
|
|
1678
|
-
buildOn(): HTMLDivElement;
|
|
1679
|
-
getContent(): string | HTMLElement;
|
|
1680
|
-
setContent(content: string | HTMLElement): /*elided*/ any;
|
|
1681
|
-
onAdd(): void;
|
|
1682
|
-
onRemove(): void;
|
|
1683
|
-
options: import("maptalks").ControlOptionsType & import("maptalks").AttributionOptionsTypeSpec;
|
|
1684
|
-
addTo(map: import("maptalks").Map): /*elided*/ any;
|
|
1685
|
-
update(): /*elided*/ any;
|
|
1686
|
-
getMap(): import("maptalks").Map;
|
|
1687
|
-
getPosition(): import("maptalks").DomPositionType;
|
|
1688
|
-
setPosition(position: import("maptalks").ControlPositionType): /*elided*/ any;
|
|
1689
|
-
getContainerPoint(): import("maptalks").Point;
|
|
1690
|
-
getContainer(): HTMLElement;
|
|
1691
|
-
getDOM(): HTMLElement;
|
|
1692
|
-
show(): /*elided*/ any;
|
|
1693
|
-
hide(): /*elided*/ any;
|
|
1694
|
-
isVisible(): boolean;
|
|
1695
|
-
remove(): /*elided*/ any;
|
|
1696
|
-
onConfig(conf: import("maptalks").ClassOptions): void;
|
|
1697
|
-
config(options: import("maptalks").ControlOptionsType): /*elided*/ any;
|
|
1698
|
-
config<K extends keyof import("maptalks").ControlOptionsType>(conf: K, value: import("maptalks").ControlOptionsType[K]): /*elided*/ any;
|
|
1699
|
-
config(): import("maptalks").ControlOptionsType;
|
|
1700
|
-
_eventMap?: Record<string, {
|
|
1701
|
-
handler: import("maptalks").HandlerFn;
|
|
1702
|
-
context: any;
|
|
1703
|
-
}[]>;
|
|
1704
|
-
_eventParent?: any;
|
|
1705
|
-
_eventTarget?: any;
|
|
1706
|
-
on(eventsOn: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
1707
|
-
addEventListener(...args: any[]): any;
|
|
1708
|
-
once(eventTypes: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
1709
|
-
off(eventsOff: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
1710
|
-
removeEventListener(...args: any[]): any;
|
|
1711
|
-
listens(eventType: string, handler?: import("maptalks").HandlerFn, context?: any): number;
|
|
1712
|
-
getListeningEvents(): string[];
|
|
1713
|
-
copyEventListeners(target: any): any;
|
|
1714
|
-
fire(eventType: string, param?: import("maptalks").BaseEventParamsType): any;
|
|
1715
|
-
_wrapOnceHandler(evtType: string, handler: import("maptalks").HandlerFn, context?: any): (...args: any[]) => void;
|
|
1716
|
-
_switch(to: string, eventRecords: import("maptalks").EventRecords, context?: any): any;
|
|
1717
|
-
_clearListeners(eventType: string): void;
|
|
1718
|
-
_clearAllListeners(): void;
|
|
1719
|
-
_setEventParent(parent: any): any;
|
|
1720
|
-
_setEventTarget(target: any): any;
|
|
1721
|
-
_fire(eventType: string, param: import("maptalks").BaseEventParamsType): any;
|
|
1722
|
-
proxyOptions(): /*elided*/ any;
|
|
1723
|
-
callInitHooks(): /*elided*/ any;
|
|
1724
|
-
_setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
1725
|
-
setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
1726
|
-
};
|
|
1727
|
-
isVisible: () => boolean;
|
|
1728
|
-
remove: () => {
|
|
1729
|
-
buildOn(): HTMLDivElement;
|
|
1730
|
-
getContent(): string | HTMLElement;
|
|
1731
|
-
setContent(content: string | HTMLElement): /*elided*/ any;
|
|
1732
|
-
onAdd(): void;
|
|
1733
|
-
onRemove(): void;
|
|
1734
|
-
options: import("maptalks").ControlOptionsType & import("maptalks").AttributionOptionsTypeSpec;
|
|
1735
|
-
addTo(map: import("maptalks").Map): /*elided*/ any;
|
|
1736
|
-
update(): /*elided*/ any;
|
|
1737
|
-
getMap(): import("maptalks").Map;
|
|
1738
|
-
getPosition(): import("maptalks").DomPositionType;
|
|
1739
|
-
setPosition(position: import("maptalks").ControlPositionType): /*elided*/ any;
|
|
1740
|
-
getContainerPoint(): import("maptalks").Point;
|
|
1741
|
-
getContainer(): HTMLElement;
|
|
1742
|
-
getDOM(): HTMLElement;
|
|
1743
|
-
show(): /*elided*/ any;
|
|
1744
|
-
hide(): /*elided*/ any;
|
|
1745
|
-
isVisible(): boolean;
|
|
1746
|
-
remove(): /*elided*/ any;
|
|
1747
|
-
onConfig(conf: import("maptalks").ClassOptions): void;
|
|
1748
|
-
config(options: import("maptalks").ControlOptionsType): /*elided*/ any;
|
|
1749
|
-
config<K extends keyof import("maptalks").ControlOptionsType>(conf: K, value: import("maptalks").ControlOptionsType[K]): /*elided*/ any;
|
|
1750
|
-
config(): import("maptalks").ControlOptionsType;
|
|
1751
|
-
_eventMap?: Record<string, {
|
|
1752
|
-
handler: import("maptalks").HandlerFn;
|
|
1753
|
-
context: any;
|
|
1754
|
-
}[]>;
|
|
1755
|
-
_eventParent?: any;
|
|
1756
|
-
_eventTarget?: any;
|
|
1757
|
-
on(eventsOn: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
1758
|
-
addEventListener(...args: any[]): any;
|
|
1759
|
-
once(eventTypes: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
1760
|
-
off(eventsOff: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
1761
|
-
removeEventListener(...args: any[]): any;
|
|
1762
|
-
listens(eventType: string, handler?: import("maptalks").HandlerFn, context?: any): number;
|
|
1763
|
-
getListeningEvents(): string[];
|
|
1764
|
-
copyEventListeners(target: any): any;
|
|
1765
|
-
fire(eventType: string, param?: import("maptalks").BaseEventParamsType): any;
|
|
1766
|
-
_wrapOnceHandler(evtType: string, handler: import("maptalks").HandlerFn, context?: any): (...args: any[]) => void;
|
|
1767
|
-
_switch(to: string, eventRecords: import("maptalks").EventRecords, context?: any): any;
|
|
1768
|
-
_clearListeners(eventType: string): void;
|
|
1769
|
-
_clearAllListeners(): void;
|
|
1770
|
-
_setEventParent(parent: any): any;
|
|
1771
|
-
_setEventTarget(target: any): any;
|
|
1772
|
-
_fire(eventType: string, param: import("maptalks").BaseEventParamsType): any;
|
|
1773
|
-
proxyOptions(): /*elided*/ any;
|
|
1774
|
-
callInitHooks(): /*elided*/ any;
|
|
1775
|
-
_setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
1776
|
-
setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
1777
|
-
};
|
|
1778
|
-
onConfig: (conf: import("maptalks").ClassOptions) => void;
|
|
1779
|
-
config: {
|
|
1780
|
-
(options: import("maptalks").ControlOptionsType): {
|
|
1781
|
-
buildOn(): HTMLDivElement;
|
|
1782
|
-
getContent(): string | HTMLElement;
|
|
1783
|
-
setContent(content: string | HTMLElement): /*elided*/ any;
|
|
1784
|
-
onAdd(): void;
|
|
1785
|
-
onRemove(): void;
|
|
1786
|
-
options: import("maptalks").ControlOptionsType & import("maptalks").AttributionOptionsTypeSpec;
|
|
1787
|
-
addTo(map: import("maptalks").Map): /*elided*/ any;
|
|
1788
|
-
update(): /*elided*/ any;
|
|
1789
|
-
getMap(): import("maptalks").Map;
|
|
1790
|
-
getPosition(): import("maptalks").DomPositionType;
|
|
1791
|
-
setPosition(position: import("maptalks").ControlPositionType): /*elided*/ any;
|
|
1792
|
-
getContainerPoint(): import("maptalks").Point;
|
|
1793
|
-
getContainer(): HTMLElement;
|
|
1794
|
-
getDOM(): HTMLElement;
|
|
1795
|
-
show(): /*elided*/ any;
|
|
1796
|
-
hide(): /*elided*/ any;
|
|
1797
|
-
isVisible(): boolean;
|
|
1798
|
-
remove(): /*elided*/ any;
|
|
1799
|
-
onConfig(conf: import("maptalks").ClassOptions): void;
|
|
1800
|
-
config(options: import("maptalks").ControlOptionsType): /*elided*/ any;
|
|
1801
|
-
config<K extends keyof import("maptalks").ControlOptionsType>(conf: K, value: import("maptalks").ControlOptionsType[K]): /*elided*/ any;
|
|
1802
|
-
config(): import("maptalks").ControlOptionsType;
|
|
1803
|
-
_eventMap?: Record<string, {
|
|
1804
|
-
handler: import("maptalks").HandlerFn;
|
|
1805
|
-
context: any;
|
|
1806
|
-
}[]>;
|
|
1807
|
-
_eventParent?: any;
|
|
1808
|
-
_eventTarget?: any;
|
|
1809
|
-
on(eventsOn: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
1810
|
-
addEventListener(...args: any[]): any;
|
|
1811
|
-
once(eventTypes: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
1812
|
-
off(eventsOff: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
1813
|
-
removeEventListener(...args: any[]): any;
|
|
1814
|
-
listens(eventType: string, handler?: import("maptalks").HandlerFn, context?: any): number;
|
|
1815
|
-
getListeningEvents(): string[];
|
|
1816
|
-
copyEventListeners(target: any): any;
|
|
1817
|
-
fire(eventType: string, param?: import("maptalks").BaseEventParamsType): any;
|
|
1818
|
-
_wrapOnceHandler(evtType: string, handler: import("maptalks").HandlerFn, context?: any): (...args: any[]) => void;
|
|
1819
|
-
_switch(to: string, eventRecords: import("maptalks").EventRecords, context?: any): any;
|
|
1820
|
-
_clearListeners(eventType: string): void;
|
|
1821
|
-
_clearAllListeners(): void;
|
|
1822
|
-
_setEventParent(parent: any): any;
|
|
1823
|
-
_setEventTarget(target: any): any;
|
|
1824
|
-
_fire(eventType: string, param: import("maptalks").BaseEventParamsType): any;
|
|
1825
|
-
proxyOptions(): /*elided*/ any;
|
|
1826
|
-
callInitHooks(): /*elided*/ any;
|
|
1827
|
-
_setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
1828
|
-
setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
1829
|
-
};
|
|
1830
|
-
<K extends keyof import("maptalks").ControlOptionsType>(conf: K, value: import("maptalks").ControlOptionsType[K]): {
|
|
1831
|
-
buildOn(): HTMLDivElement;
|
|
1832
|
-
getContent(): string | HTMLElement;
|
|
1833
|
-
setContent(content: string | HTMLElement): /*elided*/ any;
|
|
1834
|
-
onAdd(): void;
|
|
1835
|
-
onRemove(): void;
|
|
1836
|
-
options: import("maptalks").ControlOptionsType & import("maptalks").AttributionOptionsTypeSpec;
|
|
1837
|
-
addTo(map: import("maptalks").Map): /*elided*/ any;
|
|
1838
|
-
update(): /*elided*/ any;
|
|
1839
|
-
getMap(): import("maptalks").Map;
|
|
1840
|
-
getPosition(): import("maptalks").DomPositionType;
|
|
1841
|
-
setPosition(position: import("maptalks").ControlPositionType): /*elided*/ any;
|
|
1842
|
-
getContainerPoint(): import("maptalks").Point;
|
|
1843
|
-
getContainer(): HTMLElement;
|
|
1844
|
-
getDOM(): HTMLElement;
|
|
1845
|
-
show(): /*elided*/ any;
|
|
1846
|
-
hide(): /*elided*/ any;
|
|
1847
|
-
isVisible(): boolean;
|
|
1848
|
-
remove(): /*elided*/ any;
|
|
1849
|
-
onConfig(conf: import("maptalks").ClassOptions): void;
|
|
1850
|
-
config(options: import("maptalks").ControlOptionsType): /*elided*/ any;
|
|
1851
|
-
config<K extends keyof import("maptalks").ControlOptionsType>(conf: K, value: import("maptalks").ControlOptionsType[K]): /*elided*/ any;
|
|
1852
|
-
config(): import("maptalks").ControlOptionsType;
|
|
1853
|
-
_eventMap?: Record<string, {
|
|
1854
|
-
handler: import("maptalks").HandlerFn;
|
|
1855
|
-
context: any;
|
|
1856
|
-
}[]>;
|
|
1857
|
-
_eventParent?: any;
|
|
1858
|
-
_eventTarget?: any;
|
|
1859
|
-
on(eventsOn: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
1860
|
-
addEventListener(...args: any[]): any;
|
|
1861
|
-
once(eventTypes: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
1862
|
-
off(eventsOff: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
1863
|
-
removeEventListener(...args: any[]): any;
|
|
1864
|
-
listens(eventType: string, handler?: import("maptalks").HandlerFn, context?: any): number;
|
|
1865
|
-
getListeningEvents(): string[];
|
|
1866
|
-
copyEventListeners(target: any): any;
|
|
1867
|
-
fire(eventType: string, param?: import("maptalks").BaseEventParamsType): any;
|
|
1868
|
-
_wrapOnceHandler(evtType: string, handler: import("maptalks").HandlerFn, context?: any): (...args: any[]) => void;
|
|
1869
|
-
_switch(to: string, eventRecords: import("maptalks").EventRecords, context?: any): any;
|
|
1870
|
-
_clearListeners(eventType: string): void;
|
|
1871
|
-
_clearAllListeners(): void;
|
|
1872
|
-
_setEventParent(parent: any): any;
|
|
1873
|
-
_setEventTarget(target: any): any;
|
|
1874
|
-
_fire(eventType: string, param: import("maptalks").BaseEventParamsType): any;
|
|
1875
|
-
proxyOptions(): /*elided*/ any;
|
|
1876
|
-
callInitHooks(): /*elided*/ any;
|
|
1877
|
-
_setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
1878
|
-
setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
1879
|
-
};
|
|
1880
|
-
(): import("maptalks").ControlOptionsType;
|
|
1881
|
-
};
|
|
1882
|
-
_eventMap?: Record<string, {
|
|
1883
|
-
handler: import("maptalks").HandlerFn;
|
|
1884
|
-
context: any;
|
|
1885
|
-
}[]> | undefined;
|
|
1886
|
-
_eventParent?: any;
|
|
1887
|
-
_eventTarget?: any;
|
|
1888
|
-
on: (eventsOn: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any) => any;
|
|
1889
|
-
addEventListener: (...args: any[]) => any;
|
|
1890
|
-
once: (eventTypes: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any) => any;
|
|
1891
|
-
off: (eventsOff: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any) => any;
|
|
1892
|
-
removeEventListener: (...args: any[]) => any;
|
|
1893
|
-
listens: (eventType: string, handler?: import("maptalks").HandlerFn, context?: any) => number;
|
|
1894
|
-
getListeningEvents: () => string[];
|
|
1895
|
-
copyEventListeners: (target: any) => any;
|
|
1896
|
-
fire: (eventType: string, param?: import("maptalks").BaseEventParamsType) => any;
|
|
1897
|
-
_wrapOnceHandler: (evtType: string, handler: import("maptalks").HandlerFn, context?: any) => (...args: any[]) => void;
|
|
1898
|
-
_switch: (to: string, eventRecords: import("maptalks").EventRecords, context?: any) => any;
|
|
1899
|
-
_clearListeners: (eventType: string) => void;
|
|
1900
|
-
_clearAllListeners: () => void;
|
|
1901
|
-
_setEventParent: (parent: any) => any;
|
|
1902
|
-
_setEventTarget: (target: any) => any;
|
|
1903
|
-
_fire: (eventType: string, param: import("maptalks").BaseEventParamsType) => any;
|
|
1904
|
-
proxyOptions: () => {
|
|
1905
|
-
buildOn(): HTMLDivElement;
|
|
1906
|
-
getContent(): string | HTMLElement;
|
|
1907
|
-
setContent(content: string | HTMLElement): /*elided*/ any;
|
|
1908
|
-
onAdd(): void;
|
|
1909
|
-
onRemove(): void;
|
|
1910
|
-
options: import("maptalks").ControlOptionsType & import("maptalks").AttributionOptionsTypeSpec;
|
|
1911
|
-
addTo(map: import("maptalks").Map): /*elided*/ any;
|
|
1912
|
-
update(): /*elided*/ any;
|
|
1913
|
-
getMap(): import("maptalks").Map;
|
|
1914
|
-
getPosition(): import("maptalks").DomPositionType;
|
|
1915
|
-
setPosition(position: import("maptalks").ControlPositionType): /*elided*/ any;
|
|
1916
|
-
getContainerPoint(): import("maptalks").Point;
|
|
1917
|
-
getContainer(): HTMLElement;
|
|
1918
|
-
getDOM(): HTMLElement;
|
|
1919
|
-
show(): /*elided*/ any;
|
|
1920
|
-
hide(): /*elided*/ any;
|
|
1921
|
-
isVisible(): boolean;
|
|
1922
|
-
remove(): /*elided*/ any;
|
|
1923
|
-
onConfig(conf: import("maptalks").ClassOptions): void;
|
|
1924
|
-
config(options: import("maptalks").ControlOptionsType): /*elided*/ any;
|
|
1925
|
-
config<K extends keyof import("maptalks").ControlOptionsType>(conf: K, value: import("maptalks").ControlOptionsType[K]): /*elided*/ any;
|
|
1926
|
-
config(): import("maptalks").ControlOptionsType;
|
|
1927
|
-
_eventMap?: Record<string, {
|
|
1928
|
-
handler: import("maptalks").HandlerFn;
|
|
1929
|
-
context: any;
|
|
1930
|
-
}[]>;
|
|
1931
|
-
_eventParent?: any;
|
|
1932
|
-
_eventTarget?: any;
|
|
1933
|
-
on(eventsOn: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
1934
|
-
addEventListener(...args: any[]): any;
|
|
1935
|
-
once(eventTypes: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
1936
|
-
off(eventsOff: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
1937
|
-
removeEventListener(...args: any[]): any;
|
|
1938
|
-
listens(eventType: string, handler?: import("maptalks").HandlerFn, context?: any): number;
|
|
1939
|
-
getListeningEvents(): string[];
|
|
1940
|
-
copyEventListeners(target: any): any;
|
|
1941
|
-
fire(eventType: string, param?: import("maptalks").BaseEventParamsType): any;
|
|
1942
|
-
_wrapOnceHandler(evtType: string, handler: import("maptalks").HandlerFn, context?: any): (...args: any[]) => void;
|
|
1943
|
-
_switch(to: string, eventRecords: import("maptalks").EventRecords, context?: any): any;
|
|
1944
|
-
_clearListeners(eventType: string): void;
|
|
1945
|
-
_clearAllListeners(): void;
|
|
1946
|
-
_setEventParent(parent: any): any;
|
|
1947
|
-
_setEventTarget(target: any): any;
|
|
1948
|
-
_fire(eventType: string, param: import("maptalks").BaseEventParamsType): any;
|
|
1949
|
-
proxyOptions(): /*elided*/ any;
|
|
1950
|
-
callInitHooks(): /*elided*/ any;
|
|
1951
|
-
_setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
1952
|
-
setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
1953
|
-
};
|
|
1954
|
-
callInitHooks: () => {
|
|
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
|
-
config(options: import("maptalks").ControlOptionsType): /*elided*/ any;
|
|
1975
|
-
config<K extends keyof import("maptalks").ControlOptionsType>(conf: K, value: import("maptalks").ControlOptionsType[K]): /*elided*/ any;
|
|
1976
|
-
config(): import("maptalks").ControlOptionsType;
|
|
1977
|
-
_eventMap?: Record<string, {
|
|
1978
|
-
handler: import("maptalks").HandlerFn;
|
|
1979
|
-
context: any;
|
|
1980
|
-
}[]>;
|
|
1981
|
-
_eventParent?: any;
|
|
1982
|
-
_eventTarget?: any;
|
|
1983
|
-
on(eventsOn: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
1984
|
-
addEventListener(...args: any[]): any;
|
|
1985
|
-
once(eventTypes: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
1986
|
-
off(eventsOff: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
1987
|
-
removeEventListener(...args: any[]): any;
|
|
1988
|
-
listens(eventType: string, handler?: import("maptalks").HandlerFn, context?: any): number;
|
|
1989
|
-
getListeningEvents(): string[];
|
|
1990
|
-
copyEventListeners(target: any): any;
|
|
1991
|
-
fire(eventType: string, param?: import("maptalks").BaseEventParamsType): any;
|
|
1992
|
-
_wrapOnceHandler(evtType: string, handler: import("maptalks").HandlerFn, context?: any): (...args: any[]) => void;
|
|
1993
|
-
_switch(to: string, eventRecords: import("maptalks").EventRecords, context?: any): any;
|
|
1994
|
-
_clearListeners(eventType: string): void;
|
|
1995
|
-
_clearAllListeners(): void;
|
|
1996
|
-
_setEventParent(parent: any): any;
|
|
1997
|
-
_setEventTarget(target: any): any;
|
|
1998
|
-
_fire(eventType: string, param: import("maptalks").BaseEventParamsType): any;
|
|
1999
|
-
proxyOptions(): /*elided*/ any;
|
|
2000
|
-
callInitHooks(): /*elided*/ any;
|
|
2001
|
-
_setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
2002
|
-
setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
2003
|
-
};
|
|
2004
|
-
_setOptions: (options: import("maptalks").ClassOptions) => {
|
|
2005
|
-
buildOn(): HTMLDivElement;
|
|
2006
|
-
getContent(): string | HTMLElement;
|
|
2007
|
-
setContent(content: string | HTMLElement): /*elided*/ any;
|
|
2008
|
-
onAdd(): void;
|
|
2009
|
-
onRemove(): void;
|
|
2010
|
-
options: import("maptalks").ControlOptionsType & import("maptalks").AttributionOptionsTypeSpec;
|
|
2011
|
-
addTo(map: import("maptalks").Map): /*elided*/ any;
|
|
2012
|
-
update(): /*elided*/ any;
|
|
2013
|
-
getMap(): import("maptalks").Map;
|
|
2014
|
-
getPosition(): import("maptalks").DomPositionType;
|
|
2015
|
-
setPosition(position: import("maptalks").ControlPositionType): /*elided*/ any;
|
|
2016
|
-
getContainerPoint(): import("maptalks").Point;
|
|
2017
|
-
getContainer(): HTMLElement;
|
|
2018
|
-
getDOM(): HTMLElement;
|
|
2019
|
-
show(): /*elided*/ any;
|
|
2020
|
-
hide(): /*elided*/ any;
|
|
2021
|
-
isVisible(): boolean;
|
|
2022
|
-
remove(): /*elided*/ any;
|
|
2023
|
-
onConfig(conf: import("maptalks").ClassOptions): void;
|
|
2024
|
-
config(options: import("maptalks").ControlOptionsType): /*elided*/ any;
|
|
2025
|
-
config<K extends keyof import("maptalks").ControlOptionsType>(conf: K, value: import("maptalks").ControlOptionsType[K]): /*elided*/ any;
|
|
2026
|
-
config(): import("maptalks").ControlOptionsType;
|
|
2027
|
-
_eventMap?: Record<string, {
|
|
2028
|
-
handler: import("maptalks").HandlerFn;
|
|
2029
|
-
context: any;
|
|
2030
|
-
}[]>;
|
|
2031
|
-
_eventParent?: any;
|
|
2032
|
-
_eventTarget?: any;
|
|
2033
|
-
on(eventsOn: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
2034
|
-
addEventListener(...args: any[]): any;
|
|
2035
|
-
once(eventTypes: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
2036
|
-
off(eventsOff: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
2037
|
-
removeEventListener(...args: any[]): any;
|
|
2038
|
-
listens(eventType: string, handler?: import("maptalks").HandlerFn, context?: any): number;
|
|
2039
|
-
getListeningEvents(): string[];
|
|
2040
|
-
copyEventListeners(target: any): any;
|
|
2041
|
-
fire(eventType: string, param?: import("maptalks").BaseEventParamsType): any;
|
|
2042
|
-
_wrapOnceHandler(evtType: string, handler: import("maptalks").HandlerFn, context?: any): (...args: any[]) => void;
|
|
2043
|
-
_switch(to: string, eventRecords: import("maptalks").EventRecords, context?: any): any;
|
|
2044
|
-
_clearListeners(eventType: string): void;
|
|
2045
|
-
_clearAllListeners(): void;
|
|
2046
|
-
_setEventParent(parent: any): any;
|
|
2047
|
-
_setEventTarget(target: any): any;
|
|
2048
|
-
_fire(eventType: string, param: import("maptalks").BaseEventParamsType): any;
|
|
2049
|
-
proxyOptions(): /*elided*/ any;
|
|
2050
|
-
callInitHooks(): /*elided*/ any;
|
|
2051
|
-
_setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
2052
|
-
setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
2053
|
-
};
|
|
2054
|
-
setOptions: (options: import("maptalks").ClassOptions) => {
|
|
2055
|
-
buildOn(): HTMLDivElement;
|
|
2056
|
-
getContent(): string | HTMLElement;
|
|
2057
|
-
setContent(content: string | HTMLElement): /*elided*/ any;
|
|
2058
|
-
onAdd(): void;
|
|
2059
|
-
onRemove(): void;
|
|
2060
|
-
options: import("maptalks").ControlOptionsType & import("maptalks").AttributionOptionsTypeSpec;
|
|
2061
|
-
addTo(map: import("maptalks").Map): /*elided*/ any;
|
|
2062
|
-
update(): /*elided*/ any;
|
|
2063
|
-
getMap(): import("maptalks").Map;
|
|
2064
|
-
getPosition(): import("maptalks").DomPositionType;
|
|
2065
|
-
setPosition(position: import("maptalks").ControlPositionType): /*elided*/ any;
|
|
2066
|
-
getContainerPoint(): import("maptalks").Point;
|
|
2067
|
-
getContainer(): HTMLElement;
|
|
2068
|
-
getDOM(): HTMLElement;
|
|
2069
|
-
show(): /*elided*/ any;
|
|
2070
|
-
hide(): /*elided*/ any;
|
|
2071
|
-
isVisible(): boolean;
|
|
2072
|
-
remove(): /*elided*/ any;
|
|
2073
|
-
onConfig(conf: import("maptalks").ClassOptions): void;
|
|
2074
|
-
config(options: import("maptalks").ControlOptionsType): /*elided*/ any;
|
|
2075
|
-
config<K extends keyof import("maptalks").ControlOptionsType>(conf: K, value: import("maptalks").ControlOptionsType[K]): /*elided*/ any;
|
|
2076
|
-
config(): import("maptalks").ControlOptionsType;
|
|
2077
|
-
_eventMap?: Record<string, {
|
|
2078
|
-
handler: import("maptalks").HandlerFn;
|
|
2079
|
-
context: any;
|
|
2080
|
-
}[]>;
|
|
2081
|
-
_eventParent?: any;
|
|
2082
|
-
_eventTarget?: any;
|
|
2083
|
-
on(eventsOn: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
2084
|
-
addEventListener(...args: any[]): any;
|
|
2085
|
-
once(eventTypes: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
2086
|
-
off(eventsOff: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
2087
|
-
removeEventListener(...args: any[]): any;
|
|
2088
|
-
listens(eventType: string, handler?: import("maptalks").HandlerFn, context?: any): number;
|
|
2089
|
-
getListeningEvents(): string[];
|
|
2090
|
-
copyEventListeners(target: any): any;
|
|
2091
|
-
fire(eventType: string, param?: import("maptalks").BaseEventParamsType): any;
|
|
2092
|
-
_wrapOnceHandler(evtType: string, handler: import("maptalks").HandlerFn, context?: any): (...args: any[]) => void;
|
|
2093
|
-
_switch(to: string, eventRecords: import("maptalks").EventRecords, context?: any): any;
|
|
2094
|
-
_clearListeners(eventType: string): void;
|
|
2095
|
-
_clearAllListeners(): void;
|
|
2096
|
-
_setEventParent(parent: any): any;
|
|
2097
|
-
_setEventTarget(target: any): any;
|
|
2098
|
-
_fire(eventType: string, param: import("maptalks").BaseEventParamsType): any;
|
|
2099
|
-
proxyOptions(): /*elided*/ any;
|
|
2100
|
-
callInitHooks(): /*elided*/ any;
|
|
2101
|
-
_setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
2102
|
-
setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
2103
|
-
};
|
|
2104
|
-
} | undefined;
|
|
2105
|
-
id: number;
|
|
2106
|
-
isLoaded: () => boolean;
|
|
2107
|
-
getContainer: () => HTMLCanvasElement | HTMLDivElement;
|
|
2108
|
-
getSpatialReference: () => import("maptalks").SpatialReference;
|
|
2109
|
-
setSpatialReference: (ref: import("maptalks").SpatialReferenceType) => import("maptalks").Map;
|
|
2110
|
-
onConfig: (conf: {
|
|
2111
|
-
[key: string]: any;
|
|
2112
|
-
}) => import("maptalks").Map;
|
|
2113
|
-
getProjection: () => import("maptalks").ProjectionType;
|
|
2114
|
-
getFullExtent: () => import("maptalks").Extent;
|
|
2115
|
-
setCursor: (cursor: string) => import("maptalks").Map;
|
|
2116
|
-
resetCursor: () => import("maptalks").Map;
|
|
2117
|
-
getCenter: () => import("maptalks").Coordinate;
|
|
2118
|
-
setCenter: (center: import("maptalks").Coordinate, padding?: import("maptalks").MapPaddingType) => import("maptalks").Map;
|
|
2119
|
-
getSize: () => import("maptalks").Size;
|
|
2120
|
-
getContainerExtent: () => import("maptalks").PointExtent;
|
|
2121
|
-
getExtent: () => import("maptalks").Extent;
|
|
2122
|
-
getProjExtent: () => import("maptalks").Extent;
|
|
2123
|
-
getPrjExtent: () => import("maptalks").Extent;
|
|
2124
|
-
getMaxExtent: () => import("maptalks").Extent;
|
|
2125
|
-
setMaxExtent: (extent: import("maptalks").Extent) => import("maptalks").Map;
|
|
2126
|
-
getZoom: () => number;
|
|
2127
|
-
getZoomForScale: (scale: number, fromZoom?: number, isFraction?: boolean) => number;
|
|
2128
|
-
getZoomFromRes: (res: number) => number;
|
|
2129
|
-
setZoom: (zoom: number, options?: {
|
|
2130
|
-
animation: boolean;
|
|
2131
|
-
} | undefined) => import("maptalks").Map;
|
|
2132
|
-
getMaxZoom: () => number;
|
|
2133
|
-
setMaxZoom: (maxZoom: number) => import("maptalks").Map;
|
|
2134
|
-
getMinZoom: () => number;
|
|
2135
|
-
setMinZoom: (minZoom: number) => import("maptalks").Map;
|
|
2136
|
-
getMaxNativeZoom: () => number;
|
|
2137
|
-
getGLRes: () => number;
|
|
2138
|
-
getGLScale: (zoom?: number) => number;
|
|
2139
|
-
zoomIn: () => import("maptalks").Map;
|
|
2140
|
-
zoomOut: () => import("maptalks").Map;
|
|
2141
|
-
isZooming: () => boolean;
|
|
2142
|
-
isInteracting: () => boolean;
|
|
2143
|
-
setCenterAndZoom: (center: import("maptalks").Coordinate, zoom?: number) => import("maptalks").Map;
|
|
2144
|
-
getFitZoom: (extent: import("maptalks").Extent, isFraction?: boolean, padding?: import("maptalks").MapPaddingType) => number;
|
|
2145
|
-
getView: () => import("maptalks").MapViewType;
|
|
2146
|
-
stringifyView: () => string;
|
|
2147
|
-
setView: (view: import("maptalks").MapViewType) => import("maptalks").Map;
|
|
2148
|
-
getResolution: (zoom?: number) => number;
|
|
2149
|
-
getScale: (zoom?: number) => number;
|
|
2150
|
-
fitExtent: (extent: import("maptalks").ExtentLike, zoomOffset?: number, options?: import("maptalks").MapFitType, step?: ((frame: any) => void) | undefined) => import("maptalks").Map | {
|
|
2151
|
-
options: import("maptalks").AnimationOptionsPrivateType;
|
|
2152
|
-
playState: string;
|
|
2153
|
-
ready: boolean;
|
|
2154
|
-
finished: boolean;
|
|
2155
|
-
target?: any;
|
|
2156
|
-
duration: number;
|
|
2157
|
-
currentTime: number;
|
|
2158
|
-
startTime: number;
|
|
2159
|
-
play(): /*elided*/ any;
|
|
2160
|
-
pause(): /*elided*/ any;
|
|
2161
|
-
cancel(): /*elided*/ any;
|
|
2162
|
-
finish(): /*elided*/ any;
|
|
2163
|
-
reverse(): void;
|
|
2164
|
-
};
|
|
2165
|
-
getBaseLayer: () => import("maptalks").Layer;
|
|
2166
|
-
setBaseLayer: (baseLayer: import("maptalks").Layer) => import("maptalks").Map;
|
|
2167
|
-
removeBaseLayer: () => import("maptalks").Map;
|
|
2168
|
-
getLayers: (filter?: ((layer: import("maptalks").Layer) => boolean) | undefined) => Array<import("maptalks").Layer>;
|
|
2169
|
-
getLayer: (id: string) => import("maptalks").Layer | null;
|
|
2170
|
-
addLayer: (layers: import("maptalks").Layer | Array<import("maptalks").Layer>, ...otherLayers: Array<import("maptalks").Layer>) => import("maptalks").Map;
|
|
2171
|
-
removeLayer: (layers: import("maptalks").Layer | Array<import("maptalks").Layer>) => import("maptalks").Map;
|
|
2172
|
-
sortLayers: (layers: Array<import("maptalks").Layer>) => import("maptalks").Map;
|
|
2173
|
-
toDataURL: (options?: import("maptalks").MapDataURLType) => string | null;
|
|
2174
|
-
coordToPoint: (coordinate: import("maptalks").Coordinate, zoom?: number, out?: import("maptalks").Point) => import("maptalks").Point;
|
|
2175
|
-
coordToPointAtRes: (coordinate: import("maptalks").Coordinate, res?: number, out?: import("maptalks").Point) => import("maptalks").Point;
|
|
2176
|
-
pointToCoord: (point: import("maptalks").Point, zoom?: number, out?: import("maptalks").Coordinate) => import("maptalks").Coordinate;
|
|
2177
|
-
pointAtResToCoord: (point: import("maptalks").Point, res?: number, out?: import("maptalks").Coordinate) => import("maptalks").Coordinate;
|
|
2178
|
-
coordToViewPoint: (coordinate: import("maptalks").Coordinate, out?: import("maptalks").Point, altitude?: number) => import("maptalks").Point;
|
|
2179
|
-
viewPointToCoord: (viewPoint: import("maptalks").Point, out?: import("maptalks").Coordinate) => import("maptalks").Coordinate;
|
|
2180
|
-
coordToContainerPoint: (coordinate: import("maptalks").Coordinate, zoom?: number, out?: import("maptalks").Point) => import("maptalks").Point;
|
|
2181
|
-
containerPointToCoord: (containerPoint: import("maptalks").Point, out?: import("maptalks").Coordinate) => import("maptalks").Coordinate;
|
|
2182
|
-
containerPointToViewPoint: (containerPoint: import("maptalks").Point, out?: import("maptalks").Point) => import("maptalks").Point;
|
|
2183
|
-
viewPointToContainerPoint: (viewPoint: import("maptalks").Point, out?: import("maptalks").Point) => import("maptalks").Point;
|
|
2184
|
-
checkSize: (force?: boolean) => import("maptalks").Map;
|
|
2185
|
-
locate: (coordinate: import("maptalks").Coordinate, dx: number, dy: number) => import("maptalks").Coordinate;
|
|
2186
|
-
getMainPanel: () => HTMLDivElement | null;
|
|
2187
|
-
getPanels: () => Record<string, import("maptalks").PanelDom>;
|
|
2188
|
-
remove: () => import("maptalks").Map;
|
|
2189
|
-
isRemoved: () => boolean;
|
|
2190
|
-
isMoving: () => boolean;
|
|
2191
|
-
onMoveStart: (param?: any) => void;
|
|
2192
|
-
onMoving: (param: any) => void;
|
|
2193
|
-
onMoveEnd: (param: any) => void;
|
|
2194
|
-
onDragRotateStart: (param: any) => void;
|
|
2195
|
-
onDragRotating: (param: any) => void;
|
|
2196
|
-
onDragRotateEnd: (param: any) => void;
|
|
2197
|
-
isDragRotating: () => boolean;
|
|
2198
|
-
isOffscreen: (box: import("maptalks").PointExtent | Array<number>, viewportPadding?: number) => boolean;
|
|
2199
|
-
getRenderer: () => any;
|
|
2200
|
-
getDevicePixelRatio: () => number;
|
|
2201
|
-
setDevicePixelRatio: (dpr: number) => import("maptalks").Map;
|
|
2202
|
-
setContainerDomRect: (domRect: DOMRect) => void;
|
|
2203
|
-
offsetPlatform: (offset?: import("maptalks").Point) => import("maptalks").Point;
|
|
2204
|
-
getViewPoint: () => import("maptalks").Point;
|
|
2205
|
-
toJSON: (options?: import("maptalks").MapOptionsType) => {
|
|
2206
|
-
[key: string]: any;
|
|
2207
|
-
};
|
|
2208
|
-
isRotating: () => boolean;
|
|
2209
|
-
animateTo: (view: import("maptalks").MapViewType, options?: import("maptalks").MapAnimationOptionsType, step?: ((frame: any) => void) | undefined) => {
|
|
2210
|
-
options: import("maptalks").AnimationOptionsPrivateType;
|
|
2211
|
-
playState: string;
|
|
2212
|
-
ready: boolean;
|
|
2213
|
-
finished: boolean;
|
|
2214
|
-
target?: any;
|
|
2215
|
-
duration: number;
|
|
2216
|
-
currentTime: number;
|
|
2217
|
-
startTime: number;
|
|
2218
|
-
play(): /*elided*/ any;
|
|
2219
|
-
pause(): /*elided*/ any;
|
|
2220
|
-
cancel(): /*elided*/ any;
|
|
2221
|
-
finish(): /*elided*/ any;
|
|
2222
|
-
reverse(): void;
|
|
2223
|
-
};
|
|
2224
|
-
flyTo: (view: import("maptalks").MapViewType, options?: import("maptalks").MapAnimationOptionsType, step?: ((frame: any) => void) | undefined) => import("maptalks").Map;
|
|
2225
|
-
isAnimating: () => boolean;
|
|
2226
|
-
isFullScreen: () => boolean;
|
|
2227
|
-
requestFullScreen: (dom?: HTMLDivElement) => import("maptalks").Map;
|
|
2228
|
-
cancelFullScreen: () => import("maptalks").Map;
|
|
2229
|
-
panTo: (coordinate: import("maptalks").Coordinate, options?: import("maptalks").MapAnimationOptionsType, step?: ((frame: any) => void) | undefined) => import("maptalks").Map;
|
|
2230
|
-
panBy: (offset: import("maptalks").Point | Array<number>, options?: import("maptalks").MapAnimationOptionsType, step?: ((frame: any) => void) | undefined) => import("maptalks").Map;
|
|
2231
|
-
computeLength: (coord1: import("maptalks").Coordinate, coord2: import("maptalks").Coordinate) => number;
|
|
2232
|
-
computeGeometryLength: (geometry: import("maptalks").Geometry) => number;
|
|
2233
|
-
computeGeometryArea: (geometry: import("maptalks").Geometry) => number;
|
|
2234
|
-
identify: (opts: import("maptalks").identifyOptionsType, cb: import("maptalks").MapIdentifyCBType) => void;
|
|
2235
|
-
identifyAtPoint: (opts: import("maptalks").identifyAtPointOptionsType, cb: import("maptalks").MapIdentifyCBType) => void;
|
|
2236
|
-
onZoomStart: (nextZoom: number, origin?: import("maptalks").Point) => any;
|
|
2237
|
-
onZooming: (nextZoom: number, origin?: import("maptalks").Point, startScale?: number) => any;
|
|
2238
|
-
onZoomEnd: (nextZoom: number, origin?: import("maptalks").Point) => any;
|
|
2239
|
-
cameraPosition: [number, number, number];
|
|
2240
|
-
cameraLookAt: [number, number, number];
|
|
2241
|
-
projViewMatrix: [number, number, number, number, number, number, number, number, number, number, number, number, number, number, number, number];
|
|
2242
|
-
getFov: () => number;
|
|
2243
|
-
setFov: (fov: number) => import("maptalks").Map;
|
|
2244
|
-
getBearing: () => number;
|
|
2245
|
-
setBearing: (bearing: number) => import("maptalks").Map;
|
|
2246
|
-
getPitch: () => number;
|
|
2247
|
-
setPitch: (pitch: number) => import("maptalks").Map;
|
|
2248
|
-
setCameraMovements: (frameOptions: Array<import("maptalks").MapViewType>, option?: {
|
|
2249
|
-
autoRotate: boolean;
|
|
2250
|
-
} | undefined) => any;
|
|
2251
|
-
setCameraOrientation: (params: import("maptalks").MapViewType) => import("maptalks").Map;
|
|
2252
|
-
setCameraPosition: (coordinate: import("maptalks").Coordinate) => any;
|
|
2253
|
-
getFitZoomForCamera: (cameraPosition: [number, number, number], pitch: number) => any;
|
|
2254
|
-
getFitZoomForAltitude: (altitude: number) => any;
|
|
2255
|
-
isTransforming: () => boolean;
|
|
2256
|
-
getFrustumAltitude: () => number;
|
|
2257
|
-
updateCenterAltitude: () => any;
|
|
2258
|
-
getContainerPointRay: (from: import("maptalks").Vector3, to: import("maptalks").Vector3, containerPoint: import("maptalks").Point, near?: number, far?: number) => any;
|
|
2259
|
-
zoomToPreviousView: (options?: any) => import("maptalks").MapViewType;
|
|
2260
|
-
hasPreviousView: () => boolean;
|
|
2261
|
-
zoomToNextView: (options?: any) => import("maptalks").MapViewType;
|
|
2262
|
-
hasNextView: () => boolean;
|
|
2263
|
-
getViewHistory: () => Array<import("maptalks").MapViewType>;
|
|
2264
|
-
getCollisionIndex: () => import("maptalks").CollisionIndex;
|
|
2265
|
-
createCollisionIndex: () => import("maptalks").CollisionIndex;
|
|
2266
|
-
clearCollisionIndex: () => import("maptalks").Map;
|
|
2267
|
-
uiCollides: () => import("maptalks").Map;
|
|
2268
|
-
coordinateToPoint: (coordinate: import("maptalks").Coordinate, zoom?: number, out?: import("maptalks").Point) => import("maptalks").Point;
|
|
2269
|
-
coordinateToPointAtRes: (coordinate: import("maptalks").Coordinate, res?: number, out?: import("maptalks").Point) => import("maptalks").Point;
|
|
2270
|
-
pointToCoordinate: (point: import("maptalks").Point, zoom?: number, out?: import("maptalks").Coordinate) => import("maptalks").Coordinate;
|
|
2271
|
-
pointAtResToCoordinate: (point: import("maptalks").Point, res?: number, out?: import("maptalks").Coordinate) => import("maptalks").Coordinate;
|
|
2272
|
-
coordinateToViewPoint: (coordinate: import("maptalks").Coordinate, out?: import("maptalks").Point, altitude?: number) => import("maptalks").Point;
|
|
2273
|
-
viewPointToCoordinate: (viewPoint: import("maptalks").Point, out?: import("maptalks").Coordinate) => import("maptalks").Coordinate;
|
|
2274
|
-
coordinateToContainerPoint: (coordinate: import("maptalks").Coordinate, zoom?: number, out?: import("maptalks").Point) => import("maptalks").Point;
|
|
2275
|
-
coordinateToContainerPointAtRes: (coordinate: import("maptalks").Coordinate, res?: number, out?: import("maptalks").Point) => import("maptalks").Point;
|
|
2276
|
-
coordinatesToContainerPoints: (coordinates: Array<import("maptalks").Coordinate>, zoom?: number) => Array<import("maptalks").Point>;
|
|
2277
|
-
coordinatesToContainerPointsAtRes: (coordinates: Array<import("maptalks").Coordinate>, res?: number) => Array<import("maptalks").Point>;
|
|
2278
|
-
containerPointToCoordinate: (containerPoint: import("maptalks").Point, out?: import("maptalks").Coordinate) => import("maptalks").Coordinate;
|
|
2279
|
-
containerPointToCoordinate3: (containerPoint: import("maptalks").Point, altitude?: number, out?: import("maptalks").Coordinate) => import("maptalks").Coordinate;
|
|
2280
|
-
containerToExtent: (containerExtent: import("maptalks").PointExtent) => import("maptalks").Extent;
|
|
2281
|
-
distanceToPixel: (xDist: number, yDist: number, zoom?: number) => import("maptalks").Size;
|
|
2282
|
-
distanceToPoint: (xDist: number, yDist: number, zoom?: number, paramCenter?: import("maptalks").Coordinate) => import("maptalks").Point;
|
|
2283
|
-
distanceToPointAtRes: (xDist: number, yDist: number, res?: number, paramCenter?: import("maptalks").Coordinate, out?: import("maptalks").Point) => import("maptalks").Point;
|
|
2284
|
-
altitudeToPoint: (altitude: number, res?: number, originCenter?: import("maptalks").Coordinate) => number;
|
|
2285
|
-
pointAtResToAltitude: (point: import("maptalks").Point, res?: number, originCenter?: import("maptalks").Coordinate) => number;
|
|
2286
|
-
pixelToDistance: (width: number, height: number) => number;
|
|
2287
|
-
pointToDistance: (dx: number, dy: number, zoom?: number) => number;
|
|
2288
|
-
pointAtResToDistance: (dx: number, dy: number, res?: number, paramCenter?: import("maptalks").Coordinate) => number;
|
|
2289
|
-
locateByPoint: (coordinate: import("maptalks").Coordinate, px: number, py: number) => import("maptalks").Coordinate;
|
|
2290
|
-
get2DExtent: (zoom?: number, out?: import("maptalks").PointExtent) => import("maptalks").PointExtent;
|
|
2291
|
-
get2DExtentAtRes: (res?: number, out?: import("maptalks").PointExtent) => import("maptalks").PointExtent;
|
|
2292
|
-
pointToExtent: (extent2D: import("maptalks").PointExtent) => import("maptalks").Extent;
|
|
2293
|
-
getViewPointFrameOffset: () => import("maptalks").Point | null;
|
|
2294
|
-
viewPointToPrj: (viewPoint: import("maptalks").Point, out?: import("maptalks").Point) => import("maptalks").Point;
|
|
2295
|
-
prjToContainerPoint: (pCoordinate: import("maptalks").Coordinate, zoom?: number, out?: import("maptalks").Point, altitude?: number) => import("maptalks").Point;
|
|
2296
|
-
prjToContainerPointAtRes: (pCoordinate: import("maptalks").Coordinate, res?: number, out?: import("maptalks").Point, altitude?: number) => import("maptalks").Point;
|
|
2297
|
-
prjToViewPoint: (pCoordinate: import("maptalks").Coordinate, out?: import("maptalks").Point, altitude?: number) => import("maptalks").Point;
|
|
2298
|
-
viewPointToPoint: (viewPoint: import("maptalks").Point, zoom?: number, out?: import("maptalks").Point) => import("maptalks").Point;
|
|
2299
|
-
pointToViewPoint: (point: import("maptalks").Point, zoom?: number, out?: import("maptalks").Point) => import("maptalks").Point;
|
|
2300
|
-
config: {
|
|
2301
|
-
(options: import("maptalks").MapOptionsType): import("maptalks").Map;
|
|
2302
|
-
<K extends keyof import("maptalks").MapOptionsType>(conf: K, value: import("maptalks").MapOptionsType[K]): import("maptalks").Map;
|
|
2303
|
-
(): import("maptalks").MapOptionsType;
|
|
2304
|
-
};
|
|
2305
|
-
_handlers?: {
|
|
2306
|
-
target: any;
|
|
2307
|
-
dom?: HTMLElement | undefined;
|
|
2308
|
-
addHooks: () => void;
|
|
2309
|
-
removeHooks: () => void;
|
|
2310
|
-
enable: () => import("maptalks").Handler;
|
|
2311
|
-
disable: () => import("maptalks").Handler;
|
|
2312
|
-
enabled: () => boolean;
|
|
2313
|
-
remove: () => void;
|
|
2314
|
-
_eventMap?: Record<string, {
|
|
2315
|
-
handler: import("maptalks").HandlerFn;
|
|
2316
|
-
context: any;
|
|
2317
|
-
}[]> | undefined;
|
|
2318
|
-
_eventParent?: any;
|
|
2319
|
-
_eventTarget?: any;
|
|
2320
|
-
on: (eventsOn: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any) => any;
|
|
2321
|
-
addEventListener: (...args: any[]) => any;
|
|
2322
|
-
once: (eventTypes: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any) => any;
|
|
2323
|
-
off: (eventsOff: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any) => any;
|
|
2324
|
-
removeEventListener: (...args: any[]) => any;
|
|
2325
|
-
listens: (eventType: string, handler?: import("maptalks").HandlerFn, context?: any) => number;
|
|
2326
|
-
getListeningEvents: () => string[];
|
|
2327
|
-
copyEventListeners: (target: any) => any;
|
|
2328
|
-
fire: (eventType: string, param?: import("maptalks").BaseEventParamsType) => any;
|
|
2329
|
-
_wrapOnceHandler: (evtType: string, handler: import("maptalks").HandlerFn, context?: any) => (...args: any[]) => void;
|
|
2330
|
-
_switch: (to: string, eventRecords: import("maptalks").EventRecords, context?: any) => any;
|
|
2331
|
-
_clearListeners: (eventType: string) => void;
|
|
2332
|
-
_clearAllListeners: () => void;
|
|
2333
|
-
_setEventParent: (parent: any) => any;
|
|
2334
|
-
_setEventTarget: (target: any) => any;
|
|
2335
|
-
_fire: (eventType: string, param: import("maptalks").BaseEventParamsType) => any;
|
|
2336
|
-
}[] | undefined;
|
|
2337
|
-
addHandler: (name: any, handlerClass: any) => any;
|
|
2338
|
-
removeHandler: (name: any) => any;
|
|
2339
|
-
_clearHandlers: () => void;
|
|
2340
|
-
_eventMap?: Record<string, {
|
|
2341
|
-
handler: import("maptalks").HandlerFn;
|
|
2342
|
-
context: any;
|
|
2343
|
-
}[]> | undefined;
|
|
2344
|
-
_eventParent?: any;
|
|
2345
|
-
_eventTarget?: any;
|
|
2346
|
-
on: (eventsOn: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any) => any;
|
|
2347
|
-
addEventListener: (...args: any[]) => any;
|
|
2348
|
-
once: (eventTypes: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any) => any;
|
|
2349
|
-
off: (eventsOff: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any) => any;
|
|
2350
|
-
removeEventListener: (...args: any[]) => any;
|
|
2351
|
-
listens: (eventType: string, handler?: import("maptalks").HandlerFn, context?: any) => number;
|
|
2352
|
-
getListeningEvents: () => string[];
|
|
2353
|
-
copyEventListeners: (target: any) => any;
|
|
2354
|
-
fire: (eventType: string, param?: import("maptalks").BaseEventParamsType) => any;
|
|
2355
|
-
_wrapOnceHandler: (evtType: string, handler: import("maptalks").HandlerFn, context?: any) => (...args: any[]) => void;
|
|
2356
|
-
_switch: (to: string, eventRecords: import("maptalks").EventRecords, context?: any) => any;
|
|
2357
|
-
_clearListeners: (eventType: string) => void;
|
|
2358
|
-
_clearAllListeners: () => void;
|
|
2359
|
-
_setEventParent: (parent: any) => any;
|
|
2360
|
-
_setEventTarget: (target: any) => any;
|
|
2361
|
-
_fire: (eventType: string, param: import("maptalks").BaseEventParamsType) => any;
|
|
2362
|
-
proxyOptions: () => import("maptalks").Map;
|
|
2363
|
-
callInitHooks: () => import("maptalks").Map;
|
|
2364
|
-
_setOptions: (options: import("maptalks").ClassOptions) => import("maptalks").Map;
|
|
2365
|
-
setOptions: (options: import("maptalks").ClassOptions) => import("maptalks").Map;
|
|
2366
|
-
setMenu: (options: import("maptalks").MenuOptionsType) => import("maptalks").Map;
|
|
2367
|
-
getMenu: () => {
|
|
2368
|
-
options: import("maptalks").MenuOptionsType;
|
|
2369
|
-
addTo(owner: import("maptalks").Geometry | import("maptalks").Map): any;
|
|
2370
|
-
setItems(items: Array<import("maptalks").MenuItem>): /*elided*/ any;
|
|
2371
|
-
getItems(): import("maptalks").MenuItem[];
|
|
2372
|
-
buildOn(): HTMLElement;
|
|
2373
|
-
getOffset(): import("maptalks").Point;
|
|
2374
|
-
getTransformOrigin(): string;
|
|
2375
|
-
getEvents(): {
|
|
2376
|
-
"_zoomstart _zoomend _movestart _dblclick _click": () => void;
|
|
2377
|
-
};
|
|
2378
|
-
onAdd(): void;
|
|
2379
|
-
onRemove(): void;
|
|
2380
|
-
onDomRemove(): void;
|
|
2381
|
-
getOwnerEvents(): {
|
|
2382
|
-
[key: string]: () => void;
|
|
2383
|
-
};
|
|
2384
|
-
getMap(): import("maptalks").Map;
|
|
2385
|
-
show(coordinate: import("maptalks").Coordinate): /*elided*/ any;
|
|
2386
|
-
hide(): /*elided*/ any;
|
|
2387
|
-
isVisible(): boolean;
|
|
2388
|
-
remove(): /*elided*/ any;
|
|
2389
|
-
getSize(): import("maptalks").Size;
|
|
2390
|
-
getOwner(): import("maptalks").Map | import("maptalks").Geometry;
|
|
2391
|
-
getDOM(): HTMLElement;
|
|
2392
|
-
setZIndex(zIndex: number): /*elided*/ any;
|
|
2393
|
-
getPosition(): import("maptalks").Point;
|
|
2394
|
-
onGeometryPositionChange(param: any): void;
|
|
2395
|
-
onMoving(): void;
|
|
2396
|
-
onEvent(): void;
|
|
2397
|
-
onZoomEnd(): void;
|
|
2398
|
-
onResize(): void;
|
|
2399
|
-
onDomSizeChange(): void;
|
|
2400
|
-
isSupportZoomFilter(): boolean;
|
|
2401
|
-
onConfig(config: Record<string, any>): /*elided*/ any;
|
|
2402
|
-
_eventMap?: Record<string, {
|
|
2403
|
-
handler: import("maptalks").HandlerFn;
|
|
2404
|
-
context: any;
|
|
2405
|
-
}[]>;
|
|
2406
|
-
_eventParent?: any;
|
|
2407
|
-
_eventTarget?: any;
|
|
2408
|
-
on(eventsOn: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
2409
|
-
addEventListener(...args: any[]): any;
|
|
2410
|
-
once(eventTypes: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
2411
|
-
off(eventsOff: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
2412
|
-
removeEventListener(...args: any[]): any;
|
|
2413
|
-
listens(eventType: string, handler?: import("maptalks").HandlerFn, context?: any): number;
|
|
2414
|
-
getListeningEvents(): string[];
|
|
2415
|
-
copyEventListeners(target: any): any;
|
|
2416
|
-
fire(eventType: string, param?: import("maptalks").BaseEventParamsType): any;
|
|
2417
|
-
_wrapOnceHandler(evtType: string, handler: import("maptalks").HandlerFn, context?: any): (...args: any[]) => void;
|
|
2418
|
-
_switch(to: string, eventRecords: import("maptalks").EventRecords, context?: any): any;
|
|
2419
|
-
_clearListeners(eventType: string): void;
|
|
2420
|
-
_clearAllListeners(): void;
|
|
2421
|
-
_setEventParent(parent: any): any;
|
|
2422
|
-
_setEventTarget(target: any): any;
|
|
2423
|
-
_fire(eventType: string, param: import("maptalks").BaseEventParamsType): any;
|
|
2424
|
-
proxyOptions(): /*elided*/ any;
|
|
2425
|
-
callInitHooks(): /*elided*/ any;
|
|
2426
|
-
_setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
2427
|
-
setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
2428
|
-
config(conf?: string | import("maptalks").ClassOptions, value?: any): import("maptalks").ClassOptions | /*elided*/ any;
|
|
2429
|
-
};
|
|
2430
|
-
openMenu: (coordinate?: import("maptalks").Coordinate) => import("maptalks").Map;
|
|
2431
|
-
setMenuItems: (items: Array<import("maptalks").MenuItem>) => import("maptalks").Map;
|
|
2432
|
-
getMenuItems: () => Array<import("maptalks").MenuItem>;
|
|
2433
|
-
closeMenu: () => import("maptalks").Map;
|
|
2434
|
-
removeMenu: () => import("maptalks").Map;
|
|
2435
|
-
};
|
|
2436
|
-
readonly coordType: import("tg-map-core").CoordType;
|
|
2437
|
-
addEventListener: {
|
|
2438
|
-
<K extends keyof AbstractMapEventMap>(type: K, listener: (event: AbstractMapEventMap[K]) => void): void;
|
|
2439
|
-
(type: string, listener: import("tg-map-core").Tg.EventListener): void;
|
|
2440
|
-
};
|
|
2441
|
-
removeEventListener: {
|
|
2442
|
-
<K extends keyof AbstractMapEventMap>(type: K, listener: (event: AbstractMapEventMap[K]) => void): void;
|
|
2443
|
-
(type: string, listener: import("tg-map-core").Tg.EventListener): void;
|
|
2444
|
-
};
|
|
2445
|
-
getLatestInfoWindow: () => import("tg-map-core").InfoWindowOverlay | undefined;
|
|
2446
|
-
setLatestInfoWindowInternal: (infoWindow: import("tg-map-core").InfoWindowOverlay) => void;
|
|
2447
|
-
fromContainerPointToLatLng: (point: import("tg-map-core").Point) => LatLng;
|
|
2448
|
-
fromLatLngToContainerPoint: (latLng: LatLng) => import("tg-map-core").Point;
|
|
2449
|
-
setHideLogo: (hideLogo: boolean) => void;
|
|
2450
|
-
setFractionalZoom: (enabled: boolean) => void;
|
|
2451
|
-
setDefaultCursor: (cursor: import("csstype").Property.Cursor) => void;
|
|
2452
|
-
setDraggable: (draggable: boolean) => void;
|
|
2453
|
-
setDoubleClickZoom: (enable: boolean) => void;
|
|
2454
|
-
getCenter: () => LatLng;
|
|
2455
|
-
setCenter: (latlng: LatLng) => void;
|
|
2456
|
-
setMinZoom: (zoom: number) => void;
|
|
2457
|
-
setMaxZoom: (zoom: number) => void;
|
|
2458
|
-
setMapStyle: (mapStyle?: MapStyle) => void;
|
|
2459
|
-
setBuildInMapTypeId: (id: BuildInMapTypeId) => void;
|
|
2460
|
-
setMapType: (mapType: MapType) => void;
|
|
2461
|
-
getMapType: () => MapType;
|
|
2462
|
-
addLayer: (layer: import("tg-map-core").Layer) => void;
|
|
2463
|
-
removeLayer: (layer: import("tg-map-core").Layer) => void;
|
|
2464
|
-
addOverlayMapType: (mapType: import("tg-map-core").OverlayMapType) => void;
|
|
2465
|
-
removeOverlayMapType: (mapType: import("tg-map-core").OverlayMapType) => void;
|
|
2466
|
-
panTo: (position: LatLng) => void;
|
|
2467
|
-
panBy: (x: number, y: number) => void;
|
|
2468
|
-
fitBounds: (bounds: import("tg-map-core").LatLngBounds, padding?: import("tg-map-core").Padding) => void;
|
|
2469
|
-
getBounds: () => import("tg-map-core").LatLngBounds;
|
|
2470
|
-
addElementOverlay: (overlay: import("tg-map-core").ElementOverlay) => void;
|
|
2471
|
-
removeElementOverlay: (overlay: import("tg-map-core").ElementOverlay) => void;
|
|
2472
|
-
addOverlay: (overlay: import("tg-map-core").Overlay) => void;
|
|
2473
|
-
removeOverlay: (overlay: import("tg-map-core").Overlay) => void;
|
|
2474
|
-
createMarker: (options: import("tg-map-core").MarkerOptions) => import("tg-map-core").MarkerOverlay;
|
|
2475
|
-
createMarkerClusterer: (options: import("tg-map-core").MarkerClustererOptions) => import("tg-map-core").MarkerClusterer;
|
|
2476
|
-
createHeatmap: (options: import("tg-map-core").HeatmapOptions) => import("tg-map-core").Heatmap;
|
|
2477
|
-
createAutocomplete: (options: import("tg-map-core").AutocompleteOptions) => import("tg-map-core").Autocomplete;
|
|
2478
|
-
createSearchBox: (options: import("tg-map-core").SearchBoxOptions) => import("tg-map-core").SearchBox;
|
|
2479
|
-
createPlacesService: (options: import("tg-map-core").PlacesServiceOptions) => import("tg-map-core").PlacesService;
|
|
2480
|
-
createMapUrls: (options: import("tg-map-core").MapUrlsOptions) => import("tg-map-core").MapUrls;
|
|
2481
|
-
createInfoWindow: (options: import("tg-map-core").InfoWindowOptions) => import("tg-map-core").InfoWindowOverlay;
|
|
2482
|
-
createInfoBox: (options: import("tg-map-core").InfoBoxOptions) => import("tg-map-core").InfoBoxOverlay;
|
|
2483
|
-
createPolyline: (options: import("tg-map-core").PolylineOptions) => import("tg-map-core").PolylineOverlay;
|
|
2484
|
-
createPolygon: (options: import("tg-map-core").PolygonOptions) => import("tg-map-core").PolygonOverlay;
|
|
2485
|
-
createRectangle: (options: import("tg-map-core").RectangleOptions) => import("tg-map-core").RectangleOverlay;
|
|
2486
|
-
createCircle: (options: import("tg-map-core").CircleOptions) => import("tg-map-core").CircleOverlay;
|
|
2487
|
-
createLabel: (options: import("tg-map-core").LabelOptions) => import("tg-map-core").LabelOverlay;
|
|
2488
|
-
addCustomControl: (control: import("tg-map-core").CustomControl) => void;
|
|
2489
|
-
removeCustomControl: (control: import("tg-map-core").CustomControl) => void;
|
|
2490
|
-
createMapTypeControl: (options: import("tg-map-core").MapTypeControlOptions) => import("tg-map-core").MapTypeControl;
|
|
2491
|
-
createZoomControl: (options: import("tg-map-core").ZoomControlOptions) => import("tg-map-core").ZoomControl;
|
|
2492
|
-
createStreetViewControl: (options: import("tg-map-core").StreetViewControlOptions) => import("tg-map-core").StreetViewControl;
|
|
2493
|
-
createScaleControl: (options: import("tg-map-core").ScaleControlOptions) => import("tg-map-core").ScaleControl;
|
|
2494
|
-
addControl: (control: import("tg-map-core").AbstractControl) => void;
|
|
2495
|
-
removeControl: (control: import("tg-map-core").AbstractControl) => void;
|
|
2496
|
-
getZoom: () => number;
|
|
2497
|
-
setZoom: (zoom: number) => void;
|
|
2498
|
-
} | undefined>;
|
|
318
|
+
$map: import("vue").ComputedRef<Raw<BaseMap> | undefined>;
|
|
2499
319
|
}, true, {}, any>;
|
|
2500
320
|
export default _default;
|