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.

CHANGES_en.md 16KB

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