You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 年之前
2 年之前
2 年之前
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538
  1. # Change Log
  2. ### 3.0.1
  3. #### Fixes 🔧
  4. - Optimization of measurement functions
  5. - Optimize Google Maps
  6. - Optimize weather effects
  7. - Optimize Chinese documentation
  8. ### 3.0.0
  9. #### Breaking Changes 📣
  10. - Upgrade @cesium/engine to version 3.0.1.
  11. - Changed framework dependency from Cesium to @cesium/engine, @cesium/widget library is no longer used, only `Viewer` related code is synchronized.
  12. - Refactored framework packaging, `iife` and `node` generate separate framework packages.
  13. - Refactor the directory structure of the framework library.
  14. - Upgrade material `glsl` to 3.0.
  15. - Remove the `mapv` layer and `s3m` layer, and remove their dependencies.
  16. - Removed global functions `init`, `mixin`, `use`.
  17. - Remove `Namespace` global attribute, you can get third party libraries through global function `getLib`.
  18. - Modify the way of introducing framework `cdn` and `node`, the framework uses a whole package to load.
  19. - Modify the framework entry function to use `ready().then()` as the framework entry.
  20. - Modify the effect class constructor, need to pass `viewer` as parameter.
  21. - Modify the scene dom structure, remove the useless dom.
  22. #### Additions 🎉
  23. - Add sample code to the framework library
  24. - Add documentation code to the framework library
  25. - Add latitude and longitude layers
  26. #### Fixes 🔧
  27. - Optimize aggregation layer, use third party library `supercluster` for aggregation calculation
  28. - Optimize heat zone layer
  29. - Fix a number of issues caused by upgrading the Cesium framework
  30. ### 2.17.0 - 2022-10-29
  31. #### Breaking Changes 📣
  32. - Upgrade Cesium to version 1.98.1
  33. - Remove ModelCollectionPrimitive
  34. #### Fixes 🔧
  35. - Fix locatonbar mouse movement coordinate error
  36. - Fix a coordinate conversion problem in transform
  37. - Fix the tile mask issue
  38. ### 2.16.2 - 2022-09-13
  39. #### Additions 🎉
  40. - Open some Cesium native classes
  41. #### Fixes 🔧
  42. - Improve the scene export
  43. - Improve terrain loading [#126](https://github.com/dvgis/dc-sdk/issues/126)
  44. ### 2.16.1 - 2022-08-21
  45. #### Additions 🎉
  46. - Add mixNum parameter for viewable fields
  47. #### Fixes 🔧
  48. - Improve Model Instance
  49. - Improve heading math
  50. ### 2.16.0 - 2022-08-14
  51. #### Breaking Changes 📣
  52. - Upgrade Cesium to version 1.96.0
  53. - Abandon the init function
  54. - Modify Cesium introduction
  55. #### Fixes 🔧
  56. - Optimize the parabola function to add an end point to the calculation result
  57. - Optimize the use of name space module.
  58. - Fix the problem that the framework cannot be used due to repeated use in CDN mode.
  59. - Fix an issue created by upgrading Cesium
  60. ### 2.15.0 - 2022-07-16
  61. #### Breaking Changes 📣
  62. - Upgrade Cesium to version 1.95.0
  63. #### Additions 🎉
  64. - Added flyToBounds and zoomToBounds functions
  65. - Added code hint module
  66. - Add scene rendering error subscription event
  67. #### Fixes 🔧
  68. - Optimize position bar elevation value [#109](https://github.com/dvgis/dc-sdk/issues/109)
  69. - Fix the problem of incorrect recovery time of history track several times
  70. - Fix the problem of wrong display of the end of history track[#107](https://github.com/dvgis/dc-sdk/issues/107)
  71. - Fix the problem that the number of anchor points is wrong and the size cannot be set when editing the marker.
  72. ### 2.14.0 - 2022-06-04
  73. #### Breaking Changes 📣
  74. - Upgrade Cesium to version 1.94.2
  75. #### Additions 🎉
  76. - Add light cylinder primitive
  77. #### Fixes 🔧
  78. - Optimize overlay add and remove function
  79. - Fix a bug that the history track clear function is not working [#102](https://github.com/dvgis/dc-sdk/issues/102)
  80. - Fix the problem that editing circle doesn't work [#104](https://github.com/dvgis/dc-sdk/issues/104)
  81. - Fix the problem that some analysis functions can't be used because of removing Cesium.when [#105](https://github.com/dvgis/dc-sdk/issues/105)
  82. ### 2.13.0 - 2022-05-08
  83. #### Breaking Changes 📣
  84. - Upgrade Cesium to version 1.93.0
  85. #### Additions 🎉
  86. - Added scene split
  87. - Added s3m height offset setting [#98](https://github.com/dvgis/dc-sdk/issues/98)
  88. - Add marker line add max anchor points [#99](https://github.com/dvgis/dc-sdk/issues/99)
  89. - Add history track add model orientation setting (heading offset) [#100](https://github.com/dvgis/dc-sdk/issues/100)
  90. #### Fixes 🔧
  91. - Fix the problem that plot plot coordinates are empty [#95](https://github.com/dvgis/dc-sdk/issues/95)
  92. ### 2.12.0 - 2022-04-10
  93. #### Breaking Changes 📣
  94. - Upgrade Cesium to version 1.92.0
  95. #### Additions 🎉
  96. - Added 3dtiles splite effect
  97. - Added FPS and MS parameters for LocationBar
  98. - Added the ability to customize the logo (requires token)
  99. #### Fixes 🔧
  100. - Fix the problem caused by Cesium.when removal
  101. - Improve the map splite effect
  102. ### 2.11.0 - 2022-03-12
  103. #### Breaking Changes 📣
  104. - Upgrade Cesium to version 1.91.0
  105. #### Additions 🎉
  106. - Added support for MSAA (a type of anti-aliasing)
  107. - Added GPX layer
  108. - Added S3M layer (as a separate package)
  109. #### Fixes 🔧
  110. - Fixes node-sass installation issues
  111. ### 2.10.0 - 2022-02-20
  112. #### Breaking Changes 📣
  113. - Upgrade Cesium to version 1.90.0
  114. #### Additions 🎉
  115. - Added map filter color feature
  116. - Added framework support for vite
  117. #### Fixes 🔧
  118. - Fix Mapv module packaging issue
  119. ### 2.9.0 - 2022-02-08
  120. #### Breaking Changes 📣
  121. - Upgrade Cesium to version 1.90.0
  122. #### Additions 🎉
  123. - Added map filter color feature
  124. - Added framework support for vite
  125. #### Fixes 🔧
  126. - Fix Mapv module packaging issue
  127. ### 2.9.0 - 2022-01-08
  128. #### Breaking Changes 📣
  129. - Upgrade Cesium to version 1.89.0
  130. #### Additions 🎉
  131. - Added protocol parameter settings when creating partial map tiles
  132. - Add partial tool class name abbreviations
  133. #### Fixes 🔧
  134. - Solve the problem that right click menu content is still displayed when empty
  135. - Fix overlay style setting overlay issue
  136. - Solve the problem that some overlay setting labels are invalid
  137. ### 2.8.0 - 2021-12-04
  138. #### Breaking Changes 📣
  139. - Upgrade Cesium to version 1.88.0
  140. #### Additions 🎉
  141. - Add ground primitive layer
  142. - Add both replacement and append FS modes for 3Dtiles
  143. - Add water primitive holes param
  144. - Add hot layer support for classificationType
  145. #### Fixes 🔧
  146. - Improve the function of clearing or removing the primitive layer
  147. - Improve the history track function
  148. ### 2.7.0 - 2021-11-13
  149. #### Breaking Changes 📣
  150. - Upgrade Cesium to version 1.87.0
  151. #### Additions 🎉
  152. - Add overlay clouds
  153. - Add get LayerGroup function
  154. #### Fixes 🔧
  155. - Improve the plot module
  156. ### 2.6.1 - 2021-10-23
  157. #### Breaking Changes 📣
  158. - Upgrade Cesium to version 1.86.0
  159. #### Fixes 🔧
  160. - Improve the DivIcon style
  161. - Improve the Popup config
  162. - Improve the terrian name option [#74](https://github.com/dvgis/dc-sdk/pull/74)
  163. ### 2.6.0 - 2021-10-10
  164. #### Breaking Changes 📣
  165. - Upgrade Cesium to version 1.86.0
  166. #### Fixes 🔧
  167. - Improve the MapSwitch [#70](https://github.com/dvgis/dc-sdk/issues/70)
  168. - Improve the AroundView [#72](https://github.com/dvgis/dc-sdk/issues/72)
  169. ### 2.5.0 - 2021-09-04
  170. #### Breaking Changes 📣
  171. - Upgrade Cesium to version 1.85.0
  172. #### Fixes 🔧
  173. - Fix the problem that roaming cannot set parameters and the failed camera cannot move [#65](https://github.com/dvgis/dc-sdk/issues/65)
  174. - Fix the problem that the gradient setting of heat layer [#66](https://github.com/dvgis/dc-sdk/issues/66)
  175. - Improve the DivIcon style
  176. ### 2.4.2 - 2021-08-28
  177. #### Fixes 🔧
  178. - Hide the chart layer at the back [#55](https://github.com/dvgis/dc-sdk/issues/55)
  179. - Hide the div icon at the back [#56](https://github.com/dvgis/dc-sdk/issues/56)
  180. - Improve the position editor [#57](https://github.com/dvgis/dc-sdk/issues/57)
  181. - Improve the terrain clipping [#58](https://github.com/dvgis/dc-sdk/issues/58)
  182. ### 2.4.1 - 2021-08-21
  183. #### Additions 🎉
  184. - Add support for layer mouse events [#53](https://github.com/dvgis/dc-sdk/issues/54)
  185. - Add partial mouse default events [#54](https://github.com/dvgis/dc-sdk/issues/54)
  186. - Add function to get tile information
  187. #### Fixes 🔧
  188. - Improve the plot function
  189. ### 2.4.0 - 2021-08-07
  190. #### Breaking Changes 📣
  191. - Upgrade Cesium to version 1.84.0
  192. #### Additions 🎉
  193. - Add bounce primitive overlays
  194. - Add model collection primitive
  195. #### Fixes 🔧
  196. - Refine type property
  197. - Improve mouse event
  198. - Improve once event
  199. ### 2.3.2 - 2021-07-25
  200. #### Additions 🎉
  201. - Add model primitive to get node-related functions [#51](https://github.com/dvgis/dc-sdk/issues/51)
  202. #### Fixes 🔧
  203. - Improve the history track restore function [#50](https://github.com/dvgis/dc-sdk/issues/50)
  204. ### 2.3.1 - 2021-07-19
  205. #### Breaking Changes 📣
  206. - Refactored plotting function
  207. - Remove Position rounding function
  208. - Refine the infrastructure part of the script
  209. #### Additions 🎉
  210. - Add spatial measurement tools
  211. - Add the plotting tool module
  212. - Add function midCartesian to calculate the middle point of Cartesian3
  213. #### Fixes 🔧
  214. - Improve the Position copy function
  215. - Improve the model editing tool for 3dtiles position editing function
  216. - Improve the function area
  217. - Improve the function of calculating the point position of a sector
  218. ### 2.3.0 - 2021-07-03
  219. #### Breaking Changes 📣
  220. - Upgrade Cesium to version 1.83.0
  221. #### Additions 🎉
  222. - Add constants for mouse mode
  223. - Add property settings for globe terrain exaggeration
  224. #### Fixes 🔧
  225. - Improve the parsePositions for string coords
  226. ### 2.2.5 - 2021-06-26
  227. #### Additions 🎉
  228. - Adds line and face rotation conversion calculations
  229. #### Fixes 🔧
  230. - Improve the interpolation of history track
  231. - Improve the function of plot for above the overlay
  232. - Fix the problem of flickering when analyzing transformation parameters in the viewable field [#37](https://github.com/dvgis/dc-sdk/issues/37)
  233. - Fix the problem that DivIcon cannot get the current coordinates set to (0,0,0) by default [#38](https://github.com/dvgis/dc-sdk/issues/38)
  234. ### 2.2.4 - 2021-06-12
  235. #### Breaking Changes 📣
  236. - Refactored the roaming function into first-person roaming and keyboard roaming [#34](https://github.com/dvgis/dc-sdk/issues/34)
  237. - Original roaming function becomes history track, refine its pause and play [#35](https://github.com/dvgis/dc-sdk/issues/35)
  238. #### Fixes 🔧
  239. - Improve heading function
  240. - Improve diffuse wall primitive
  241. - Fixes RadarScan missing Cesium issue [#33](https://github.com/dvgis/dc-sdk/issues/33)
  242. ### 2.2.3 - 2021-06-05
  243. #### Breaking Changes 📣
  244. - Modify the `CESIUM_BASE_URL` setting, which can be set via the global property `baseUrl`, which defaults to `. /libs/dc-sdk/resources/`
  245. #### Additions 🎉
  246. - Add various base primitive such as point, line, billboard, text
  247. - Add diffuse wall primitive
  248. #### Fixes 🔧
  249. - Improve the viewer destroy
  250. - Refine mouse and context-menu events for primitive
  251. ### 2.2.2 - 2021-05-29
  252. #### Additions 🎉
  253. - Open some Cesium internal properties
  254. - Add viewshed analysis
  255. - Add contour line analysis
  256. #### Fixes 🔧
  257. - Improve camera general tools
  258. - Improve the heading-pitch-roll setting of Tileset
  259. ### 2.2.1 - 2021-05-22
  260. #### Additions 🎉
  261. - Add camera video layer and plane video layer
  262. - Add plane video overlay
  263. - Add model primitive overlay
  264. #### Fixes 🔧
  265. - Improve the wind layer add fix the issue[#28](https://github.com/dvgis/dc-sdk/issues/28)
  266. - Repair the problem that the auxiliary view cone of video fusion function cannot be displayed[#29](https://github.com/dvgis/dc-sdk/issues/29)
  267. - Improve the video primitive
  268. - Repair the problem that the animation function cannot be used after the scene time is stoped[#31](https://github.com/dvgis/dc-sdk/issues/31)
  269. ### 2.2.0 - 2021-05-09
  270. #### Breaking Changes 📣
  271. - Upgrade Cesium to version 1.81.0
  272. - Rewrite the HeatLayer
  273. #### Additions 🎉
  274. - Add dynamic layer
  275. - Add dynamic model and dynamic billbard
  276. - Add model management functions for model expansion and merging
  277. - Add daylight 、through-view function
  278. ### 2.1.4 - 2021-04-24
  279. #### Additions 🎉
  280. - Add map functions for creating TMS, Grid, Mapbox, MapboxStyle
  281. - Add clipping module, including: globe clipping, terrain clipping
  282. - Add GroundSkyBox
  283. #### Fixes 🔧
  284. - Improve the plot module and fix the issue[#26](https://github.com/dvgis/dc-sdk/issues/26)
  285. - Improve the position editor module
  286. - Fix the FeatureGridLayer show and hide issue
  287. ### 2.1.3 - 2021-04-17
  288. #### Additions 🎉
  289. - Open section Cesium internal functions
  290. - Add FeatureGridLayer
  291. #### Fixes 🔧
  292. - Fix the plot bugs[#24](https://github.com/dvgis/dc-sdk/issues/24)
  293. - Rewritten logo
  294. ### 2.1.2 - 2021-04-10
  295. #### Additions 🎉
  296. - Add DivIcon mouse-over and mouse-out functions
  297. - Add resolution and viewBounds properties
  298. #### Fixes 🔧
  299. - Fix the problem that AroundPoint and AroundView will be accelerated by multiple starts[#22](https://github.com/dvgis/dc-sdk/issues/22)
  300. - Fix the problem that mouse events do not work when the overlay is OSGB[#23](https://github.com/dvgis/dc-sdk/issues/23)
  301. ### 2.1.1 - 2021-04-06
  302. #### Fixes 🔧
  303. - Repair the problem that some modules version numbers are not uniform
  304. ### 2.1.0 - 2021-04-03
  305. #### Breaking Changes 📣
  306. - Upgrade Cesium to version 1.80.0
  307. #### Additions 🎉
  308. - Add GeoTools class, mainly using Turf for overlay related calculations
  309. #### Fixes 🔧
  310. - Modify the HtmlLayer set show error problem
  311. - Improve the authentication rules of accessToken
  312. ### 2.0.0 - 2021-03-27
  313. #### Breaking Changes 📣
  314. - Refactor the entire framework code and modularize the code
  315. - Consolidated previously scattered modules
  316. - Refactored the dependencies on DC in each module package
  317. - Redeveloped the user manual
  318. - Support for custom installation and full installation of DC
  319. #### Additions 🎉
  320. - Added token authentication function. Authentication can use some analysis and point editor functions
  321. - Add support for turf module, you can get turf by `const { turf } = DC.Namespace`.
  322. #### Fixes 🔧
  323. - Fix location bar time delay issue
  324. - Fixed the problem of invalid speed setting for radar scan material