Pārlūkot izejas kodu

improve the overlay setStyle function #82

tags/2.9.0
Caven Chen pirms 3 gadiem
vecāks
revīzija
5166423aea
45 mainītis faili ar 90 papildinājumiem un 84 dzēšanām
  1. 2
    2
      modules/overlay/custom/CustomBillboard.js
  2. 2
    2
      modules/overlay/custom/CustomLabel.js
  3. 2
    2
      modules/overlay/dynamic/DynamicBillboard.js
  4. 2
    2
      modules/overlay/dynamic/DynamicModel.js
  5. 1
    1
      modules/overlay/html/DivIcon.js
  6. 2
    2
      modules/overlay/model/Model.js
  7. 2
    2
      modules/overlay/plot/AttackArrow.js
  8. 2
    2
      modules/overlay/plot/DoubleArrow.js
  9. 2
    2
      modules/overlay/plot/FineArrow.js
  10. 2
    2
      modules/overlay/plot/GatheringPlace.js
  11. 2
    2
      modules/overlay/primitive/BillboardPrimitive.js
  12. 2
    2
      modules/overlay/primitive/CloudPrimitive.js
  13. 2
    1
      modules/overlay/primitive/ElecEllipsoidPrimitive.js
  14. 2
    1
      modules/overlay/primitive/FlowLinePrimitive.js
  15. 8
    0
      modules/overlay/primitive/GroundPolygonPrimitive.js
  16. 2
    2
      modules/overlay/primitive/LabelPrimitive.js
  17. 2
    1
      modules/overlay/primitive/ModelCollectionPrimitive.js
  18. 2
    2
      modules/overlay/primitive/ModelPrimitive.js
  19. 1
    1
      modules/overlay/primitive/PointPrimitive.js
  20. 2
    2
      modules/overlay/primitive/PolylinePrimitive.js
  21. 2
    1
      modules/overlay/primitive/ScanCirclePrimitive.js
  22. 2
    1
      modules/overlay/primitive/TrailLinePrimitive.js
  23. 2
    1
      modules/overlay/primitive/VideoPrimitive.js
  24. 2
    1
      modules/overlay/primitive/WaterPrimitive.js
  25. 2
    2
      modules/overlay/vector/Billboard.js
  26. 2
    2
      modules/overlay/vector/Box.js
  27. 2
    2
      modules/overlay/vector/Circle.js
  28. 2
    2
      modules/overlay/vector/Corridor.js
  29. 2
    2
      modules/overlay/vector/Cylinder.js
  30. 2
    2
      modules/overlay/vector/Ellipse.js
  31. 2
    2
      modules/overlay/vector/Ellipsoid.js
  32. 2
    2
      modules/overlay/vector/Label.js
  33. 2
    11
      modules/overlay/vector/Plane.js
  34. 1
    1
      modules/overlay/vector/Point.js
  35. 2
    2
      modules/overlay/vector/Polygon.js
  36. 2
    2
      modules/overlay/vector/Polyline.js
  37. 2
    2
      modules/overlay/vector/PolylineVolume.js
  38. 2
    2
      modules/overlay/vector/Rectangle.js
  39. 2
    2
      modules/overlay/vector/Wall.js
  40. 1
    1
      package.json
  41. 1
    1
      packages/base/package.json
  42. 2
    2
      packages/chart/package.json
  43. 2
    2
      packages/core/package.json
  44. 2
    2
      packages/mapv/package.json
  45. 1
    1
      packages/sdk/package.json

+ 2
- 2
modules/overlay/custom/CustomBillboard.js Parādīt failu

return this return this
} }
delete style['image'] && delete style['width'] && delete style['height'] delete style['image'] && delete style['width'] && delete style['height']
this._style = style
Util.merge(this._delegate.billboard, this._style)
Util.merge(this._style, style)
Util.merge(this._delegate.billboard, style)
return this return this
} }



+ 2
- 2
modules/overlay/custom/CustomLabel.js Parādīt failu

