Browse Source

improve the plot #39

tags/2.3.1
Caven Chen 4 years ago
parent
commit
8c5fcc2c74
2 changed files with 2 additions and 4 deletions
  1. 1
    1
      modules/tools/DrawTool.js
  2. 1
    3
      modules/tools/EditTool.js

+ 1
- 1
modules/tools/DrawTool.js View File

image: isCenter ? this._options.icon_center : this._options.icon_anchor, image: isCenter ? this._options.icon_center : this._options.icon_anchor,
width: this._options.icon_size[0], width: this._options.icon_size[0],
height: this._options.icon_size[1], height: this._options.icon_size[1],
eyeOffset: new Cesium.Cartesian3(0, 0, -500),
eyeOffset: new Cesium.Cartesian3(0, 0, -100),
heightReference: heightReference:
this._viewer.scene.mode === Cesium.SceneMode.SCENE3D && this._viewer.scene.mode === Cesium.SceneMode.SCENE3D &&
!this._options.clampToModel !this._options.clampToModel

+ 1
- 3
modules/tools/EditTool.js View File

image: image, image: image,
width: 12, width: 12,
height: 12, height: 12,
eyeOffset: new Cesium.ConstantProperty(
new Cesium.Cartesian3(0, 0, -500)
),
eyeOffset: new Cesium.Cartesian3(0, 0, -100),
heightReference: heightReference:
this._viewer.scene.mode === Cesium.SceneMode.SCENE3D && this._viewer.scene.mode === Cesium.SceneMode.SCENE3D &&
!this._options.clampToModel !this._options.clampToModel

Loading…
Cancel
Save