Browse Source

change the version

tags/2.17.0
Caven Chen 3 years ago
parent
commit
dd12445f21

+ 13
- 0
CHANGES_zh.md View File

# Change Log # Change Log


### 2.17.0 - 2022-10-29

#### Breaking Changes 📣

- 升级 Cesium 到 1.98.1 版本
- 移除 ModelCollectionPrimitive

#### Fixes 🔧

- 修复 locatonbar 鼠标移动的坐标错误
- 修复 transform 中坐标转换的问题
- 修复瓦片蒙层问题

### 2.16.2 - 2022-09-13 ### 2.16.2 - 2022-09-13


#### Additions 🎉 #### Additions 🎉

+ 2
- 3
build/webpack.base.conf.js View File

} }
return { return {
entry: { 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', devtool: IS_PROD ? false : 'cheap-module-eval-source-map',
output: { output: {
umdNamedDefine: true umdNamedDefine: true
}, },
module: { module: {
unknownContextCritical: false,
// unknownContextCritical: false,
rules: common.rules rules: common.rules
}, },
resolve: { resolve: {
extensions: ['.js', '.json', '.css'], extensions: ['.js', '.json', '.css'],
alias: { alias: {
'@dc-modules': path.resolve(__dirname, '..', 'modules') '@dc-modules': path.resolve(__dirname, '..', 'modules')
// cesium: path.resolve(__dirname, cesiumBuild)
} }
}, },
plugins plugins

+ 1
- 1
modules/copy-right/index.js View File

console.log( console.log(
`%c \n DC-SDK \n %c \n 用数字描绘世界之美 %c \n `%c \n DC-SDK \n %c \n 用数字描绘世界之美 %c \n
版本:${__VERSION__} - ${__TIME__} 版本:${__VERSION__} - ${__TIME__}
Cesium版本:1.96.0
Cesium版本:1.98.1
开发作者:${__AUTHOR__} 开发作者:${__AUTHOR__}
网站主页: ${__HOME_PAGE__} 网站主页: ${__HOME_PAGE__}
github:${__REPOSITORY__} github:${__REPOSITORY__}

+ 1
- 1
modules/option/ViewerOption.js View File

let globeFS = globe._surfaceShaderSet.baseFragmentShaderSource let globeFS = globe._surfaceShaderSet.baseFragmentShaderSource
let oriShder = globeFS.sources[globeFS.sources.length - 1] let oriShder = globeFS.sources[globeFS.sources.length - 1]
globeFS.sources[globeFS.sources.length - 1] = oriShder.replace( globeFS.sources[globeFS.sources.length - 1] = oriShder.replace(
'gl_FragColor = finalColor;',
'gl_FragColor = finalColor;',
`gl_FragColor = finalColor * vec4(${filterColor.red.toFixed( `gl_FragColor = finalColor * vec4(${filterColor.red.toFixed(
2 2
)},${filterColor.green.toFixed(2)},${filterColor.blue.toFixed( )},${filterColor.green.toFixed(2)},${filterColor.blue.toFixed(

+ 1
- 1
package.json View File

{ {
"name": "dc-sdk", "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.", "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", "repository": "https://github.com/dvgis/dc-sdk.git",
"homepage": "https://www.dvgis.cn", "homepage": "https://www.dvgis.cn",

+ 1
- 1
packages/base/package.json View File

{ {
"name": "@dvgis/dc-base", "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.", "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", "repository": "https://github.com/dvgis/dc-sdk.git",
"homepage": "https://www.dvgis.cn", "homepage": "https://www.dvgis.cn",

+ 2
- 2
packages/chart/package.json View File

{ {
"name": "@dvgis/dc-chart", "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.", "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", "repository": "https://github.com/dvgis/dc-sdk.git",
"homepage": "https://www.dvgis.cn", "homepage": "https://www.dvgis.cn",
"license": "Apache 2.0", "license": "Apache 2.0",
"main": "dist/dc.chart.min.js", "main": "dist/dc.chart.min.js",
"peerDependencies": { "peerDependencies": {
"@dvgis/dc-base": "^2.16.2"
"@dvgis/dc-base": "^2.17.0"
}, },
"files": [ "files": [
"dist" "dist"

+ 2
- 2
packages/core/package.json View File

{ {
"name": "@dvgis/dc-core", "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.", "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", "repository": "https://github.com/dvgis/dc-sdk.git",
"homepage": "https://www.dvgis.cn", "homepage": "https://www.dvgis.cn",
"license": "Apache 2.0", "license": "Apache 2.0",
"main": "dist/dc.core.min.js", "main": "dist/dc.core.min.js",
"peerDependencies": { "peerDependencies": {
"@dvgis/dc-base": "^2.16.2"
"@dvgis/dc-base": "^2.17.0"
}, },
"files": [ "files": [
"dist" "dist"

+ 2
- 2
packages/mapv/package.json View File

{ {
"name": "@dvgis/dc-mapv", "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.", "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", "repository": "https://github.com/dvgis/dc-sdk.git",
"homepage": "https://www.dvgis.cn", "homepage": "https://www.dvgis.cn",
"license": "Apache 2.0", "license": "Apache 2.0",
"main": "dist/dc.mapv.min.js", "main": "dist/dc.mapv.min.js",
"peerDependencies": { "peerDependencies": {
"@dvgis/dc-base": "^2.16.2"
"@dvgis/dc-base": "^2.17.0"
}, },
"files": [ "files": [
"dist" "dist"

+ 2
- 2
packages/s3m/package.json View File

{ {
"name": "@dvgis/dc-s3m", "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.", "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", "repository": "https://github.com/dvgis/dc-sdk.git",
"homepage": "https://www.dvgis.cn", "homepage": "https://www.dvgis.cn",
"license": "Apache 2.0", "license": "Apache 2.0",
"main": "dist/dc.s3m.min.js", "main": "dist/dc.s3m.min.js",
"peerDependencies": { "peerDependencies": {
"@dvgis/dc-base": "^2.16.2"
"@dvgis/dc-base": "^2.17.0"
}, },
"files": [ "files": [
"dist" "dist"

+ 1
- 1
packages/sdk/package.json View File

{ {
"name": "@dvgis/dc-sdk", "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.", "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", "repository": "https://github.com/dvgis/dc-sdk.git",
"homepage": "https://www.dvgis.cn", "homepage": "https://www.dvgis.cn",

Loading…
Cancel
Save