Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

5 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
4 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
4 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. # DC-SDK
  2. <p>
  3. <img src="https://img.shields.io/github/workflow/status/dvgis/dc-sdk/publish"/>
  4. <img src="https://img.shields.io/badge/license-Apache%202-blue"/>
  5. <img src="https://img.shields.io/npm/v/@dvgis/dc-sdk?color=orange&logo=npm" />
  6. <img src="https://img.shields.io/npm/dm/@dvgis/dc-sdk?logo=npm"/>
  7. </p>
  8. [**🇨🇳 中文**](./README_zh.md) | [**🇬🇧English**](./README.md)
  9. > DC-SDK is a 2D and 3D integrated WebGis application framework based on the secondary development of Cesium. This framework optimizes the usage mode of Cesium and adds some additional functions, aiming to build WebGis applications for developers quickly.
  10. > [Home Page](http://dc.dvgis.cn)
  11. ```warningH
  12. Tips:This SDK is JS+GIS framework package. Developers need to have some front-end technology and GIS related technology
  13. ```
  14. ## Installation
  15. > CDN
  16. ```html
  17. <!--Basic Package-->
  18. <script src="libs/dc-sdk/dc.base.min.js"></script>
  19. <!--Core Package-->
  20. <script src="libs/dc-sdk/dc.core.min.js"></script>
  21. <!--Main Style Sheet -->
  22. <link href="libs/dc-sdk/dc.core.min.css" rel="stylesheet" type="text/css" />
  23. ```
  24. > NPM / YARN
  25. ```shell
  26. yarn add @dvgis/dc-sdk
  27. npm install @dvgis/dc-sdk
  28. ```
  29. ```js
  30. import DC from 'dvgis/dc-sdk/dist/dc.base.min' //Basic Package
  31. import DcCore from 'dvgis/dc-sdk/dist/dc.core.min' //Core Package
  32. import 'dvgis/dc-sdk/dist/dc.core.min.css' // Main Style Sheet
  33. ```
  34. ## Setting
  35. > Vue
  36. ```js
  37. // vue.config.js
  38. const path = require('path')
  39. const CopywebpackPlugin = require('copy-webpack-plugin')
  40. const dvgisDist = './node_modules/@dvgis'
  41. module.exports = {
  42. // other settings
  43. chainWebpack: config => {
  44. config.resolve.alias.set('dvgis', path.resolve(__dirname, dvgisDist))
  45. config.plugin('copy').use(CopywebpackPlugin, [
  46. [
  47. {
  48. from: path.join(dvgisDist, 'dc-sdk/dist/resources'),
  49. to: 'libs/dc-sdk/resources'
  50. }
  51. ]
  52. ])
  53. }
  54. }
  55. ```
  56. ## Start
  57. ```js
  58. global.DC = DC
  59. DC.use(DcCore)
  60. DC.ready(() => {
  61. let viewer = new DC.Viewer(divId) // divId is the Id attribute value of a div node. If it is not passed in, the 3D scene cannot be initialized
  62. })
  63. ```
  64. ## Documentation
  65. [DC Api](https://resource.dvgis.cn/dc-api)
  66. [Cesium Api](https://cesium.com/docs/cesiumjs-ref-doc/)
  67. ## Demo
  68. | ![picture](http://dc.dvgis.cn/examples/images/baselayer/google.png) | ![picture](http://dc.dvgis.cn/examples/images/baselayer/baidu.png?v=1) | ![picture](http://dc.dvgis.cn/examples/images/baselayer/tdt.png?v=1) | ![picture](http://dc.dvgis.cn/examples/images/baselayer/arcgis.png) |
  69. | :-----------------------------------------------------------: | :-----------------------------------------------------------: | :------------------------------------------------------------------: | :--------------------------------------------------------------: |
  70. | ![picture](http://dc.dvgis.cn/examples/images/scene/globe_rotate.gif) | ![picture](http://dc.dvgis.cn/examples/images/model/factory.gif) | ![picture](http://dc.dvgis.cn/examples/images/layer/cluster_circle.gif) | ![picture](http://dc.dvgis.cn/examples/images/model/shp_custom_shader.gif) |
  71. | ![picture](http://dc.dvgis.cn/examples/images/overlay/polyline_image_trail.gif) | ![picture](http://dc.dvgis.cn/examples/images/overlay/wall_trail.gif) | ![picture](http://dc.dvgis.cn/examples/images/overlay/water.gif) | ![picture](http://dc.dvgis.cn/examples/images/overlay/plot-overlay.png) |
  72. [More>>](http://dc.dvgis.cn/#/examples)
  73. ## Ecosystem
  74. | Module | Status | Description |
  75. | :------ | :------: | :------ |
  76. | [dc-plugins](https://github.com/dvgis/dc-plugins) | <img src="https://img.shields.io/npm/v/@dvgis/dc-plugins?logo=npm" /> | dc plug-in module, including scene animation, roaming, and some additional materials |
  77. | [dc-overlay](https://github.com/dvgis/dc-overlay) | <img src="https://img.shields.io/npm/v/@dvgis/dc-overlay?logo=npm" /> | dc overlay module, including ellipsoid, cylinder, corridor, water surface, etc |
  78. | [dc-plot](https://github.com/dvgis/dc-plot) | <img src="https://img.shields.io/npm/v/@dvgis/dc-plot?logo=npm" /> | dc plotting module for plotting and editing overlay |
  79. | [dc-chart](https://github.com/dvgis/dc-chart) | <img src="https://img.shields.io/npm/v/@dvgis/dc-chart?logo=npm" /> | dc chart module for adding ECharts functionality in 3d scenes |
  80. | [dc-mapv](https://github.com/dvgis/dc-mapv) | <img src="https://img.shields.io/npm/v/@dvgis/dc-mapv?logo=npm" /> | dc big-data module for adding MAPV functions in 3d scenes |
  81. | [dc-ui](https://github.com/dvgis/dc-ui) | <img src="https://img.shields.io/npm/v/@dvgis/dc-ui?logo=npm" /> | dc components for Vue |
  82. ## QQ Group
  83. <p>
  84. <img src="http://dc.dvgis.cn/examples/images/base/q1.png?v=2" style="width:60px;height:60px" title="数字视觉"/>
  85. <img src="http://dc.dvgis.cn/examples/images/base/q2.png?v=4" style="width:60px;height:60px" title="Cesium开心农场"/>
  86. </p>
  87. ## Support
  88. > if dc-sdk can bring benefits to you, please support it ~
  89. <p>
  90. <img src="http://dc.dvgis.cn/examples/images/base/sponsor.jpg?v=2" style="width:60px;height:60px" title="数字视觉"/>
  91. </p>
  92. ## Copyright
  93. ```warning
  94. 1. The framework is a basic platform, completely open source, which can be modified and reconstructed by any individual or institution without our authorization.
  95. 2. We are not responsible for any problems arising from the modification of the framework by individuals and organizations.
  96. 2. Some industrial plug-ins and tools will be added in the later stage, and the code will be open source appropriately.
  97. 3. The package released by us may be used permanently and free of charge by any person or organization subject to:
  98. 1) complete package reference;
  99. 2) reserve this copyright information in the console output
  100. We reserve the right of final interpretation of this copyright information.
  101. ```
  102. ## Thanks