| @@ -1,5 +1,18 @@ | |||
| # Change Log | |||
| ### 2.17.0 - 2022-10-29 | |||
| #### Breaking Changes 📣 | |||
| - 升级 Cesium 到 1.98.1 版本 | |||
| - 移除 ModelCollectionPrimitive | |||
| #### Fixes 🔧 | |||
| - 修复 locatonbar 鼠标移动的坐标错误 | |||
| - 修复 transform 中坐标转换的问题 | |||
| - 修复瓦片蒙层问题 | |||
| ### 2.16.2 - 2022-09-13 | |||
| #### Additions 🎉 | |||
| @@ -37,7 +37,7 @@ module.exports = env => { | |||
| } | |||
| return { | |||
| entry: { | |||
| 'dc.base': [path.resolve(__dirname, '..', 'packages/base/index.js')] | |||
| 'dc.base': path.resolve(__dirname, '..', 'packages/base/index.js') | |||
| }, | |||
| devtool: IS_PROD ? false : 'cheap-module-eval-source-map', | |||
| output: { | |||
| @@ -50,14 +50,13 @@ module.exports = env => { | |||
| umdNamedDefine: true | |||
| }, | |||
| module: { | |||
| unknownContextCritical: false, | |||
| // unknownContextCritical: false, | |||
| rules: common.rules | |||
| }, | |||
| resolve: { | |||
| extensions: ['.js', '.json', '.css'], | |||
| alias: { | |||
| '@dc-modules': path.resolve(__dirname, '..', 'modules') | |||
| // cesium: path.resolve(__dirname, cesiumBuild) | |||
| } | |||
| }, | |||
| plugins | |||
| @@ -10,7 +10,7 @@ console.clear() | |||
| console.log( | |||
| `%c \n DC-SDK \n %c \n 用数字描绘世界之美 %c \n | |||
| 版本:${__VERSION__} - ${__TIME__} | |||
| Cesium版本:1.96.0 | |||
| Cesium版本:1.98.1 | |||
| 开发作者:${__AUTHOR__} | |||
| 网站主页: ${__HOME_PAGE__} | |||
| github:${__REPOSITORY__} | |||
| @@ -139,7 +139,7 @@ class ViewerOption { | |||
| let globeFS = globe._surfaceShaderSet.baseFragmentShaderSource | |||
| let oriShder = globeFS.sources[globeFS.sources.length - 1] | |||
| globeFS.sources[globeFS.sources.length - 1] = oriShder.replace( | |||
| 'gl_FragColor = finalColor;', | |||
| 'gl_FragColor = finalColor;', | |||
| `gl_FragColor = finalColor * vec4(${filterColor.red.toFixed( | |||
| 2 | |||
| )},${filterColor.green.toFixed(2)},${filterColor.blue.toFixed( | |||
| @@ -1,6 +1,6 @@ | |||
| { | |||
| "name": "dc-sdk", | |||
| "version": "2.16.2", | |||
| "version": "2.17.0", | |||
| "description": "The SDK is based on Cesium for secondary development of 2, 3D all-in-one WebGis application framework, the framework optimizes the use of Cesium and add some additional features, designed for developers to quickly build WebGis applications.", | |||
| "repository": "https://github.com/dvgis/dc-sdk.git", | |||
| "homepage": "https://www.dvgis.cn", | |||
| @@ -1,6 +1,6 @@ | |||
| { | |||
| "name": "@dvgis/dc-base", | |||
| "version": "2.16.2", | |||
| "version": "2.17.0", | |||
| "description": "The SDK is based on Cesium for secondary development of 2, 3D all-in-one WebGis application framework, the framework optimizes the use of Cesium and add some additional features, designed for developers to quickly build WebGis applications.", | |||
| "repository": "https://github.com/dvgis/dc-sdk.git", | |||
| "homepage": "https://www.dvgis.cn", | |||
| @@ -1,6 +1,6 @@ | |||
| { | |||
| "name": "@dvgis/dc-chart", | |||
| "version": "2.16.2", | |||
| "version": "2.17.0", | |||
| "description": "The SDK is based on Cesium for secondary development of 2, 3D all-in-one WebGis application framework, the framework optimizes the use of Cesium and add some additional features, designed for developers to quickly build WebGis applications.", | |||
| "repository": "https://github.com/dvgis/dc-sdk.git", | |||
| "homepage": "https://www.dvgis.cn", | |||
| @@ -19,7 +19,7 @@ | |||
| "license": "Apache 2.0", | |||
| "main": "dist/dc.chart.min.js", | |||
| "peerDependencies": { | |||
| "@dvgis/dc-base": "^2.16.2" | |||
| "@dvgis/dc-base": "^2.17.0" | |||
| }, | |||
| "files": [ | |||
| "dist" | |||
| @@ -1,6 +1,6 @@ | |||
| { | |||
| "name": "@dvgis/dc-core", | |||
| "version": "2.16.2", | |||
| "version": "2.17.0", | |||
| "description": "The SDK is based on Cesium for secondary development of 2, 3D all-in-one WebGis application framework, the framework optimizes the use of Cesium and add some additional features, designed for developers to quickly build WebGis applications.", | |||
| "repository": "https://github.com/dvgis/dc-sdk.git", | |||
| "homepage": "https://www.dvgis.cn", | |||
| @@ -19,7 +19,7 @@ | |||
| "license": "Apache 2.0", | |||
| "main": "dist/dc.core.min.js", | |||
| "peerDependencies": { | |||
| "@dvgis/dc-base": "^2.16.2" | |||
| "@dvgis/dc-base": "^2.17.0" | |||
| }, | |||
| "files": [ | |||
| "dist" | |||
| @@ -1,6 +1,6 @@ | |||
| { | |||
| "name": "@dvgis/dc-mapv", | |||
| "version": "2.16.2", | |||
| "version": "2.17.0", | |||
| "description": "The SDK is based on Cesium for secondary development of 2, 3D all-in-one WebGis application framework, the framework optimizes the use of Cesium and add some additional features, designed for developers to quickly build WebGis applications.", | |||
| "repository": "https://github.com/dvgis/dc-sdk.git", | |||
| "homepage": "https://www.dvgis.cn", | |||
| @@ -19,7 +19,7 @@ | |||
| "license": "Apache 2.0", | |||
| "main": "dist/dc.mapv.min.js", | |||
| "peerDependencies": { | |||
| "@dvgis/dc-base": "^2.16.2" | |||
| "@dvgis/dc-base": "^2.17.0" | |||
| }, | |||
| "files": [ | |||
| "dist" | |||
| @@ -1,6 +1,6 @@ | |||
| { | |||
| "name": "@dvgis/dc-s3m", | |||
| "version": "2.16.2", | |||
| "version": "2.17.0", | |||
| "description": "The SDK is based on Cesium for secondary development of 2, 3D all-in-one WebGis application framework, the framework optimizes the use of Cesium and add some additional features, designed for developers to quickly build WebGis applications.", | |||
| "repository": "https://github.com/dvgis/dc-sdk.git", | |||
| "homepage": "https://www.dvgis.cn", | |||
| @@ -19,7 +19,7 @@ | |||
| "license": "Apache 2.0", | |||
| "main": "dist/dc.s3m.min.js", | |||
| "peerDependencies": { | |||
| "@dvgis/dc-base": "^2.16.2" | |||
| "@dvgis/dc-base": "^2.17.0" | |||
| }, | |||
| "files": [ | |||
| "dist" | |||
| @@ -1,6 +1,6 @@ | |||
| { | |||
| "name": "@dvgis/dc-sdk", | |||
| "version": "2.16.2", | |||
| "version": "2.17.0", | |||
| "description": "The SDK is based on Cesium for secondary development of 2, 3D all-in-one WebGis application framework, the framework optimizes the use of Cesium and add some additional features, designed for developers to quickly build WebGis applications.", | |||
| "repository": "https://github.com/dvgis/dc-sdk.git", | |||
| "homepage": "https://www.dvgis.cn", | |||