| @@ -25,7 +25,6 @@ | |||
| viewer.addBaseLayer( baseLayer,{ | |||
| brightness : 0.1 | |||
| }) | |||
| viewer.addBaseLayer( baseLayer) | |||
| let layer = new DC.VectorLayer('layer') | |||
| viewer.addLayer(layer) | |||
| @@ -1,6 +1,6 @@ | |||
| { | |||
| "name": "@dvgis/dc-sdk", | |||
| "version": "4.0.0", | |||
| "version": "4.2.0", | |||
| "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.", | |||
| "repository": "https://github.com/dvgis/dc-sdk.git", | |||
| @@ -65,6 +65,6 @@ | |||
| "dist" | |||
| ], | |||
| "dependencies": { | |||
| "@dvgis/dc-common": "^4.0.2" | |||
| "@dvgis/dc-common": "^4.2.0" | |||
| } | |||
| } | |||
| @@ -69,6 +69,7 @@ class BaseLayerPicker { | |||
| id: `imagery-no-${this._count}`, | |||
| layers: imageryLayers, | |||
| cache: [], | |||
| options, | |||
| }) | |||
| return this | |||
| } | |||