ソースを参照

add height offset for s3m #98

tags/2.13.0
Caven Chen 3年前
コミット
820e390562
1個のファイルの変更1行の追加1行の削除
  1. 1
    1
      libs/s3m/S3MTiles/S3MTilesLayer.js

+ 1
- 1
libs/s3m/S3MTiles/S3MTilesLayer.js ファイルの表示

@@ -167,7 +167,7 @@ S3MTilesLayer.prototype.loadConfig = function(url) {
let lon = config.position.x
let lat = config.position.y
let height = config.position.z
that._position = Cesium.Cartesian3.fromDegrees(lon, lat, height + this.heightOffset)
that._position = Cesium.Cartesian3.fromDegrees(lon, lat, height + that.heightOffset)
that.modelMatrix = Cesium.Transforms.eastNorthUpToFixedFrame(
that._position
)

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