ソースを参照

improve the plot #39

tags/2.3.1
Caven Chen 4年前
コミット
8c5fcc2c74
2個のファイルの変更2行の追加4行の削除
  1. 1
    1
      modules/tools/DrawTool.js
  2. 1
    3
      modules/tools/EditTool.js

+ 1
- 1
modules/tools/DrawTool.js ファイルの表示

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

+ 1
- 3
modules/tools/EditTool.js ファイルの表示

@@ -135,9 +135,7 @@ class EditTool {
image: image,
width: 12,
height: 12,
eyeOffset: new Cesium.ConstantProperty(
new Cesium.Cartesian3(0, 0, -500)
),
eyeOffset: new Cesium.Cartesian3(0, 0, -100),
heightReference:
this._viewer.scene.mode === Cesium.SceneMode.SCENE3D &&
!this._options.clampToModel

読み込み中…
キャンセル
保存