| viewer.addBaseLayer( baseLayer,{ | viewer.addBaseLayer( baseLayer,{ | ||||
| brightness : 0.1 | brightness : 0.1 | ||||
| }) | }) | ||||
| viewer.addBaseLayer( baseLayer) | |||||
| let layer = new DC.VectorLayer('layer') | let layer = new DC.VectorLayer('layer') | ||||
| viewer.addLayer(layer) | viewer.addLayer(layer) | ||||
| { | { | ||||
| "name": "@dvgis/dc-sdk", | "name": "@dvgis/dc-sdk", | ||||
| "version": "4.0.0", | |||||
| "version": "4.2.0", | |||||
| "license": "MIT", | "license": "MIT", | ||||
| "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", | ||||
| "dist" | "dist" | ||||
| ], | ], | ||||
| "dependencies": { | "dependencies": { | ||||
| "@dvgis/dc-common": "^4.0.2" | |||||
| "@dvgis/dc-common": "^4.2.0" | |||||
| } | } | ||||
| } | } | 
| id: `imagery-no-${this._count}`, | id: `imagery-no-${this._count}`, | ||||
| layers: imageryLayers, | layers: imageryLayers, | ||||
| cache: [], | cache: [], | ||||
| options, | |||||
| }) | }) | ||||
| return this | return this | ||||
| } | } |