@xingm/vmap-cesium-toolbar 0.0.1-beta.7 → 0.0.1-beta.9

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.
@@ -1,4 +1,18 @@
1
1
  import { SearchResult } from '../libs/CesiumMapModel';
2
+ export declare const TD_Map_TOKEN: any;
3
+ export declare const China_Map_Bound = "73.5577,18.1597,135.0882,53.5609";
4
+ export declare const China_Map_Center: {
5
+ longitude: number;
6
+ latitude: number;
7
+ height: number;
8
+ };
9
+ export declare const China_Map_Extent: {
10
+ west: number;
11
+ south: number;
12
+ east: number;
13
+ north: number;
14
+ };
15
+ export declare const TD_Map_Search_URL: (keywords: string, mapConfig: any, token?: any) => string;
2
16
  export declare const useToolBarConfig: (message: any) => {
3
17
  toolbarConfig: {
4
18
  position: string;
@@ -17,6 +31,7 @@ export declare const useToolBarConfig: (message: any) => {
17
31
  borderColor: string;
18
32
  backgroundColor: string;
19
33
  activeIcon?: undefined;
34
+ callback?: undefined;
20
35
  } | {
21
36
  size: number;
22
37
  id: string;
@@ -26,6 +41,7 @@ export declare const useToolBarConfig: (message: any) => {
26
41
  backgroundColor: string;
27
42
  borderColor?: undefined;
28
43
  activeIcon?: undefined;
44
+ callback?: undefined;
29
45
  } | {
30
46
  size: number;
31
47
  id: string;
@@ -35,6 +51,17 @@ export declare const useToolBarConfig: (message: any) => {
35
51
  color: string;
36
52
  backgroundColor: string;
37
53
  borderColor?: undefined;
54
+ callback?: undefined;
55
+ } | {
56
+ size: number;
57
+ id: string;
58
+ icon: string;
59
+ title: string;
60
+ color: string;
61
+ borderColor: string;
62
+ backgroundColor: string;
63
+ callback: (isChecked: boolean, toolbar?: any) => void;
64
+ activeIcon?: undefined;
38
65
  })[];
39
66
  };
40
67
  toolbarCallback: {