Commit 3c437b7f authored by iSergio's avatar iSergio
Browse files

Scene.terrainExaggeration and options.terrainExaggeration for CesiumWidget,...

Scene.terrainExaggeration and options.terrainExaggeration for CesiumWidget, Viewer, and Scene have been deprecated and will be removed in CesiumJS 1.85. They will be replaced with Globe.terrainExaggeration.
parent be996f88
Loading
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -316,7 +316,9 @@ public class Scene {
    public boolean sunBloom;
    /**
     * Gets the scalar used to exaggerate the terrain.
     * @deprecated will be removed in CesiumJS 1.85. They will be replaced with {@link Globe#terrainExaggeration}.
     */
    @Deprecated
    @JsProperty
    public double terrainExaggeration;
    /**
+3 −0
Original line number Diff line number Diff line
@@ -22,6 +22,7 @@ import jsinterop.annotations.JsPackage;
import jsinterop.annotations.JsProperty;
import jsinterop.annotations.JsType;
import org.cesiumjs.cs.core.projection.MapProjection;
import org.cesiumjs.cs.scene.Globe;
import org.cesiumjs.cs.scene.enums.MapMode2D;

/**
@@ -67,7 +68,9 @@ public class SceneOptions {
     * A scalar used to exaggerate the terrain. Note that terrain exaggeration will
     * not modify any other primitive as they are positioned relative to the
     * ellipsoid. Default: 1.0
     * @deprecated will be removed in CesiumJS 1.85. They will be replaced with {@link Globe#terrainExaggeration}.
     */
    @Deprecated
    @JsProperty
    public double terrainExaggeration;
    /**