You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
viewerConfig: { // Same as the official viewer configuration
200
-
infoBox:false,
201
-
shouldAnimate:true,
202
-
},
203
-
extraConfig: {// Other configuration
204
-
logo:true, // Whether to display logo
205
-
depthTest:true// Whether to enable the depth test
206
-
},
207
-
MapImageryList: tempData // Base map configuration
208
-
defaultStatic // default server address and material and other basic information configuration, please refer to src\views\example\defaultStaticConf\index.js
209
-
})
210
-
211
-
this.c_viewer=drawObj.viewer
212
-
this.draw=drawObj.draw
213
-
this.draw.setDefSceneConfig()
214
-
this.draw.setBloomLightScene()
215
-
this.load3dTiles(drawObj.viewer)
216
-
217
-
this.StraightArrowObj=drawObj.straightArrowObj
218
-
this.AttackArrowObj=drawObj.attackArrowObj
219
-
this.PincerArrowObj=drawObj.pincerArrowObj
220
-
}
221
-
}
222
-
}
223
-
</script>
58
+
import {Graphics} from'cesium_dev_kit'
59
+
const {viewer,graphics} =newGraphics({
60
+
cesiumGlobal: Cesium,
61
+
containerId:'cesiumContainer'
62
+
})
63
+
graphics.getPointGraphics({
64
+
color:Cesium.Color.GREEN,
65
+
pixelSize:5,
66
+
outlineColor:Cesium.Color.WHITE,
67
+
outlineWidth:1
68
+
})
224
69
```
225
70
226
71
### Used in h5
@@ -237,6 +82,10 @@ export default {
237
82
newcesium_dev_kit.initCesium({...})
238
83
```
239
84
85
+
See [API documentation](https://benpaodehenji.com/cesiumDevKitDoc) for more details...
86
+
87
+
---
88
+
240
89
## Use example
241
90
242
91
- Vue Use case
@@ -266,8 +115,7 @@ This project includes but is not limited to the reference and reference of the a
266
115
## Project deficiency and optimization
267
116
268
117
- 1、Extended classes not using type detection (TS)
269
-
- 2、No usage documentation (please refer to the case)
270
-
- 3、No exception catching and handling
118
+
- 2、No exception catching and handling
271
119
272
120
## How to contribute
273
121
@@ -279,41 +127,10 @@ This project exists thanks to all the people who contribute.<br/>
279
127
280
128
- If you want to contribute, you can [Raise an issue](https://github.com/dengxiaoning/cesium_dev_kit/issues/new) Or submit a Pull Request.
281
129
282
-
**Pull Request:**
283
-
284
-
- The procedure for submitting a `pull request` is as follows
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.
294
-
295
-
## Git Contribution submission specification
296
-
297
-
-`feat` New features
298
-
-`fix` Fix bugs
299
-
-`docs` document
300
-
-`style` Format and style (changes that do not affect code operation)
301
-
-`refactor` Refactor
302
-
-`perf` Optimize related, such as improving performance and experience
303
-
-`test` Add test
304
-
-`build` Compilation related modifications, changes to project construction or dependencies
305
-
-`ci` Continuous integration modification
306
-
-`chore` Changes in the construction process or auxiliary tools
307
-
-`revert` Rollback to previous version
308
-
-`workflow` Workflow improvement
309
-
-`mod` Uncertain modification classification
310
-
-`wip` Under development
311
-
-`types` type
130
+
See [CONTRIBUTING](./CONTRIBUTING.md) for more details on donations...
312
131
313
132
---
314
133
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.
316
-
317
134
## `Star`
318
135
319
136
I am grateful to the generous individuals who awarded me these little stars, thank you for your support :heart:
0 commit comments