return this return this
} }
delete style['text'] delete style['text']
this._style = style
Util.merge(this._delegate.label, this._style)
Util.merge(this._style, style)
Util.merge(this._delegate.label, style)
return this return this
} }



+ 2
- 2
modules/overlay/dynamic/DynamicBillboard.js Parādīt failu

return this return this
} }
delete style['image'] && delete style['width'] && delete style['height'] delete style['image'] && delete style['width'] && delete style['height']
this._style = style
Util.merge(this._delegate.billboard, this._style)
Util.merge(this._style, style)
Util.merge(this._delegate.billboard, style)
return this return this
} }
} }

+ 2
- 2
modules/overlay/dynamic/DynamicModel.js Parādīt failu

return this return this
} }
delete style['uri'] delete style['uri']
this._style = style
Util.merge(this._delegate.model, this._style)
Util.merge(this._style, style)
Util.merge(this._delegate.model, style)
return this return this
} }
} }

+ 1
- 1
modules/overlay/html/DivIcon.js Parādīt failu

if (!style || Object.keys(style).length === 0) { if (!style || Object.keys(style).length === 0) {
return this return this
} }
this._style = style
Util.merge(this._style, style)
this._style.className && this._style.className &&
DomUtil.addClass(this._delegate, this._style.className) DomUtil.addClass(this._delegate, this._style.className)
return this return this

+ 2
- 2
modules/overlay/model/Model.js Parādīt failu

return this return this
} }
delete style['uri'] delete style['uri']
this._style = style
Util.merge(this._delegate.model, this._style)
Util.merge(this._style, style)
Util.merge(this._delegate.model, style)
return this return this
} }



+ 2
- 2
modules/overlay/plot/AttackArrow.js Parādīt failu

return this return this
} }
delete style['positions'] delete style['positions']
this._style = style
Util.merge(this._delegate.polygon, this._style)
Util.merge(this._style, style)
Util.merge(this._delegate.polygon, style)
return this return this
} }
} }

+ 2
- 2
modules/overlay/plot/DoubleArrow.js Parādīt failu

return this return this
} }
delete style['positions'] delete style['positions']
this._style = style
Util.merge(this._delegate.polygon, this._style)
Util.merge(this._style, style)
Util.merge(this._delegate.polygon, style)
return this return this
} }
} }

+ 2
- 2
modules/overlay/plot/FineArrow.js Parādīt failu

return this return this
} }
delete style['positions'] delete style['positions']
this._style = style
Util.merge(this._delegate.polygon, this._style)
Util.merge(this._style, style)
Util.merge(this._delegate.polygon, style)
return this return this
} }
} }

+ 2
- 2
modules/overlay/plot/GatheringPlace.js Parādīt failu

return this return this
} }
delete style['positions'] delete style['positions']
this._style = style
Util.merge(this._delegate.polygon, this._style)
Util.merge(this._style, style)
Util.merge(this._delegate.polygon, style)
return this return this
} }
} }

+ 2
- 2
modules/overlay/primitive/BillboardPrimitive.js Parādīt failu

delete style['image'] && delete style['image'] &&
delete style['width'] && delete style['width'] &&
delete style['height'] delete style['height']
this._style = style
Util.merge(this._delegate, this._style)
Util.merge(this._style, style)
Util.merge(this._delegate, style)
return this return this
} }
} }

+ 2
- 2
modules/overlay/primitive/CloudPrimitive.js Parādīt failu

return this return this
} }
delete style['position'] delete style['position']
this._style = style
Util.merge(this._delegate, this._style)
Util.merge(this._style, style)
Util.merge(this._delegate, style)
return this return this
} }
} }

+ 2
- 1
modules/overlay/primitive/ElecEllipsoidPrimitive.js Parādīt failu

import { Cesium } from '@dc-modules/namespace' import { Cesium } from '@dc-modules/namespace'
import State from '@dc-modules/state/State' import State from '@dc-modules/state/State'
import Parse from '@dc-modules/parse/Parse' import Parse from '@dc-modules/parse/Parse'
import { Util } from '@dc-modules/utils'
import { Transform } from '@dc-modules/transform' import { Transform } from '@dc-modules/transform'
import Overlay from '../Overlay' import Overlay from '../Overlay'


