sat-earth 1.0.2 → 1.0.4

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/README.md CHANGED
@@ -14,7 +14,7 @@
14
14
  - 地图部件(`SatMapPart`)组件
15
15
  - 搜索定位(`SatLocation`)组件
16
16
  - 量测工具(`SatMeasure`)组件
17
- - 图上标绘(`SatPlo
17
+ - 图上标绘(`SatPlot`)组件
18
18
  - 出图工具(`SatPicture`)组件
19
19
  - 空间分析(`SatSpatialAnalysis`)组件
20
20
 
@@ -40,14 +40,15 @@
40
40
  - 各类以`Chrominum`为核心的第三方浏览器,如360浏览器,傲游浏览器等
41
41
  - IOS,安卓及鸿蒙操作系统上的现代手机浏览器
42
42
  - 微信或手机QQ上的浏览器
43
- ::: warning
44
- 同Vue3一样不支持IE浏览器(包括`IE11`),主要考虑到以下几个原因:
45
- - `IE`不支持最新的Javascript标准,极大的增加了工程的开发和维护难度
46
- - `IE11`的WebGL性能很弱
47
- - `IE`不支持`WASM`,很多基于WASM的功能或优化都无法支持
48
- - `IE`的市场占有率极低,自2022年6月15日起,`IE11`停止维护
49
- :::
50
-
51
- ## 文档地址
43
+
44
+ 同Vue3一样不支持IE浏览器(包括`IE11`),主要考虑到以下几个原因:
45
+ - `IE`不支持最新的Javascript标准,极大的增加了工程的开发和维护难度
46
+ - `IE11`的WebGL性能很弱
47
+ - `IE`不支持`WASM`,很多基于WASM的功能或优化都无法支持
48
+ - `IE`的市场占有率极低,自2022年6月15日起,`IE11`停止维护
49
+
50
+ ## 相关地址
51
+ - [SatEarth仓库](https://gitee.com/gengkaibo/sat-earth)
52
52
  - [SatEarth在线文档](http://114.115.163.131:8888/sat-earth-docs/)
53
+ - [SatEarth在线体验](http://114.115.163.131:8888/)
53
54
 
@@ -31,5 +31,5 @@ declare const SatGlobe: import('../../utils/installer').SFCWithInstall<import("v
31
31
  export { SatGlobeSFC, SatGlobe };
32
32
  export default SatGlobe;
33
33
  export interface SatGlobeExpose {
34
- getInstance: (eleId?: string) => SatMap | undefined;
34
+ getInstance: () => SatMap | undefined;
35
35
  }
@@ -0,0 +1 @@
1
+ export declare function cloneCanvas(source: HTMLCanvasElement): HTMLCanvasElement;
@@ -23,7 +23,7 @@ export declare class SatMap {
23
23
  plot: Plot | undefined;
24
24
  spatialAnalysis: SpatialAnalysis | undefined;
25
25
  constructor(satGlobeEleId: string, mapContainerEleId: string, options: SatMapOptions, viewer?: mars3d.Cesium.Viewer);
26
- inited(): Promise<boolean>;
26
+ inited(): Promise<SatMap>;
27
27
  destroy(eleId?: string): void;
28
28
  downLoadScreenShot(options?: {
29
29
  isIncludeDiv?: boolean;