ino-cesium 0.0.11 → 0.0.13

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
@@ -11,7 +11,16 @@
11
11
 
12
12
  ## 安装
13
13
  ```shell
14
- npnm install cesium ino-cesium
14
+ pnpm install cesium ino-cesium
15
+
16
+ // vite
17
+ pnpm install vite-plugin-cesiumjs
18
+ import Cesiumjs from 'vite-plugin-cesiumjs'
19
+
20
+ plugins: [
21
+ Cesiumjs(),
22
+ ],
23
+
15
24
  ```
16
25
 
17
26
  ## 创建cesium
@@ -0,0 +1,90 @@
1
+
2
+ .cesium-widget {
3
+ position: relative;
4
+ }
5
+ /**---------tooltip start---------**/
6
+ .twipsy {
7
+ display: none;
8
+ position: absolute;
9
+ visibility: visible;
10
+ max-width: 300px;
11
+ min-width: 100px;
12
+ padding: 5px;
13
+ font-size: 12px;
14
+ z-index: 1000;
15
+ }
16
+
17
+ .twipsy-inner {
18
+ padding: 3px 8px;
19
+ background-color: rgba(117, 117, 117, 0.8);
20
+ color: white;
21
+ text-align: left;
22
+ max-width: 300px;
23
+ text-decoration: none;
24
+ -webkit-border-radius: 4px;
25
+ -moz-border-radius: 4px;
26
+ border-radius: 4px;
27
+ border: 1px solid #aaa;
28
+ }
29
+
30
+ /**---------tooltip end---------**/
31
+
32
+ /**---------draw edit ui start---------**/
33
+ .draw-edit-ui {
34
+ position: fixed;
35
+ left: 0;
36
+ top: 0;
37
+ width: 132px;
38
+ height: 28px;
39
+ }
40
+
41
+ .draw-edit-icon {
42
+ width: 28px;
43
+ cursor: pointer;
44
+ background: rgba(255, 255, 255, 1);
45
+ border: 1px solid #1296db;
46
+ padding: 2px;
47
+ margin-right: 5px;
48
+ border-radius: 50%;
49
+ }
50
+
51
+ /**---------draw edit ui end---------**/
52
+
53
+ /**---------bottom status bar start---------**/
54
+ .bottom-status-bar {
55
+ position: absolute;
56
+ bottom: 0px;
57
+ display: flex;
58
+ width: 100%;
59
+ justify-content: space-between;
60
+ align-items: center;
61
+ z-index: 99999;
62
+ background: rgba(0, 0, 0, 0.4);
63
+ padding: 2px 8px;
64
+ pointer-events: none;
65
+ font-weight: bold;
66
+ height: 30px;
67
+
68
+ div {
69
+ color: #fff;
70
+ border-radius: 5px;
71
+ margin-right: 5px;
72
+ }
73
+ .scale-bar {
74
+ border: 2px solid #ffffff;
75
+ border-radius: 0px !important;
76
+ padding: 0 10px;
77
+ border-top: none !important;
78
+ height: 10px;
79
+ position: relative;
80
+ bottom: -6px;
81
+ display: flex;
82
+ justify-content: center;
83
+ }
84
+ .scale-label {
85
+ margin-top: -15px;
86
+ margin-right: 0px;
87
+ }
88
+ }
89
+
90
+ /**---------bottom status bar end---------**/
package/package.json CHANGED
@@ -1,14 +1,15 @@
1
1
  {
2
2
  "name": "ino-cesium",
3
3
  "type": "module",
4
- "version": "0.0.11",
4
+ "version": "0.0.13",
5
5
  "author": "koino",
6
6
  "keywords": [
7
7
  "cesium",
8
8
  "ino-cesium"
9
9
  ],
10
10
  "exports": {
11
- ".": "./dist/index.js"
11
+ ".": "./dist/index.js",
12
+ "./ino-css": "./dist/ino-cesium.css"
12
13
  },
13
14
  "typesVersions": {
14
15
  "*": {
@@ -19,6 +20,7 @@
19
20
  }
20
21
  },
21
22
  "files": [
23
+ "dist/*.css",
22
24
  "dist/*.d.ts",
23
25
  "dist/*.js",
24
26
  "README.MD"
@@ -27,13 +29,13 @@
27
29
  "access": "public"
28
30
  },
29
31
  "dependencies": {
30
- "@ino-cesium/analysis": "0.0.11",
31
- "@ino-cesium/common": "0.0.11",
32
- "@ino-cesium/draw": "0.0.11",
33
- "@ino-cesium/effects": "0.0.11",
34
- "@ino-cesium/layers": "0.0.11",
35
- "@ino-cesium/material": "0.0.11",
36
- "@ino-cesium/primitive": "0.0.11"
32
+ "@ino-cesium/analysis": "0.0.13",
33
+ "@ino-cesium/common": "0.0.13",
34
+ "@ino-cesium/draw": "0.0.13",
35
+ "@ino-cesium/effects": "0.0.13",
36
+ "@ino-cesium/layers": "0.0.13",
37
+ "@ino-cesium/material": "0.0.13",
38
+ "@ino-cesium/primitive": "0.0.13"
37
39
  },
38
40
  "types": "./dist/index.d.ts",
39
41
  "scripts": {