@xingm/vmap-cesium-toolbar 0.0.7-alpha.0 → 0.0.7-alpha.2

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,7 +1,10 @@
1
1
  import { SearchResult } from '../libs/CesiumMapModel';
2
2
  import { Viewer } from '../../node_modules/cesium';
3
3
  import { Ref } from 'vue';
4
- export declare const useToolBarConfig: (viewer: Viewer | undefined, message: Ref<string>) => {
4
+ export declare const useToolBarConfig: (viewer: Viewer | undefined, message: Ref<string>, tdtAuth?: {
5
+ token?: string;
6
+ sk?: string;
7
+ }) => {
5
8
  toolbarConfig: {
6
9
  position: string;
7
10
  buttonSize: number;
@@ -11,4 +11,4 @@ export declare const China_Map_Extent: {
11
11
  east: number;
12
12
  north: number;
13
13
  };
14
- export declare const TD_Map_Search_URL: (keywords: string, mapConfig: any, token?: any) => string;
14
+ export declare const TD_Map_Search_URL: (keywords: string, mapConfig: any, token?: any, sk?: string) => string;
@@ -11,4 +11,4 @@ export declare const China_Map_Extent: {
11
11
  east: number;
12
12
  north: number;
13
13
  };
14
- export declare const TD_Map_Search_URL: (keywords: string, mapConfig: any, token?: any) => string;
14
+ export declare const TD_Map_Search_URL: (keywords: string, mapConfig: any, token?: any, sk?: string) => string;
package/dist/index.d.ts CHANGED
@@ -1,14 +1,17 @@
1
1
  import { CesiumMapToolbar } from './libs/CesiumMapToolbar';
2
+ import { CesiumMapMark } from './libs/CesiumMapMark';
2
3
  import { default as DrawHelper } from './libs/CesiumMapDraw';
3
4
  import { initCesium } from './libs/CesiumMapLoader';
4
5
  import { CesiumOverlayService } from './libs/CesiumOverlayService';
5
6
  import { default as CesiumHeatmapLayer } from './libs/CesiumHeatmapLayer';
6
7
  import { default as CesiumPointClusterLayer } from './libs/CesiumPointClusterLayer';
7
8
  export { CesiumMapToolbar } from './libs/CesiumMapToolbar';
9
+ export { CesiumMapMark } from './libs/CesiumMapMark';
8
10
  export { default as DrawHelper } from './libs/CesiumMapDraw';
9
11
  export { initCesium } from './libs/CesiumMapLoader';
10
12
  export { i18n } from './libs/i18n';
11
13
  export type { I18nLike } from './libs/i18n';
14
+ export type { CesiumMapMarkOptions, CesiumMapMarkCallbacks, CesiumMapMarkExportItem, CesiumMapDrawResult, CesiumMapMarkToolbarPosition, CesiumMapWorkAreaDrawResult, CesiumMapDrawType, CesiumMapWorkAreaType, CesiumMapWorkAreaKind, } from './libs/CesiumMapMark';
12
15
  export type { OverlayOptions, ToolbarConfig, ButtonConfig, CustomButtonConfig, SearchCallback, SearchResult, MeasurementCallback, ZoomCallback, MapType, } from './libs/CesiumMapModel';
13
16
  export * from './libs/overlay/index';
14
17
  export type * from './libs/overlay/index';
@@ -27,6 +30,7 @@ export type * from './libs/toolBar/MapToolBarConfig';
27
30
  export * from './libs/toolBar/NotFlyZonesService';
28
31
  export type * from './libs/toolBar/NotFlyZonesService';
29
32
  export * from './tdt/tdtPlugin';
33
+ export * from './tdt/tdtAuth';
30
34
  export * from './tdt/tdtProviders';
31
35
  export * from './tdt/tdtController';
32
36
  export { CesiumHeatmapLayer as HeatmapLayer };
@@ -35,6 +39,7 @@ export { CesiumPointClusterLayer as PointClusterLayer };
35
39
  export type { ClusterPoint, PointClusterLayerOptions, ClusterStyleStep } from './libs/CesiumPointClusterLayer';
36
40
  declare const _default: {
37
41
  CesiumMapToolbar: typeof CesiumMapToolbar;
42
+ CesiumMapMark: typeof CesiumMapMark;
38
43
  DrawHelper: typeof DrawHelper;
39
44
  CesiumOverlayService: typeof CesiumOverlayService;
40
45
  initCesium: typeof initCesium;