if (Object.keys(style).length === 0) { if (Object.keys(style).length === 0) {
return this return this
} }
this._style = style
Util.merge(this._style, style)
this._setAppearance() this._setAppearance()
return this return this
} }

+ 2
- 1
modules/overlay/primitive/FlowLinePrimitive.js Parādīt failu

import { Cesium } from '@dc-modules/namespace' import { Cesium } from '@dc-modules/namespace'
import State from '@dc-modules/state/State' import State from '@dc-modules/state/State'
import Parse from '@dc-modules/parse/Parse' import Parse from '@dc-modules/parse/Parse'
import { Util } from '@dc-modules/utils'
import { Transform } from '@dc-modules/transform' import { Transform } from '@dc-modules/transform'
import Overlay from '../Overlay' import Overlay from '../Overlay'


if (Object.keys(style).length === 0) { if (Object.keys(style).length === 0) {
return this return this
} }
this._style = style
Util.merge(this._style, style)
style.classificationType && style.classificationType &&
(this._delegate.classificationType = this._style.classificationType) (this._delegate.classificationType = this._style.classificationType)
this._setAppearance() this._setAppearance()

+ 8
- 0
modules/overlay/primitive/GroundPolygonPrimitive.js Parādīt failu

/**
* @Author: Caven
* @Date: 2021-12-01 20:31:02
*/

class GroundPolygonPrimitive {}

export default GroundPolygonPrimitive

+ 2
- 2
modules/overlay/primitive/LabelPrimitive.js Parādīt failu

return this return this
} }
delete style['position'] && delete style['text'] delete style['position'] && delete style['text']
this._style = style
Util.merge(this._delegate, this._style)
Util.merge(this._style, style)
Util.merge(this._delegate, style)
return this return this
} }
} }

+ 2
- 1
modules/overlay/primitive/ModelCollectionPrimitive.js Parādīt failu

import { Cesium } from '@dc-modules/namespace' import { Cesium } from '@dc-modules/namespace'
import State from '@dc-modules/state/State' import State from '@dc-modules/state/State'
import Parse from '@dc-modules/parse/Parse' import Parse from '@dc-modules/parse/Parse'
import { Util } from '@dc-modules/utils'
import { Transform } from '@dc-modules/transform' import { Transform } from '@dc-modules/transform'
import Overlay from '../Overlay' import Overlay from '../Overlay'


return this return this
} }
delete style['instances'] && delete style['url'] delete style['instances'] && delete style['url']
this._style = style
Util.merge(this._style, style)
if (this._layer) { if (this._layer) {
this._resetDelegate() this._resetDelegate()
this._layer.delegate.add(this._delegate) this._layer.delegate.add(this._delegate)

+ 2
- 2
modules/overlay/primitive/ModelPrimitive.js Parādīt failu

if (!style || Object.keys(style).length === 0) { if (!style || Object.keys(style).length === 0) {
return this return this
} }
this._style = style
Util.merge(this._delegate, this._style)
Util.merge(this._style, style)
Util.merge(this._delegate, style)
return this return this
} }
} }

+ 1
- 1
modules/overlay/primitive/PointPrimitive.js Parādīt failu

return this return this
} }
delete style['position'] delete style['position']
this._style = style
Util.merge(this._style, style)
Util.merge(this._delegate, DEF_STYLE, this._style) Util.merge(this._delegate, DEF_STYLE, this._style)
return this return this
} }

+ 2
- 2
modules/overlay/primitive/PolylinePrimitive.js Parādīt failu

return this return this
} }
delete style['positions'] delete style['positions']
this._style = style
Util.merge(this._delegate, this._style)
Util.merge(this._style, style)
Util.merge(this._delegate, style)
return this return this
} }
} }

+ 2
- 1
modules/overlay/primitive/ScanCirclePrimitive.js Parādīt failu

