Przeglądaj źródła

improve the plot #39

tags/2.3.1
Caven Chen 4 lat temu
rodzic
commit
8c5fcc2c74
2 zmienionych plików z 2 dodań i 4 usunięć
  1. 1
    1
      modules/tools/DrawTool.js
  2. 1
    3
      modules/tools/EditTool.js

+ 1
- 1
modules/tools/DrawTool.js Wyświetl plik

@@ -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 Wyświetl plik

@@ -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

Ładowanie…
Anuluj
Zapisz