| { | { | ||||
| "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", |
| * @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 | ||||
| } | } |
| * @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 | ||||
| } | } | ||||