import { Cesium } from '@dc-modules/namespace' import { Cesium } from '@dc-modules/namespace'
import State from '@dc-modules/state/State' import State from '@dc-modules/state/State'
import Parse from '@dc-modules/parse/Parse' import Parse from '@dc-modules/parse/Parse'
import { Util } from '@dc-modules/utils'
import { Transform } from '@dc-modules/transform' import { Transform } from '@dc-modules/transform'
import Overlay from '../Overlay' import Overlay from '../Overlay'


if (Object.keys(style).length === 0) { if (Object.keys(style).length === 0) {
return this return this
} }
this._style = style
Util.merge(this._style, style)
style.classificationType && style.classificationType &&
(this._delegate.classificationType = this._style.classificationType) (this._delegate.classificationType = this._style.classificationType)
this._setAppearance() this._setAppearance()

+ 2
- 1
modules/overlay/primitive/TrailLinePrimitive.js Parādīt failu

import { Cesium } from '@dc-modules/namespace' import { Cesium } from '@dc-modules/namespace'
import State from '@dc-modules/state/State' import State from '@dc-modules/state/State'
import Parse from '@dc-modules/parse/Parse' import Parse from '@dc-modules/parse/Parse'
import { Util } from '@dc-modules/utils'
import { Transform } from '@dc-modules/transform' import { Transform } from '@dc-modules/transform'
import Overlay from '../Overlay' import Overlay from '../Overlay'


if (Object.keys(style).length === 0) { if (Object.keys(style).length === 0) {
return this return this
} }
this._style = style
Util.merge(this._style, style)
style.classificationType && style.classificationType &&
(this._delegate.classificationType = this._style.classificationType) (this._delegate.classificationType = this._style.classificationType)
this._setAppearance() this._setAppearance()

+ 2
- 1
modules/overlay/primitive/VideoPrimitive.js Parādīt failu

import { Cesium } from '@dc-modules/namespace' import { Cesium } from '@dc-modules/namespace'
import State from '@dc-modules/state/State' import State from '@dc-modules/state/State'
import Parse from '@dc-modules/parse/Parse' import Parse from '@dc-modules/parse/Parse'
import { Util } from '@dc-modules/utils'
import { Transform } from '@dc-modules/transform' import { Transform } from '@dc-modules/transform'
import Overlay from '../Overlay' import Overlay from '../Overlay'


if (Object.keys(style).length === 0) { if (Object.keys(style).length === 0) {
return this return this
} }
this._style = style
Util.merge(this._style, style)
if (this._style?.classificationType) { if (this._style?.classificationType) {
this._delegate.classificationType = this._style.classificationType this._delegate.classificationType = this._style.classificationType
} }

+ 2
- 1
modules/overlay/primitive/WaterPrimitive.js Parādīt failu

import { Cesium } from '@dc-modules/namespace' import { Cesium } from '@dc-modules/namespace'
import State from '@dc-modules/state/State' import State from '@dc-modules/state/State'
import Parse from '@dc-modules/parse/Parse' import Parse from '@dc-modules/parse/Parse'
import { Util } from '@dc-modules/utils'
import { Transform } from '@dc-modules/transform' import { Transform } from '@dc-modules/transform'
import Overlay from '../Overlay' import Overlay from '../Overlay'


if (Object.keys(style).length === 0) { if (Object.keys(style).length === 0) {
return this return this
} }
this._style = style
Util.merge(this._style, style)
if (this._style?.classificationType) { if (this._style?.classificationType) {
this._delegate.classificationType = this._style.classificationType this._delegate.classificationType = this._style.classificationType
} }

+ 2
- 2
modules/overlay/vector/Billboard.js Parādīt failu

return this return this
} }
delete style['image'] && delete style['width'] && delete style['height'] delete style['image'] && delete style['width'] && delete style['height']
this._style = style
Util.merge(this._delegate.billboard, this._style)
Util.merge(this._style, style)
Util.merge(this._delegate.billboard, style)
return this return this
} }



