Przeglądaj źródła

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

tags/1.7.3
Caven Chen 5 lat temu
rodzic
commit
ce648d1b7f

+ 1
- 1
dist/dc.base.min.js
Plik diff jest za duży
Wyświetl plik


+ 1
- 1
dist/dc.core.min.js
Plik diff jest za duży
Wyświetl plik


+ 1
- 1
package.json Wyświetl plik

@@ -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 Wyświetl plik

@@ -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 Wyświetl plik

@@ -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
}


Ładowanie…
Anuluj
Zapisz