소스 검색

Exposing missing property

David Catuhe 7 년 전
부모
커밋
585b98e473
1개의 변경된 파일16개의 추가작업 그리고 1개의 파일을 삭제
  1. 16 1
      gui/src/3D/charting/mapGraph.ts

+ 16 - 1
gui/src/3D/charting/mapGraph.ts

@@ -18,6 +18,21 @@ export class MapGraph extends Chart {
     private _yOffset = 0;
     private _worldMapPickedPointObserver: Nullable<Observer<Vector3>>;  
 
+    /** Gets or sets the maximum height of a cylinder */
+    public get maxCylinderHeight(): number {
+        return this._maxCylinderHeight;
+    }
+
+    public set maxCylinderHeight(value: number) {
+        if (this._maxCylinderHeight === value) {
+            return;
+        }
+
+        this._maxCylinderHeight = value;
+
+        this.refresh();
+    }    
+
     /** Gets or sets the offset (in world unit) on X axis to apply to all elements */
     public get xOffset(): number {
         return this._xOffset;
@@ -65,7 +80,7 @@ export class MapGraph extends Chart {
     }        
 
     
-    /** Gets or sets the size of the world map (this will define the width) */
+    /** Gets or sets the size of the world map (this will define the width of the supporting plane) */
     public get worldMapSize(): number {
         return this._worldMapSize;
     }