+ 2
- 2
modules/overlay/vector/Box.js Parādīt failu

return this return this
} }
delete style['length'] && delete style['width'] && delete style['height'] delete style['length'] && delete style['width'] && delete style['height']
this._style = style
Util.merge(this._delegate.box, this._style)
Util.merge(this._style, style)
Util.merge(this._delegate.box, style)
return this return this
} }
} }

+ 2
- 2
modules/overlay/vector/Circle.js Parādīt failu

return this return this
} }
delete style['positions'] delete style['positions']
this._style = style
Util.merge(this._delegate.polygon, this._style)
Util.merge(this._style, style)
Util.merge(this._delegate.polygon, style)
return this return this
} }
} }

+ 2
- 2
modules/overlay/vector/Corridor.js Parādīt failu

return this return this
} }
delete style['positions'] delete style['positions']
this._style = style
Util.merge(this._delegate.corridor, this._style)
Util.merge(this._style, style)
Util.merge(this._delegate.corridor, style)
return this return this
} }



+ 2
- 2
modules/overlay/vector/Cylinder.js Parādīt failu

delete style['topRadius'] && delete style['topRadius'] &&
delete style['bottomRadius'] delete style['bottomRadius']


this._style = style
Util.merge(this._delegate.cylinder, this._style)
Util.merge(this._style, style)
Util.merge(this._delegate.cylinder, style)
return this return this
} }
} }

+ 2
- 2
modules/overlay/vector/Ellipse.js Parādīt failu

return this return this
} }
delete style['semiMajorAxis'] && delete style['semiMinorAxis'] delete style['semiMajorAxis'] && delete style['semiMinorAxis']
this._style = style
Util.merge(this._delegate.ellipse, this._style)
Util.merge(this._style, style)
Util.merge(this._delegate.ellipse, style)
return this return this
} }
} }

+ 2
- 2
modules/overlay/vector/Ellipsoid.js Parādīt failu

return this return this
} }
delete style['radius'] delete style['radius']
this._style = style
Util.merge(this._delegate.ellipsoid, this._style)
Util.merge(this._style, style)
Util.merge(this._delegate.ellipsoid, style)
return this return this
} }
} }

+ 2
- 2
modules/overlay/vector/Label.js Parādīt failu

return this return this
} }
delete style['text'] delete style['text']
this._style = style
Util.merge(this._delegate.label, this._style)
Util.merge(this._style, style)
Util.merge(this._delegate.label, style)
return this return this
} }



+ 2
- 11
modules/overlay/vector/Plane.js Parādīt failu

this.distance = this._distance this.distance = this._distance
} }


/**
*
* @param {*} text
* @param {*} textStyle
*/
setLabel(text, textStyle) {
return this
}

