@mesh3d/cesium-vectortile-gl 0.4.6 → 0.5.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mesh3d/cesium-vectortile-gl",
3
- "version": "0.4.6",
3
+ "version": "0.5.1",
4
4
  "description": "CesiumJS 矢量瓦片渲染库",
5
5
  "main": "dist/cvt-gl.js",
6
6
  "module": "index.js",
@@ -19,16 +19,9 @@
19
19
  "test": "echo \"Error: no test specified\" && exit 1"
20
20
  },
21
21
  "lint-staged": {
22
- "*.js": [
23
- "eslint --fix",
24
- "prettier --write"
25
- ],
26
- "*.{json,jsonc,geojson,md,html,css,less,yml,yaml}": [
27
- "prettier --write"
28
- ],
29
- "*.{mjs,cjs}": [
30
- "prettier --write"
31
- ]
22
+ "*.js": ["eslint --fix", "prettier --write"],
23
+ "*.{json,jsonc,geojson,md,html,css,less,yml,yaml}": ["prettier --write"],
24
+ "*.{mjs,cjs}": ["prettier --write"]
32
25
  },
33
26
  "repository": {
34
27
  "type": "git",
@@ -58,7 +51,5 @@
58
51
  "maplibre-gl": "^5.15.0",
59
52
  "pbf": "^4.0.1"
60
53
  },
61
- "maintainers": [
62
- "weixiuyong"
63
- ]
64
- }
54
+ "maintainers": ["weixiuyong"]
55
+ }
@@ -0,0 +1,26 @@
1
+ <html lang="zh-cn">
2
+ <head>
3
+ <meta charset="UTF-8" />
4
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
5
+ <title>样式修改示例 — CesiumJS 开源矢量瓦片渲染库</title>
6
+ <link rel="shortcut icon" href="./logo.svg" type="image/svg" />
7
+ <link
8
+ rel="stylesheet"
9
+ href="./node_modules/cesium/Build/Cesium/Widgets/widgets.css"
10
+ />
11
+ <script src="./node_modules/cesium/Build/CesiumUnminified/Cesium.js"></script>
12
+ <style>
13
+ html,
14
+ body {
15
+ width: 100%;
16
+ height: 100%;
17
+ margin: 0;
18
+ padding: 0;
19
+ }
20
+ </style>
21
+ </head>
22
+
23
+ <body>
24
+ <script type="module" src="./examples/style-edit.js"></script>
25
+ </body>
26
+ </html>