Browse Source

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

tags/1.7.3
Caven Chen 5 years ago
parent
commit
ce648d1b7f
5 changed files with 7 additions and 7 deletions
  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
File diff suppressed because it is too large
View File


+ 1
- 1
dist/dc.core.min.js
File diff suppressed because it is too large
View File


+ 1
- 1
package.json View File

{ {
"name": "@dvgis/dc-sdk", "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.", "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", "main": "index.js",
"repository": "https://github.com/Digital-Visual/dc-sdk.git", "repository": "https://github.com/Digital-Visual/dc-sdk.git",

+ 2
- 2
src/base/index.js View File

* @Author: Caven * @Author: Caven
* @Date: 2020-04-22 09:44:30 * @Date: 2020-04-22 09:44:30
* @Last Modified by: Caven * @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' import { initMixin, initUse } from './global-api'
Author: 'Caven Chen', Author: 'Caven Chen',
GitHub: 'https://github.com/Digital-Visual', GitHub: 'https://github.com/Digital-Visual',
Home: 'https://www.dvgis.cn', Home: 'https://www.dvgis.cn',
Version: '1.7.2',
Version: '1.7.3',
Namespace: {}, Namespace: {},
Initialized: false Initialized: false
} }

+ 2
- 2
src/core/overlay/base/Billboard.js View File

* @Author: Caven * @Author: Caven
* @Date: 2020-01-19 10:18:23 * @Date: 2020-01-19 10:18:23
* @Last Modified by: Caven * @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' import { Util } from '../../utils'
} }
this._size = size this._size = size
this._delegate.billboard.width = this._size[0] || 32 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 return this
} }



Loading…
Cancel
Save