/** /**
* Sets Style * Sets Style
* @param style * @param style
return this return this
} }
delete style['dimensions'] && delete ['plane'] delete style['dimensions'] && delete ['plane']
this._style = style
Util.merge(this._delegate.plane, this._style)
Util.merge(this._style, style)
Util.merge(this._delegate.plane, style)
return this return this
} }
} }

+ 1
- 1
modules/overlay/vector/Point.js Parādīt failu

return this return this
} }
delete style['position'] delete style['position']
this._style = style
Util.merge(this._style, style)
Util.merge(this._delegate.point, DEF_STYLE, this._style) Util.merge(this._delegate.point, DEF_STYLE, this._style)
return this return this
} }

+ 2
- 2
modules/overlay/vector/Polygon.js Parādīt failu

return this return this
} }
delete style['positions'] delete style['positions']
this._style = style
Util.merge(this._delegate.polygon, this._style)
Util.merge(this._style, style)
Util.merge(this._delegate.polygon, style)
return this return this
} }



+ 2
- 2
modules/overlay/vector/Polyline.js Parādīt failu

return this return this
} }
delete style['positions'] delete style['positions']
this._style = style
Util.merge(this._delegate.polyline, this._style)
Util.merge(this._style, style)
Util.merge(this._delegate.polyline, style)
return this return this
} }



+ 2
- 2
modules/overlay/vector/PolylineVolume.js Parādīt failu

return this return this
} }
delete style['positions'] && delete style['shape'] delete style['positions'] && delete style['shape']
this._style = style
Util.merge(this._delegate.polylineVolume, this._style)
Util.merge(this._style, style)
Util.merge(this._delegate.polylineVolume, style)
return this return this
} }



+ 2
- 2
modules/overlay/vector/Rectangle.js Parādīt failu

return this return this
} }
delete style['positions'] delete style['positions']
this._style = style
Util.merge(this._delegate.rectangle, this._style)
Util.merge(this._style, style)
Util.merge(this._delegate.rectangle, style)
return this return this
} }
} }

+ 2
- 2
modules/overlay/vector/Wall.js Parādīt failu

return this return this
} }
delete style['positions'] delete style['positions']
this._style = style
Util.merge(this._delegate.wall, this._style)
Util.merge(this._style, style)
Util.merge(this._delegate.wall, style)
return this return this
} }



+ 1
- 1
package.json Parādīt failu

{ {
"name": "dc-sdk", "name": "dc-sdk",
"version": "2.8.0",
"version": "2.8.1",
"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",
"homepage": "https://www.dvgis.cn", "homepage": "https://www.dvgis.cn",

+ 1
- 1
packages/base/package.json Parādīt failu

{ {
"name": "@dvgis/dc-base", "name": "@dvgis/dc-base",
"version": "2.8.0",
"version": "2.8.1",
"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",
"homepage": "https://www.dvgis.cn", "homepage": "https://www.dvgis.cn",

+ 2
- 2
packages/chart/package.json Parādīt failu

{ {
"name": "@dvgis/dc-chart", "name": "@dvgis/dc-chart",
"version": "2.8.0",
"version": "2.8.1",
"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",
"homepage": "https://www.dvgis.cn", "homepage": "https://www.dvgis.cn",
"license": "Apache 2.0", "license": "Apache 2.0",
"main": "dist/dc.chart.min.js", "main": "dist/dc.chart.min.js",
"peerDependencies": { "peerDependencies": {
"@dvgis/dc-base": "^2.8.0"
"@dvgis/dc-base": "^2.8.1"
}, },
"files": [ "files": [
"dist" "dist"

+ 2
- 2
packages/core/package.json Parādīt failu

{ {
"name": "@dvgis/dc-core", "name": "@dvgis/dc-core",
"version": "2.8.0",
"version": "2.8.1",
"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",
"homepage": "https://www.dvgis.cn", "homepage": "https://www.dvgis.cn",
"license": "Apache 2.0", "license": "Apache 2.0",
"main": "dist/dc.core.min.js", "main": "dist/dc.core.min.js",
"peerDependencies": { "peerDependencies": {
"@dvgis/dc-base": "^2.8.0"
"@dvgis/dc-base": "^2.8.1"
}, },
"files": [ "files": [
"dist" "dist"

+ 2
- 2
packages/mapv/package.json Parādīt failu

{ {
"name": "@dvgis/dc-mapv", "name": "@dvgis/dc-mapv",
"version": "2.8.0",
"version": "2.8.1",
"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",
"homepage": "https://www.dvgis.cn", "homepage": "https://www.dvgis.cn",
"license": "Apache 2.0", "license": "Apache 2.0",
"main": "dist/dc.mapv.js", "main": "dist/dc.mapv.js",
"peerDependencies": { "peerDependencies": {
"@dvgis/dc-base": "^2.8.0"
"@dvgis/dc-base": "^2.8.1"
}, },
"files": [ "files": [
"dist" "dist"

+ 1
- 1
packages/sdk/package.json Parādīt failu

{ {
"name": "@dvgis/dc-sdk", "name": "@dvgis/dc-sdk",
"version": "2.8.0",
"version": "2.8.1",
"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",
"homepage": "https://www.dvgis.cn", "homepage": "https://www.dvgis.cn",

Notiek ielāde…
Atcelt
Saglabāt