@gis_victory/gismap 2.0.27 → 2.0.29

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/dist/index.d.ts CHANGED
@@ -5950,31 +5950,6 @@ declare interface QueryOptions {
5950
5950
  filter?: any[];
5951
5951
  }
5952
5952
 
5953
- declare class QuickSearchManager {
5954
- private map;
5955
- private markers;
5956
- private selectMarker;
5957
- private popup;
5958
- private callback;
5959
- private templateManager;
5960
- private popupManager;
5961
- constructor(map: any);
5962
- addFunction(callback: any): void;
5963
- add(options: {
5964
- uuid: string;
5965
- templateId: string;
5966
- geometry: any;
5967
- index: number;
5968
- properties: any;
5969
- }): void;
5970
- addGroup(options: {
5971
- data: any[];
5972
- }): void;
5973
- flyTo(uuid: string): void;
5974
- addPopup(): void;
5975
- clear(): void;
5976
- }
5977
-
5978
5953
  export declare class RadarManager {
5979
5954
  private adapter?;
5980
5955
  private id;
@@ -6035,20 +6010,6 @@ export declare interface RasterSource {
6035
6010
  bounds?: [number, number, number, number];
6036
6011
  }
6037
6012
 
6038
- declare interface SearchOptions {
6039
- limit?: number;
6040
- type?: string;
6041
- [key: string]: any;
6042
- }
6043
-
6044
- declare interface SearchResult {
6045
- uuid: string;
6046
- properties: any;
6047
- geometry: any;
6048
- index: number;
6049
- templateId: string;
6050
- }
6051
-
6052
6013
  /** 选中回调 */
6053
6014
  declare type SelectCallback = (feature: DrawFeature | null) => void;
6054
6015
 
@@ -6679,25 +6640,6 @@ export declare function useMarkers(): {
6679
6640
  getMarkersInBounds: (bounds: [[number, number], [number, number]]) => any;
6680
6641
  };
6681
6642
 
6682
- /**
6683
- * 地图搜索组合式函数
6684
- * 封装 QuickSearchManager 的功能
6685
- */
6686
- export declare function useSearch(): UseSearchReturn;
6687
-
6688
- export declare interface UseSearchReturn {
6689
- searchManager: QuickSearchManager | null;
6690
- keyword: string;
6691
- searching: boolean;
6692
- results: SearchResult[];
6693
- search: (keyword: string, options?: SearchOptions) => Promise<SearchResult[]>;
6694
- clearSearch: () => void;
6695
- selectResult: (result: SearchResult) => void;
6696
- history: string[];
6697
- addToHistory: (keyword: string) => void;
6698
- clearHistory: () => void;
6699
- }
6700
-
6701
6643
  /** 使用视图状态 */
6702
6644
  export declare function useViewState(): {
6703
6645
  view: ComputedRef<Readonly<Ref<{