tg-map-vue3 4.1.4 → 4.1.5
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 +7 -0
- package/README.md +9 -6
- package/dist/assets/404-D34FYbNB.js +2 -0
- package/dist/assets/404-D34FYbNB.js.map +1 -0
- package/dist/assets/ControlDemo-BvElkDpq.js +2 -0
- package/dist/assets/ControlDemo-BvElkDpq.js.map +1 -0
- package/dist/assets/CssPositionDemo-DbSCIYVw.js +2 -0
- package/dist/assets/CssPositionDemo-DbSCIYVw.js.map +1 -0
- package/dist/assets/HeatmapDemo-CKEH0W3g.js +2 -0
- package/dist/assets/HeatmapDemo-CKEH0W3g.js.map +1 -0
- package/dist/assets/InfoDemo-BSp_czCk.js +2 -0
- package/dist/assets/InfoDemo-BSp_czCk.js.map +1 -0
- package/dist/assets/LifecycleBugDemo-Bldh5GGg.js +2 -0
- package/dist/assets/LifecycleBugDemo-Bldh5GGg.js.map +1 -0
- package/dist/assets/Main-DGU58I8w.js +2 -0
- package/dist/assets/Main-DGU58I8w.js.map +1 -0
- package/dist/assets/MapDemo-Crw8VrAs.vue +155 -0
- package/dist/assets/MapDemo-Z4UTQNq5.js +2 -0
- package/dist/assets/MapDemo-Z4UTQNq5.js.map +1 -0
- package/dist/assets/MapTypeDemo-bv5WPraY.js +2 -0
- package/dist/assets/MapTypeDemo-bv5WPraY.js.map +1 -0
- package/dist/assets/MapUrlsDemo-D0075XSg.js +2 -0
- package/dist/assets/MapUrlsDemo-D0075XSg.js.map +1 -0
- package/dist/assets/MarkerDemo-D9YK-9Js.js +2 -0
- package/dist/assets/MarkerDemo-D9YK-9Js.js.map +1 -0
- package/dist/assets/MarkerDemo-D_C5RDUy.vue +200 -0
- package/dist/assets/MultiMapDemo-D-BWUDR1.js +2 -0
- package/dist/assets/MultiMapDemo-D-BWUDR1.js.map +1 -0
- package/dist/assets/OverlayDemo-BtSawKbN.js +2 -0
- package/dist/assets/OverlayDemo-BtSawKbN.js.map +1 -0
- package/dist/assets/PlaceDemo-DswQxAPt.js +2 -0
- package/dist/assets/PlaceDemo-DswQxAPt.js.map +1 -0
- package/dist/assets/ReactiveDemo-D5H5d9dh.js +2 -0
- package/dist/assets/ReactiveDemo-D5H5d9dh.js.map +1 -0
- package/dist/assets/ShapeDemo-CX9Jwa7y.js +2 -0
- package/dist/assets/ShapeDemo-CX9Jwa7y.js.map +1 -0
- package/dist/assets/ShapeDemo-t5GXEmrA.vue +162 -0
- package/dist/assets/TalksDemo-D0da45jA.js +2 -0
- package/dist/assets/TalksDemo-D0da45jA.js.map +1 -0
- package/dist/assets/V2Demo-vX7YCqCc.js +2 -0
- package/dist/assets/V2Demo-vX7YCqCc.js.map +1 -0
- package/dist/assets/index-C6IOkH7Y.css +1 -0
- package/dist/assets/index-DkG0ZlIx.js +352 -0
- package/dist/assets/index-DkG0ZlIx.js.map +1 -0
- package/dist/index.html +14 -0
- package/dist/src/components/TgMap.vue.d.ts +161 -153
- package/dist/src/components/controls/TgZoomControl.vue.d.ts +6 -0
- package/dist/src/components/overlays/TgInfoBox.vue.d.ts +2 -0
- package/package.json +6 -4
- package/dist/tg-map.cjs +0 -2
- package/dist/tg-map.cjs.map +0 -1
- package/dist/tg-map.css +0 -1
- package/dist/tg-map.js +0 -1421
- package/dist/tg-map.js.map +0 -1
package/dist/index.html
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<link rel="icon" href="/favicon.ico">
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
7
|
+
<title>Vite App</title>
|
|
8
|
+
<script type="module" crossorigin src="/assets/index-DkG0ZlIx.js"></script>
|
|
9
|
+
<link rel="stylesheet" crossorigin href="/assets/index-C6IOkH7Y.css">
|
|
10
|
+
</head>
|
|
11
|
+
<body>
|
|
12
|
+
<div id="app"></div>
|
|
13
|
+
</body>
|
|
14
|
+
</html>
|
|
@@ -68,6 +68,9 @@ export declare const tgMapProps: {
|
|
|
68
68
|
gestureHandling: {
|
|
69
69
|
type: PropType<StringEnumValue<typeof GestureHandlingOptions>>;
|
|
70
70
|
};
|
|
71
|
+
fractionalZoom: {
|
|
72
|
+
type: PropType<boolean>;
|
|
73
|
+
};
|
|
71
74
|
minZoom: {
|
|
72
75
|
type: PropType<number>;
|
|
73
76
|
};
|
|
@@ -154,6 +157,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
154
157
|
gestureHandling: {
|
|
155
158
|
type: PropType<StringEnumValue<typeof GestureHandlingOptions>>;
|
|
156
159
|
};
|
|
160
|
+
fractionalZoom: {
|
|
161
|
+
type: PropType<boolean>;
|
|
162
|
+
};
|
|
157
163
|
minZoom: {
|
|
158
164
|
type: PropType<number>;
|
|
159
165
|
};
|
|
@@ -250,6 +256,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
250
256
|
gestureHandling: {
|
|
251
257
|
type: PropType<StringEnumValue<typeof GestureHandlingOptions>>;
|
|
252
258
|
};
|
|
259
|
+
fractionalZoom: {
|
|
260
|
+
type: PropType<boolean>;
|
|
261
|
+
};
|
|
253
262
|
minZoom: {
|
|
254
263
|
type: PropType<number>;
|
|
255
264
|
};
|
|
@@ -711,98 +720,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
711
720
|
addEventListener: (type: string, handler: EventListenerOrEventListenerObject, opt_capture?: boolean, opt_scope?: any) => void;
|
|
712
721
|
removeEventListener: (type: string, handler: EventListenerOrEventListenerObject, opt_capture?: boolean, opt_scope?: any) => void;
|
|
713
722
|
} | {
|
|
714
|
-
addControl: (control:
|
|
715
|
-
|
|
716
|
-
onAdd(): void;
|
|
717
|
-
onRemove(): void;
|
|
718
|
-
buildOn(map?: import("maptalks").Map): HTMLElement;
|
|
719
|
-
addTo(map: import("maptalks").Map): /*elided*/ any;
|
|
720
|
-
update(): /*elided*/ any;
|
|
721
|
-
getMap(): import("maptalks").Map;
|
|
722
|
-
getPosition(): import("maptalks").DomPositionType;
|
|
723
|
-
setPosition(position: import("maptalks").ControlPositionType): /*elided*/ any;
|
|
724
|
-
getContainerPoint(): import("maptalks").Point;
|
|
725
|
-
getContainer(): HTMLElement;
|
|
726
|
-
getDOM(): HTMLElement;
|
|
727
|
-
show(): /*elided*/ any;
|
|
728
|
-
hide(): /*elided*/ any;
|
|
729
|
-
isVisible(): boolean;
|
|
730
|
-
remove(): /*elided*/ any;
|
|
731
|
-
onConfig(conf: import("maptalks").ClassOptions): void;
|
|
732
|
-
_eventMap?: Record<string, {
|
|
733
|
-
handler: import("maptalks").HandlerFn;
|
|
734
|
-
context: any;
|
|
735
|
-
}[]>;
|
|
736
|
-
_eventParent?: any;
|
|
737
|
-
_eventTarget?: any;
|
|
738
|
-
on(eventsOn: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
739
|
-
addEventListener(...args: any[]): any;
|
|
740
|
-
once(eventTypes: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
741
|
-
off(eventsOff: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
742
|
-
removeEventListener(...args: any[]): any;
|
|
743
|
-
listens(eventType: string, handler?: import("maptalks").HandlerFn, context?: any): number;
|
|
744
|
-
getListeningEvents(): string[];
|
|
745
|
-
copyEventListeners(target: any): any;
|
|
746
|
-
fire(eventType: string, param?: import("maptalks").BaseEventParamsType): any;
|
|
747
|
-
_wrapOnceHandler(evtType: string, handler: import("maptalks").HandlerFn, context?: any): (...args: any[]) => void;
|
|
748
|
-
_switch(to: string, eventRecords: import("maptalks").EventRecords, context?: any): any;
|
|
749
|
-
_clearListeners(eventType: string): void;
|
|
750
|
-
_clearAllListeners(): void;
|
|
751
|
-
_setEventParent(parent: any): any;
|
|
752
|
-
_setEventTarget(target: any): any;
|
|
753
|
-
_fire(eventType: string, param: import("maptalks").BaseEventParamsType): any;
|
|
754
|
-
proxyOptions(): /*elided*/ any;
|
|
755
|
-
callInitHooks(): /*elided*/ any;
|
|
756
|
-
_setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
757
|
-
setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
758
|
-
config(conf?: string | import("maptalks").ClassOptions, value?: any): import("maptalks").ClassOptions | /*elided*/ any;
|
|
759
|
-
}) => import("maptalks").Map;
|
|
760
|
-
removeControl: (control: {
|
|
761
|
-
options: import("maptalks").ControlOptionsType;
|
|
762
|
-
onAdd(): void;
|
|
763
|
-
onRemove(): void;
|
|
764
|
-
buildOn(map?: import("maptalks").Map): HTMLElement;
|
|
765
|
-
addTo(map: import("maptalks").Map): /*elided*/ any;
|
|
766
|
-
update(): /*elided*/ any;
|
|
767
|
-
getMap(): import("maptalks").Map;
|
|
768
|
-
getPosition(): import("maptalks").DomPositionType;
|
|
769
|
-
setPosition(position: import("maptalks").ControlPositionType): /*elided*/ any;
|
|
770
|
-
getContainerPoint(): import("maptalks").Point;
|
|
771
|
-
getContainer(): HTMLElement;
|
|
772
|
-
getDOM(): HTMLElement;
|
|
773
|
-
show(): /*elided*/ any;
|
|
774
|
-
hide(): /*elided*/ any;
|
|
775
|
-
isVisible(): boolean;
|
|
776
|
-
remove(): /*elided*/ any;
|
|
777
|
-
onConfig(conf: import("maptalks").ClassOptions): void;
|
|
778
|
-
_eventMap?: Record<string, {
|
|
779
|
-
handler: import("maptalks").HandlerFn;
|
|
780
|
-
context: any;
|
|
781
|
-
}[]>;
|
|
782
|
-
_eventParent?: any;
|
|
783
|
-
_eventTarget?: any;
|
|
784
|
-
on(eventsOn: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
785
|
-
addEventListener(...args: any[]): any;
|
|
786
|
-
once(eventTypes: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
787
|
-
off(eventsOff: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
788
|
-
removeEventListener(...args: any[]): any;
|
|
789
|
-
listens(eventType: string, handler?: import("maptalks").HandlerFn, context?: any): number;
|
|
790
|
-
getListeningEvents(): string[];
|
|
791
|
-
copyEventListeners(target: any): any;
|
|
792
|
-
fire(eventType: string, param?: import("maptalks").BaseEventParamsType): any;
|
|
793
|
-
_wrapOnceHandler(evtType: string, handler: import("maptalks").HandlerFn, context?: any): (...args: any[]) => void;
|
|
794
|
-
_switch(to: string, eventRecords: import("maptalks").EventRecords, context?: any): any;
|
|
795
|
-
_clearListeners(eventType: string): void;
|
|
796
|
-
_clearAllListeners(): void;
|
|
797
|
-
_setEventParent(parent: any): any;
|
|
798
|
-
_setEventTarget(target: any): any;
|
|
799
|
-
_fire(eventType: string, param: import("maptalks").BaseEventParamsType): any;
|
|
800
|
-
proxyOptions(): /*elided*/ any;
|
|
801
|
-
callInitHooks(): /*elided*/ any;
|
|
802
|
-
_setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
803
|
-
setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
804
|
-
config(conf?: string | import("maptalks").ClassOptions, value?: any): import("maptalks").ClassOptions | /*elided*/ any;
|
|
805
|
-
}) => import("maptalks").Map;
|
|
723
|
+
addControl: (control: import("maptalks").control.Control) => import("maptalks").Map;
|
|
724
|
+
removeControl: (control: import("maptalks").control.Control) => import("maptalks").Map;
|
|
806
725
|
VERSION: string;
|
|
807
726
|
isMap: boolean;
|
|
808
727
|
centerAltitude: number;
|
|
@@ -876,6 +795,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
876
795
|
onRendererCreate: () => void;
|
|
877
796
|
onCanvasCreate: () => void;
|
|
878
797
|
onRemove: () => void;
|
|
798
|
+
getRendererOption: () => "canvas" | "gl" | "gpu" | "dom";
|
|
879
799
|
toJSON: (options?: any) => import("maptalks").LayerJSONType;
|
|
880
800
|
identify: (_coordinate: import("maptalks").Coordinate, _options: import("maptalks").LayerIdentifyOptionsType) => void;
|
|
881
801
|
identifyAtPoint: (_containerPoint: import("maptalks").Point, _options: import("maptalks").LayerIdentifyOptionsType) => void;
|
|
@@ -972,6 +892,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
972
892
|
onRendererCreate: () => void;
|
|
973
893
|
onCanvasCreate: () => void;
|
|
974
894
|
onRemove: () => void;
|
|
895
|
+
getRendererOption: () => "canvas" | "gl" | "gpu" | "dom";
|
|
975
896
|
toJSON: (options?: any) => import("maptalks").LayerJSONType;
|
|
976
897
|
identify: (_coordinate: import("maptalks").Coordinate, _options: import("maptalks").LayerIdentifyOptionsType) => void;
|
|
977
898
|
identifyAtPoint: (_containerPoint: import("maptalks").Point, _options: import("maptalks").LayerIdentifyOptionsType) => void;
|
|
@@ -1145,6 +1066,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1145
1066
|
_expand: (distance: number | import("maptalks").Size) => import("maptalks").Extent;
|
|
1146
1067
|
toJSON: () => import("maptalks").JsonExtent;
|
|
1147
1068
|
toArray: (out?: import("maptalks").PositionType[]) => import("maptalks").PositionType[];
|
|
1069
|
+
toBBOX: () => number[];
|
|
1148
1070
|
toString: () => string;
|
|
1149
1071
|
copy: () => import("maptalks").PointExtent | import("maptalks").Extent;
|
|
1150
1072
|
convertTo: {
|
|
@@ -1497,6 +1419,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1497
1419
|
isVisible(): boolean;
|
|
1498
1420
|
remove(): /*elided*/ any;
|
|
1499
1421
|
onConfig(conf: import("maptalks").ClassOptions): void;
|
|
1422
|
+
config(options: import("maptalks").ControlOptionsType): /*elided*/ any;
|
|
1423
|
+
config<K extends keyof import("maptalks").ControlOptionsType>(conf: K, value: import("maptalks").ControlOptionsType[K]): /*elided*/ any;
|
|
1424
|
+
config(): import("maptalks").ControlOptionsType;
|
|
1500
1425
|
_eventMap?: Record<string, {
|
|
1501
1426
|
handler: import("maptalks").HandlerFn;
|
|
1502
1427
|
context: any;
|
|
@@ -1523,7 +1448,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1523
1448
|
callInitHooks(): /*elided*/ any;
|
|
1524
1449
|
_setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
1525
1450
|
setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
1526
|
-
config(conf?: string | import("maptalks").ClassOptions, value?: any): /*elided*/ any | import("maptalks").ClassOptions;
|
|
1527
1451
|
};
|
|
1528
1452
|
onAdd: () => void;
|
|
1529
1453
|
onRemove: () => void;
|
|
@@ -1558,6 +1482,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1558
1482
|
isVisible(): boolean;
|
|
1559
1483
|
remove(): /*elided*/ any;
|
|
1560
1484
|
onConfig(conf: import("maptalks").ClassOptions): void;
|
|
1485
|
+
config(options: import("maptalks").ControlOptionsType): /*elided*/ any;
|
|
1486
|
+
config<K extends keyof import("maptalks").ControlOptionsType>(conf: K, value: import("maptalks").ControlOptionsType[K]): /*elided*/ any;
|
|
1487
|
+
config(): import("maptalks").ControlOptionsType;
|
|
1561
1488
|
_eventMap?: Record<string, {
|
|
1562
1489
|
handler: import("maptalks").HandlerFn;
|
|
1563
1490
|
context: any;
|
|
@@ -1584,7 +1511,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1584
1511
|
callInitHooks(): /*elided*/ any;
|
|
1585
1512
|
_setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
1586
1513
|
setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
1587
|
-
config(conf?: string | import("maptalks").ClassOptions, value?: any): /*elided*/ any | import("maptalks").ClassOptions;
|
|
1588
1514
|
};
|
|
1589
1515
|
update: () => {
|
|
1590
1516
|
buildOn(): HTMLDivElement;
|
|
@@ -1606,6 +1532,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1606
1532
|
isVisible(): boolean;
|
|
1607
1533
|
remove(): /*elided*/ any;
|
|
1608
1534
|
onConfig(conf: import("maptalks").ClassOptions): void;
|
|
1535
|
+
config(options: import("maptalks").ControlOptionsType): /*elided*/ any;
|
|
1536
|
+
config<K extends keyof import("maptalks").ControlOptionsType>(conf: K, value: import("maptalks").ControlOptionsType[K]): /*elided*/ any;
|
|
1537
|
+
config(): import("maptalks").ControlOptionsType;
|
|
1609
1538
|
_eventMap?: Record<string, {
|
|
1610
1539
|
handler: import("maptalks").HandlerFn;
|
|
1611
1540
|
context: any;
|
|
@@ -1632,7 +1561,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1632
1561
|
callInitHooks(): /*elided*/ any;
|
|
1633
1562
|
_setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
1634
1563
|
setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
1635
|
-
config(conf?: string | import("maptalks").ClassOptions, value?: any): /*elided*/ any | import("maptalks").ClassOptions;
|
|
1636
1564
|
};
|
|
1637
1565
|
getMap: () => import("maptalks").Map;
|
|
1638
1566
|
getPosition: () => import("maptalks").DomPositionType;
|
|
@@ -1656,6 +1584,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1656
1584
|
isVisible(): boolean;
|
|
1657
1585
|
remove(): /*elided*/ any;
|
|
1658
1586
|
onConfig(conf: import("maptalks").ClassOptions): void;
|
|
1587
|
+
config(options: import("maptalks").ControlOptionsType): /*elided*/ any;
|
|
1588
|
+
config<K extends keyof import("maptalks").ControlOptionsType>(conf: K, value: import("maptalks").ControlOptionsType[K]): /*elided*/ any;
|
|
1589
|
+
config(): import("maptalks").ControlOptionsType;
|
|
1659
1590
|
_eventMap?: Record<string, {
|
|
1660
1591
|
handler: import("maptalks").HandlerFn;
|
|
1661
1592
|
context: any;
|
|
@@ -1682,7 +1613,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1682
1613
|
callInitHooks(): /*elided*/ any;
|
|
1683
1614
|
_setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
1684
1615
|
setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
1685
|
-
config(conf?: string | import("maptalks").ClassOptions, value?: any): /*elided*/ any | import("maptalks").ClassOptions;
|
|
1686
1616
|
};
|
|
1687
1617
|
getContainerPoint: () => import("maptalks").Point;
|
|
1688
1618
|
getContainer: () => HTMLElement;
|
|
@@ -1707,6 +1637,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1707
1637
|
isVisible(): boolean;
|
|
1708
1638
|
remove(): /*elided*/ any;
|
|
1709
1639
|
onConfig(conf: import("maptalks").ClassOptions): void;
|
|
1640
|
+
config(options: import("maptalks").ControlOptionsType): /*elided*/ any;
|
|
1641
|
+
config<K extends keyof import("maptalks").ControlOptionsType>(conf: K, value: import("maptalks").ControlOptionsType[K]): /*elided*/ any;
|
|
1642
|
+
config(): import("maptalks").ControlOptionsType;
|
|
1710
1643
|
_eventMap?: Record<string, {
|
|
1711
1644
|
handler: import("maptalks").HandlerFn;
|
|
1712
1645
|
context: any;
|
|
@@ -1733,7 +1666,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1733
1666
|
callInitHooks(): /*elided*/ any;
|
|
1734
1667
|
_setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
1735
1668
|
setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
1736
|
-
config(conf?: string | import("maptalks").ClassOptions, value?: any): /*elided*/ any | import("maptalks").ClassOptions;
|
|
1737
1669
|
};
|
|
1738
1670
|
hide: () => {
|
|
1739
1671
|
buildOn(): HTMLDivElement;
|
|
@@ -1755,6 +1687,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1755
1687
|
isVisible(): boolean;
|
|
1756
1688
|
remove(): /*elided*/ any;
|
|
1757
1689
|
onConfig(conf: import("maptalks").ClassOptions): void;
|
|
1690
|
+
config(options: import("maptalks").ControlOptionsType): /*elided*/ any;
|
|
1691
|
+
config<K extends keyof import("maptalks").ControlOptionsType>(conf: K, value: import("maptalks").ControlOptionsType[K]): /*elided*/ any;
|
|
1692
|
+
config(): import("maptalks").ControlOptionsType;
|
|
1758
1693
|
_eventMap?: Record<string, {
|
|
1759
1694
|
handler: import("maptalks").HandlerFn;
|
|
1760
1695
|
context: any;
|
|
@@ -1781,7 +1716,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1781
1716
|
callInitHooks(): /*elided*/ any;
|
|
1782
1717
|
_setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
1783
1718
|
setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
1784
|
-
config(conf?: string | import("maptalks").ClassOptions, value?: any): /*elided*/ any | import("maptalks").ClassOptions;
|
|
1785
1719
|
};
|
|
1786
1720
|
isVisible: () => boolean;
|
|
1787
1721
|
remove: () => {
|
|
@@ -1804,6 +1738,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1804
1738
|
isVisible(): boolean;
|
|
1805
1739
|
remove(): /*elided*/ any;
|
|
1806
1740
|
onConfig(conf: import("maptalks").ClassOptions): void;
|
|
1741
|
+
config(options: import("maptalks").ControlOptionsType): /*elided*/ any;
|
|
1742
|
+
config<K extends keyof import("maptalks").ControlOptionsType>(conf: K, value: import("maptalks").ControlOptionsType[K]): /*elided*/ any;
|
|
1743
|
+
config(): import("maptalks").ControlOptionsType;
|
|
1807
1744
|
_eventMap?: Record<string, {
|
|
1808
1745
|
handler: import("maptalks").HandlerFn;
|
|
1809
1746
|
context: any;
|
|
@@ -1830,9 +1767,111 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1830
1767
|
callInitHooks(): /*elided*/ any;
|
|
1831
1768
|
_setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
1832
1769
|
setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
1833
|
-
config(conf?: string | import("maptalks").ClassOptions, value?: any): /*elided*/ any | import("maptalks").ClassOptions;
|
|
1834
1770
|
};
|
|
1835
1771
|
onConfig: (conf: import("maptalks").ClassOptions) => void;
|
|
1772
|
+
config: {
|
|
1773
|
+
(options: import("maptalks").ControlOptionsType): {
|
|
1774
|
+
buildOn(): HTMLDivElement;
|
|
1775
|
+
getContent(): string | HTMLElement;
|
|
1776
|
+
setContent(content: string | HTMLElement): /*elided*/ any;
|
|
1777
|
+
onAdd(): void;
|
|
1778
|
+
onRemove(): void;
|
|
1779
|
+
options: import("maptalks").ControlOptionsType & import("maptalks").AttributionOptionsTypeSpec;
|
|
1780
|
+
addTo(map: import("maptalks").Map): /*elided*/ any;
|
|
1781
|
+
update(): /*elided*/ any;
|
|
1782
|
+
getMap(): import("maptalks").Map;
|
|
1783
|
+
getPosition(): import("maptalks").DomPositionType;
|
|
1784
|
+
setPosition(position: import("maptalks").ControlPositionType): /*elided*/ any;
|
|
1785
|
+
getContainerPoint(): import("maptalks").Point;
|
|
1786
|
+
getContainer(): HTMLElement;
|
|
1787
|
+
getDOM(): HTMLElement;
|
|
1788
|
+
show(): /*elided*/ any;
|
|
1789
|
+
hide(): /*elided*/ any;
|
|
1790
|
+
isVisible(): boolean;
|
|
1791
|
+
remove(): /*elided*/ any;
|
|
1792
|
+
onConfig(conf: import("maptalks").ClassOptions): void;
|
|
1793
|
+
config(options: import("maptalks").ControlOptionsType): /*elided*/ any;
|
|
1794
|
+
config<K extends keyof import("maptalks").ControlOptionsType>(conf: K, value: import("maptalks").ControlOptionsType[K]): /*elided*/ any;
|
|
1795
|
+
config(): import("maptalks").ControlOptionsType;
|
|
1796
|
+
_eventMap?: Record<string, {
|
|
1797
|
+
handler: import("maptalks").HandlerFn;
|
|
1798
|
+
context: any;
|
|
1799
|
+
}[]>;
|
|
1800
|
+
_eventParent?: any;
|
|
1801
|
+
_eventTarget?: any;
|
|
1802
|
+
on(eventsOn: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
1803
|
+
addEventListener(...args: any[]): any;
|
|
1804
|
+
once(eventTypes: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
1805
|
+
off(eventsOff: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
1806
|
+
removeEventListener(...args: any[]): any;
|
|
1807
|
+
listens(eventType: string, handler?: import("maptalks").HandlerFn, context?: any): number;
|
|
1808
|
+
getListeningEvents(): string[];
|
|
1809
|
+
copyEventListeners(target: any): any;
|
|
1810
|
+
fire(eventType: string, param?: import("maptalks").BaseEventParamsType): any;
|
|
1811
|
+
_wrapOnceHandler(evtType: string, handler: import("maptalks").HandlerFn, context?: any): (...args: any[]) => void;
|
|
1812
|
+
_switch(to: string, eventRecords: import("maptalks").EventRecords, context?: any): any;
|
|
1813
|
+
_clearListeners(eventType: string): void;
|
|
1814
|
+
_clearAllListeners(): void;
|
|
1815
|
+
_setEventParent(parent: any): any;
|
|
1816
|
+
_setEventTarget(target: any): any;
|
|
1817
|
+
_fire(eventType: string, param: import("maptalks").BaseEventParamsType): any;
|
|
1818
|
+
proxyOptions(): /*elided*/ any;
|
|
1819
|
+
callInitHooks(): /*elided*/ any;
|
|
1820
|
+
_setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
1821
|
+
setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
1822
|
+
};
|
|
1823
|
+
<K extends keyof import("maptalks").ControlOptionsType>(conf: K, value: import("maptalks").ControlOptionsType[K]): {
|
|
1824
|
+
buildOn(): HTMLDivElement;
|
|
1825
|
+
getContent(): string | HTMLElement;
|
|
1826
|
+
setContent(content: string | HTMLElement): /*elided*/ any;
|
|
1827
|
+
onAdd(): void;
|
|
1828
|
+
onRemove(): void;
|
|
1829
|
+
options: import("maptalks").ControlOptionsType & import("maptalks").AttributionOptionsTypeSpec;
|
|
1830
|
+
addTo(map: import("maptalks").Map): /*elided*/ any;
|
|
1831
|
+
update(): /*elided*/ any;
|
|
1832
|
+
getMap(): import("maptalks").Map;
|
|
1833
|
+
getPosition(): import("maptalks").DomPositionType;
|
|
1834
|
+
setPosition(position: import("maptalks").ControlPositionType): /*elided*/ any;
|
|
1835
|
+
getContainerPoint(): import("maptalks").Point;
|
|
1836
|
+
getContainer(): HTMLElement;
|
|
1837
|
+
getDOM(): HTMLElement;
|
|
1838
|
+
show(): /*elided*/ any;
|
|
1839
|
+
hide(): /*elided*/ any;
|
|
1840
|
+
isVisible(): boolean;
|
|
1841
|
+
remove(): /*elided*/ any;
|
|
1842
|
+
onConfig(conf: import("maptalks").ClassOptions): void;
|
|
1843
|
+
config(options: import("maptalks").ControlOptionsType): /*elided*/ any;
|
|
1844
|
+
config<K extends keyof import("maptalks").ControlOptionsType>(conf: K, value: import("maptalks").ControlOptionsType[K]): /*elided*/ any;
|
|
1845
|
+
config(): import("maptalks").ControlOptionsType;
|
|
1846
|
+
_eventMap?: Record<string, {
|
|
1847
|
+
handler: import("maptalks").HandlerFn;
|
|
1848
|
+
context: any;
|
|
1849
|
+
}[]>;
|
|
1850
|
+
_eventParent?: any;
|
|
1851
|
+
_eventTarget?: any;
|
|
1852
|
+
on(eventsOn: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
1853
|
+
addEventListener(...args: any[]): any;
|
|
1854
|
+
once(eventTypes: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
1855
|
+
off(eventsOff: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
1856
|
+
removeEventListener(...args: any[]): any;
|
|
1857
|
+
listens(eventType: string, handler?: import("maptalks").HandlerFn, context?: any): number;
|
|
1858
|
+
getListeningEvents(): string[];
|
|
1859
|
+
copyEventListeners(target: any): any;
|
|
1860
|
+
fire(eventType: string, param?: import("maptalks").BaseEventParamsType): any;
|
|
1861
|
+
_wrapOnceHandler(evtType: string, handler: import("maptalks").HandlerFn, context?: any): (...args: any[]) => void;
|
|
1862
|
+
_switch(to: string, eventRecords: import("maptalks").EventRecords, context?: any): any;
|
|
1863
|
+
_clearListeners(eventType: string): void;
|
|
1864
|
+
_clearAllListeners(): void;
|
|
1865
|
+
_setEventParent(parent: any): any;
|
|
1866
|
+
_setEventTarget(target: any): any;
|
|
1867
|
+
_fire(eventType: string, param: import("maptalks").BaseEventParamsType): any;
|
|
1868
|
+
proxyOptions(): /*elided*/ any;
|
|
1869
|
+
callInitHooks(): /*elided*/ any;
|
|
1870
|
+
_setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
1871
|
+
setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
1872
|
+
};
|
|
1873
|
+
(): import("maptalks").ControlOptionsType;
|
|
1874
|
+
};
|
|
1836
1875
|
_eventMap?: Record<string, {
|
|
1837
1876
|
handler: import("maptalks").HandlerFn;
|
|
1838
1877
|
context: any;
|
|
@@ -1875,6 +1914,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1875
1914
|
isVisible(): boolean;
|
|
1876
1915
|
remove(): /*elided*/ any;
|
|
1877
1916
|
onConfig(conf: import("maptalks").ClassOptions): void;
|
|
1917
|
+
config(options: import("maptalks").ControlOptionsType): /*elided*/ any;
|
|
1918
|
+
config<K extends keyof import("maptalks").ControlOptionsType>(conf: K, value: import("maptalks").ControlOptionsType[K]): /*elided*/ any;
|
|
1919
|
+
config(): import("maptalks").ControlOptionsType;
|
|
1878
1920
|
_eventMap?: Record<string, {
|
|
1879
1921
|
handler: import("maptalks").HandlerFn;
|
|
1880
1922
|
context: any;
|
|
@@ -1901,7 +1943,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1901
1943
|
callInitHooks(): /*elided*/ any;
|
|
1902
1944
|
_setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
1903
1945
|
setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
1904
|
-
config(conf?: string | import("maptalks").ClassOptions, value?: any): /*elided*/ any | import("maptalks").ClassOptions;
|
|
1905
1946
|
};
|
|
1906
1947
|
callInitHooks: () => {
|
|
1907
1948
|
buildOn(): HTMLDivElement;
|
|
@@ -1923,6 +1964,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1923
1964
|
isVisible(): boolean;
|
|
1924
1965
|
remove(): /*elided*/ any;
|
|
1925
1966
|
onConfig(conf: import("maptalks").ClassOptions): void;
|
|
1967
|
+
config(options: import("maptalks").ControlOptionsType): /*elided*/ any;
|
|
1968
|
+
config<K extends keyof import("maptalks").ControlOptionsType>(conf: K, value: import("maptalks").ControlOptionsType[K]): /*elided*/ any;
|
|
1969
|
+
config(): import("maptalks").ControlOptionsType;
|
|
1926
1970
|
_eventMap?: Record<string, {
|
|
1927
1971
|
handler: import("maptalks").HandlerFn;
|
|
1928
1972
|
context: any;
|
|
@@ -1949,7 +1993,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1949
1993
|
callInitHooks(): /*elided*/ any;
|
|
1950
1994
|
_setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
1951
1995
|
setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
1952
|
-
config(conf?: string | import("maptalks").ClassOptions, value?: any): /*elided*/ any | import("maptalks").ClassOptions;
|
|
1953
1996
|
};
|
|
1954
1997
|
_setOptions: (options: import("maptalks").ClassOptions) => {
|
|
1955
1998
|
buildOn(): HTMLDivElement;
|
|
@@ -1971,6 +2014,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1971
2014
|
isVisible(): boolean;
|
|
1972
2015
|
remove(): /*elided*/ any;
|
|
1973
2016
|
onConfig(conf: import("maptalks").ClassOptions): void;
|
|
2017
|
+
config(options: import("maptalks").ControlOptionsType): /*elided*/ any;
|
|
2018
|
+
config<K extends keyof import("maptalks").ControlOptionsType>(conf: K, value: import("maptalks").ControlOptionsType[K]): /*elided*/ any;
|
|
2019
|
+
config(): import("maptalks").ControlOptionsType;
|
|
1974
2020
|
_eventMap?: Record<string, {
|
|
1975
2021
|
handler: import("maptalks").HandlerFn;
|
|
1976
2022
|
context: any;
|
|
@@ -1997,7 +2043,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1997
2043
|
callInitHooks(): /*elided*/ any;
|
|
1998
2044
|
_setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
1999
2045
|
setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
2000
|
-
config(conf?: string | import("maptalks").ClassOptions, value?: any): /*elided*/ any | import("maptalks").ClassOptions;
|
|
2001
2046
|
};
|
|
2002
2047
|
setOptions: (options: import("maptalks").ClassOptions) => {
|
|
2003
2048
|
buildOn(): HTMLDivElement;
|
|
@@ -2019,6 +2064,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2019
2064
|
isVisible(): boolean;
|
|
2020
2065
|
remove(): /*elided*/ any;
|
|
2021
2066
|
onConfig(conf: import("maptalks").ClassOptions): void;
|
|
2067
|
+
config(options: import("maptalks").ControlOptionsType): /*elided*/ any;
|
|
2068
|
+
config<K extends keyof import("maptalks").ControlOptionsType>(conf: K, value: import("maptalks").ControlOptionsType[K]): /*elided*/ any;
|
|
2069
|
+
config(): import("maptalks").ControlOptionsType;
|
|
2022
2070
|
_eventMap?: Record<string, {
|
|
2023
2071
|
handler: import("maptalks").HandlerFn;
|
|
2024
2072
|
context: any;
|
|
@@ -2045,57 +2093,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2045
2093
|
callInitHooks(): /*elided*/ any;
|
|
2046
2094
|
_setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
2047
2095
|
setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
2048
|
-
config(conf?: string | import("maptalks").ClassOptions, value?: any): /*elided*/ any | import("maptalks").ClassOptions;
|
|
2049
2096
|
};
|
|
2050
|
-
config: (conf?: string | import("maptalks").ClassOptions, value?: any) => {
|
|
2051
|
-
buildOn(): HTMLDivElement;
|
|
2052
|
-
getContent(): string | HTMLElement;
|
|
2053
|
-
setContent(content: string | HTMLElement): /*elided*/ any;
|
|
2054
|
-
onAdd(): void;
|
|
2055
|
-
onRemove(): void;
|
|
2056
|
-
options: import("maptalks").ControlOptionsType & import("maptalks").AttributionOptionsTypeSpec;
|
|
2057
|
-
addTo(map: import("maptalks").Map): /*elided*/ any;
|
|
2058
|
-
update(): /*elided*/ any;
|
|
2059
|
-
getMap(): import("maptalks").Map;
|
|
2060
|
-
getPosition(): import("maptalks").DomPositionType;
|
|
2061
|
-
setPosition(position: import("maptalks").ControlPositionType): /*elided*/ any;
|
|
2062
|
-
getContainerPoint(): import("maptalks").Point;
|
|
2063
|
-
getContainer(): HTMLElement;
|
|
2064
|
-
getDOM(): HTMLElement;
|
|
2065
|
-
show(): /*elided*/ any;
|
|
2066
|
-
hide(): /*elided*/ any;
|
|
2067
|
-
isVisible(): boolean;
|
|
2068
|
-
remove(): /*elided*/ any;
|
|
2069
|
-
onConfig(conf: import("maptalks").ClassOptions): void;
|
|
2070
|
-
_eventMap?: Record<string, {
|
|
2071
|
-
handler: import("maptalks").HandlerFn;
|
|
2072
|
-
context: any;
|
|
2073
|
-
}[]>;
|
|
2074
|
-
_eventParent?: any;
|
|
2075
|
-
_eventTarget?: any;
|
|
2076
|
-
on(eventsOn: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
2077
|
-
addEventListener(...args: any[]): any;
|
|
2078
|
-
once(eventTypes: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
2079
|
-
off(eventsOff: string | import("maptalks").EventRecords, handler: import("maptalks").HandlerFn, context?: any): any;
|
|
2080
|
-
removeEventListener(...args: any[]): any;
|
|
2081
|
-
listens(eventType: string, handler?: import("maptalks").HandlerFn, context?: any): number;
|
|
2082
|
-
getListeningEvents(): string[];
|
|
2083
|
-
copyEventListeners(target: any): any;
|
|
2084
|
-
fire(eventType: string, param?: import("maptalks").BaseEventParamsType): any;
|
|
2085
|
-
_wrapOnceHandler(evtType: string, handler: import("maptalks").HandlerFn, context?: any): (...args: any[]) => void;
|
|
2086
|
-
_switch(to: string, eventRecords: import("maptalks").EventRecords, context?: any): any;
|
|
2087
|
-
_clearListeners(eventType: string): void;
|
|
2088
|
-
_clearAllListeners(): void;
|
|
2089
|
-
_setEventParent(parent: any): any;
|
|
2090
|
-
_setEventTarget(target: any): any;
|
|
2091
|
-
_fire(eventType: string, param: import("maptalks").BaseEventParamsType): any;
|
|
2092
|
-
proxyOptions(): /*elided*/ any;
|
|
2093
|
-
callInitHooks(): /*elided*/ any;
|
|
2094
|
-
_setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
2095
|
-
setOptions(options: import("maptalks").ClassOptions): /*elided*/ any;
|
|
2096
|
-
config(conf?: string | import("maptalks").ClassOptions, value?: any): /*elided*/ any | import("maptalks").ClassOptions;
|
|
2097
|
-
} | import("maptalks").ClassOptions;
|
|
2098
2097
|
} | undefined;
|
|
2098
|
+
id: number;
|
|
2099
2099
|
isLoaded: () => boolean;
|
|
2100
2100
|
getContainer: () => HTMLCanvasElement | HTMLDivElement;
|
|
2101
2101
|
getSpatialReference: () => import("maptalks").SpatialReference;
|
|
@@ -2136,6 +2136,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2136
2136
|
setCenterAndZoom: (center: import("maptalks").Coordinate, zoom?: number) => import("maptalks").Map;
|
|
2137
2137
|
getFitZoom: (extent: import("maptalks").Extent, isFraction?: boolean, padding?: import("maptalks").MapPaddingType) => number;
|
|
2138
2138
|
getView: () => import("maptalks").MapViewType;
|
|
2139
|
+
stringifyView: () => string;
|
|
2139
2140
|
setView: (view: import("maptalks").MapViewType) => import("maptalks").Map;
|
|
2140
2141
|
getResolution: (zoom?: number) => number;
|
|
2141
2142
|
getScale: (zoom?: number) => number;
|
|
@@ -2268,6 +2269,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2268
2269
|
coordinatesToContainerPoints: (coordinates: Array<import("maptalks").Coordinate>, zoom?: number) => Array<import("maptalks").Point>;
|
|
2269
2270
|
coordinatesToContainerPointsAtRes: (coordinates: Array<import("maptalks").Coordinate>, res?: number) => Array<import("maptalks").Point>;
|
|
2270
2271
|
containerPointToCoordinate: (containerPoint: import("maptalks").Point, out?: import("maptalks").Coordinate) => import("maptalks").Coordinate;
|
|
2272
|
+
containerPointToCoordinate3: (containerPoint: import("maptalks").Point, altitude?: number, out?: import("maptalks").Coordinate) => import("maptalks").Coordinate;
|
|
2271
2273
|
containerToExtent: (containerExtent: import("maptalks").PointExtent) => import("maptalks").Extent;
|
|
2272
2274
|
distanceToPixel: (xDist: number, yDist: number, zoom?: number) => import("maptalks").Size;
|
|
2273
2275
|
distanceToPoint: (xDist: number, yDist: number, zoom?: number, paramCenter?: import("maptalks").Coordinate) => import("maptalks").Point;
|
|
@@ -2288,6 +2290,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2288
2290
|
prjToViewPoint: (pCoordinate: import("maptalks").Coordinate, out?: import("maptalks").Point, altitude?: number) => import("maptalks").Point;
|
|
2289
2291
|
viewPointToPoint: (viewPoint: import("maptalks").Point, zoom?: number, out?: import("maptalks").Point) => import("maptalks").Point;
|
|
2290
2292
|
pointToViewPoint: (point: import("maptalks").Point, zoom?: number, out?: import("maptalks").Point) => import("maptalks").Point;
|
|
2293
|
+
config: {
|
|
2294
|
+
(options: import("maptalks").MapOptionsType): import("maptalks").Map;
|
|
2295
|
+
<K extends keyof import("maptalks").MapOptionsType>(conf: K, value: import("maptalks").MapOptionsType[K]): import("maptalks").Map;
|
|
2296
|
+
(): import("maptalks").MapOptionsType;
|
|
2297
|
+
};
|
|
2291
2298
|
_handlers?: {
|
|
2292
2299
|
target: any;
|
|
2293
2300
|
dom?: HTMLElement | undefined;
|
|
@@ -2349,7 +2356,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2349
2356
|
callInitHooks: () => import("maptalks").Map;
|
|
2350
2357
|
_setOptions: (options: import("maptalks").ClassOptions) => import("maptalks").Map;
|
|
2351
2358
|
setOptions: (options: import("maptalks").ClassOptions) => import("maptalks").Map;
|
|
2352
|
-
config: (conf?: string | import("maptalks").ClassOptions, value?: any) => import("maptalks").Map | import("maptalks").ClassOptions;
|
|
2353
2359
|
setMenu: (options: import("maptalks").MenuOptionsType) => import("maptalks").Map;
|
|
2354
2360
|
getMenu: () => {
|
|
2355
2361
|
options: import("maptalks").MenuOptionsType;
|
|
@@ -2433,6 +2439,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2433
2439
|
setLatestInfoWindowInternal: (infoWindow: import("tg-map-core").InfoWindowOverlay) => void;
|
|
2434
2440
|
fromContainerPointToLatLng: (point: import("tg-map-core").Point) => LatLng;
|
|
2435
2441
|
fromLatLngToContainerPoint: (latLng: LatLng) => import("tg-map-core").Point;
|
|
2442
|
+
setHideLogo: (hideLogo: boolean) => void;
|
|
2443
|
+
setFractionalZoom: (enabled: boolean) => void;
|
|
2436
2444
|
setDefaultCursor: (cursor: import("csstype").Property.Cursor) => void;
|
|
2437
2445
|
setDraggable: (draggable: boolean) => void;
|
|
2438
2446
|
setDoubleClickZoom: (enable: boolean) => void;
|
|
@@ -2475,7 +2483,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2475
2483
|
createMapTypeControl: (options: import("tg-map-core").MapTypeControlOptions) => import("tg-map-core").MapTypeControl;
|
|
2476
2484
|
createZoomControl: (options: import("tg-map-core").ZoomControlOptions) => import("tg-map-core").ZoomControl;
|
|
2477
2485
|
createStreetViewControl: (options: import("tg-map-core").StreetViewControlOptions) => import("tg-map-core").StreetViewControl;
|
|
2478
|
-
createScaleControl: (options: import("tg-map-core").ScaleControlOptions) => import("tg-map-core").
|
|
2486
|
+
createScaleControl: (options: import("tg-map-core").ScaleControlOptions) => import("tg-map-core").ScaleControl;
|
|
2479
2487
|
addControl: (control: import("tg-map-core").AbstractControl) => void;
|
|
2480
2488
|
removeControl: (control: import("tg-map-core").AbstractControl) => void;
|
|
2481
2489
|
getZoom: () => number;
|
|
@@ -5,11 +5,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
5
5
|
type: import("vue").PropType<import("tg-map-core").StringEnumValue<typeof ControlPosition>>;
|
|
6
6
|
default: ControlPosition;
|
|
7
7
|
};
|
|
8
|
+
showZoomLevel: {
|
|
9
|
+
type: import("vue").PropType<boolean>;
|
|
10
|
+
};
|
|
8
11
|
}>, typeof createEmptyVNode, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
9
12
|
position: {
|
|
10
13
|
type: import("vue").PropType<import("tg-map-core").StringEnumValue<typeof ControlPosition>>;
|
|
11
14
|
default: ControlPosition;
|
|
12
15
|
};
|
|
16
|
+
showZoomLevel: {
|
|
17
|
+
type: import("vue").PropType<boolean>;
|
|
18
|
+
};
|
|
13
19
|
}>> & Readonly<{}>, {
|
|
14
20
|
position: import("tg-map-core").StringEnumValue<typeof ControlPosition>;
|
|
15
21
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -10,6 +10,7 @@ declare const TgInfoBox: import("vue").DefineComponent<{
|
|
|
10
10
|
position?: LatLng | undefined;
|
|
11
11
|
maxWidth?: number | undefined;
|
|
12
12
|
offset?: any;
|
|
13
|
+
disableAutoPan?: boolean | undefined;
|
|
13
14
|
'onUpdate:show'?: (import("tg-map-core").EventCallback<boolean> & ((event: boolean) => any)) | undefined;
|
|
14
15
|
borderClass?: string | undefined;
|
|
15
16
|
}, {
|
|
@@ -33,6 +34,7 @@ declare const TgInfoBox: import("vue").DefineComponent<{
|
|
|
33
34
|
position?: LatLng | undefined;
|
|
34
35
|
maxWidth?: number | undefined;
|
|
35
36
|
offset?: any;
|
|
37
|
+
disableAutoPan?: boolean | undefined;
|
|
36
38
|
'onUpdate:show'?: (import("tg-map-core").EventCallback<boolean> & ((event: boolean) => any)) | undefined;
|
|
37
39
|
borderClass?: string | undefined;
|
|
38
40
|
}> & Readonly<{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tg-map-vue3",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.5",
|
|
4
4
|
"author": "ipcjs",
|
|
5
5
|
"description": "封装 百度地图, Google地图, Here地图(未完成) 的Vue3组件库",
|
|
6
6
|
"keywords": [
|
|
@@ -41,11 +41,13 @@
|
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@types/baidumap-web-sdk": "0.0.11",
|
|
44
|
+
"@types/bmapgl-browser": "github:TranscodeGroup/DefinitelyTyped#path:/types/bmapgl-browser&9ed2593293c552e55d3defc8ca17d13d5f37cf5b",
|
|
44
45
|
"@types/google.maps": "3.51.1",
|
|
45
46
|
"@types/heremaps": "3.0.14",
|
|
46
|
-
"
|
|
47
|
-
"maptalks": "
|
|
48
|
-
"tg-
|
|
47
|
+
"maptalks": "^1.7.1",
|
|
48
|
+
"maptalks.markercluster": "0.8.8",
|
|
49
|
+
"tg-commons": "^1.2.8",
|
|
50
|
+
"tg-map-core": "4.1.5"
|
|
49
51
|
},
|
|
50
52
|
"peerDependencies": {
|
|
51
53
|
"vue": "^3.5.16"
|