cesium_dev_kit 1.0.76 → 1.0.78
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 +30 -19
- package/dist/index.js +2 -2
- package/dist/index.min.js +2 -2
- package/dist/index.umd.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -53,16 +53,16 @@ The initialization of 'initCesium' allows for the acquisition of all extension m
|
|
|
53
53
|
|
|
54
54
|
### 1.1 The initCesium method configuration parameter list
|
|
55
55
|
|
|
56
|
-
| Property | Type | Description
|
|
57
|
-
| ---------------- | ------ |
|
|
58
|
-
| cesiumGlobal | Object | Cesium Object
|
|
59
|
-
| threeGlobal | Object | THREE Object
|
|
60
|
-
| containerId | String | Cesium mounts dom container id
|
|
61
|
-
| threeContainerId | String | Three mounts dom container id
|
|
62
|
-
| viewerConfig | Object | viewer base configuration (same as official website)
|
|
63
|
-
| extreaConfig | Object | Configure additional parameters, such as {logo: true// Whether to display logo
|
|
64
|
-
| MapImageryList | Array | To configure the base image, see ImageryProvider
|
|
65
|
-
| defaultStatic | Array | Static resource configurations used by shaders (such as image urls)
|
|
56
|
+
| Property | Type | Description | Default |
|
|
57
|
+
| ---------------- | ------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------- |
|
|
58
|
+
| cesiumGlobal | Object | Cesium Object | undefined |
|
|
59
|
+
| threeGlobal | Object | THREE Object | undefined |
|
|
60
|
+
| containerId | String | Cesium mounts dom container id | undefined |
|
|
61
|
+
| threeContainerId | String | Three mounts dom container id | undefined |
|
|
62
|
+
| viewerConfig | Object | viewer base configuration (same as official website) | {} |
|
|
63
|
+
| extreaConfig | Object | Configure additional parameters, such as {logo: true, // Whether to display logo depthTest: true, // Enable depth detection AccessToken:'', // configure access_token } | {} |
|
|
64
|
+
| MapImageryList | Array | To configure the base image, see ImageryProvider | [] |
|
|
65
|
+
| defaultStatic | Array | Static resource configurations used by shaders (such as image urls) | undefined |
|
|
66
66
|
|
|
67
67
|
### 1.2 The initCesium method returns the result
|
|
68
68
|
|
|
@@ -239,9 +239,11 @@ new cesium_dev_kit.initCesium({...})
|
|
|
239
239
|
|
|
240
240
|
## Use example
|
|
241
241
|
|
|
242
|
-
-
|
|
242
|
+
- Vue Use case
|
|
243
243
|
[https://github.com/dengxiaoning/cesium_kit_test](https://github.com/dengxiaoning/cesium_kit_test)
|
|
244
244
|
|
|
245
|
+
- React Use case
|
|
246
|
+
[https://github.com/dengxiaoning/react-cesium](https://github.com/dengxiaoning/react-cesium)
|
|
245
247
|
- H5 Use case
|
|
246
248
|
[https://github.com/dengxiaoning/cesium_kit_test_h5](https://github.com/dengxiaoning/cesium_kit_test_h5)
|
|
247
249
|
|
|
@@ -269,19 +271,26 @@ This project includes but is not limited to the reference and reference of the a
|
|
|
269
271
|
|
|
270
272
|
## How to contribute
|
|
271
273
|
|
|
274
|
+
This project exists thanks to all the people who contribute.<br/>
|
|
275
|
+
|
|
272
276
|
<a href="https://github.com/dengxiaoning/cesium_dev_kit/graphs/contributors">
|
|
273
|
-
|
|
277
|
+
<img src="https://contrib.rocks/image?repo=dengxiaoning/cesium_dev_kit" />
|
|
274
278
|
</a>
|
|
275
279
|
|
|
276
|
-
|
|
280
|
+
- If you want to contribute, you can [Raise an issue](https://github.com/dengxiaoning/cesium_dev_kit/issues/new) Or submit a Pull Request.
|
|
277
281
|
|
|
278
282
|
**Pull Request:**
|
|
279
283
|
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
284
|
+
- The procedure for submitting a `pull request` is as follows
|
|
285
|
+
|
|
286
|
+
1. Fork [cesium_dev_kit](https://github.com/dengxiaoning/cesium_dev_kit)
|
|
287
|
+
2. Clone a new repository made with forking.
|
|
288
|
+
3. Create your own branch: `git checkout -b feat/xxxx`
|
|
289
|
+
4. Install modules with npm or yarn command.
|
|
290
|
+
5. Let's develop!
|
|
291
|
+
6. Submit your changes: `git commit -am 'feat(function): add xxxxx'`
|
|
292
|
+
7. Push your branch: `git push origin feat/xxxx`
|
|
293
|
+
8. Make a new `pull request` in [cesium_dev_kit](https://github.com/dengxiaoning/cesium_dev_kit) repository.
|
|
285
294
|
|
|
286
295
|
## Git Contribution submission specification
|
|
287
296
|
|
|
@@ -301,7 +310,9 @@ You can [Raise an issue](https://github.com/dengxiaoning/cesium_dev_kit/issues/n
|
|
|
301
310
|
- `wip` Under development
|
|
302
311
|
- `types` type
|
|
303
312
|
|
|
304
|
-
|
|
313
|
+
---
|
|
314
|
+
|
|
315
|
+
Welcome interested friends to join together to improve the function, so that the work is more efficient, the development is simpler, and the life is more comfortable.
|
|
305
316
|
|
|
306
317
|
## `Star`
|
|
307
318
|
|