瀏覽代碼

修改广告牌的尺寸设置问题

tags/1.7.3
Caven Chen 5 年之前
父節點
當前提交
ce648d1b7f
共有 5 個檔案被更改,包括 7 行新增7 行删除
  1. 1
    1
      dist/dc.base.min.js
  2. 1
    1
      dist/dc.core.min.js
  3. 1
    1
      package.json
  4. 2
    2
      src/base/index.js
  5. 2
    2
      src/core/overlay/base/Billboard.js

+ 1
- 1
dist/dc.base.min.js
文件差異過大導致無法顯示
查看文件


+ 1
- 1
dist/dc.core.min.js
文件差異過大導致無法顯示
查看文件


+ 1
- 1
package.json 查看文件

@@ -1,6 +1,6 @@
{
"name": "@dvgis/dc-sdk",
"version": "1.7.2",
"version": "1.7.3",
"description": " The SDK is a secondary development based on the open source project Cesium, which optimizes some operations of Cesium and enables developers to quickly develop 3D applications through the framework.",
"main": "index.js",
"repository": "https://github.com/Digital-Visual/dc-sdk.git",

+ 2
- 2
src/base/index.js 查看文件

@@ -2,7 +2,7 @@
* @Author: Caven
* @Date: 2020-04-22 09:44:30
* @Last Modified by: Caven
* @Last Modified time: 2020-06-06 15:48:12
* @Last Modified time: 2020-06-09 17:18:05
*/

import { initMixin, initUse } from './global-api'
@@ -11,7 +11,7 @@ let DC = {
Author: 'Caven Chen',
GitHub: 'https://github.com/Digital-Visual',
Home: 'https://www.dvgis.cn',
Version: '1.7.2',
Version: '1.7.3',
Namespace: {},
Initialized: false
}

+ 2
- 2
src/core/overlay/base/Billboard.js 查看文件

@@ -2,7 +2,7 @@
* @Author: Caven
* @Date: 2020-01-19 10:18:23
* @Last Modified by: Caven
* @Last Modified time: 2020-06-05 09:13:09
* @Last Modified time: 2020-06-09 17:17:22
*/

import { Util } from '../../utils'
@@ -52,7 +52,7 @@ class Billboard extends Overlay {
}
this._size = size
this._delegate.billboard.width = this._size[0] || 32
this._delegate.billboard.height = this._size[0] || 32
this._delegate.billboard.height = this._size[1] || 32
return this
}


Loading…
取消
儲存