Commit d4ec07c4 authored by iSergio's avatar iSergio
Browse files

Added BillboardCollection.show, EntityCluster.show, LabelCollection.show,...

Added BillboardCollection.show, EntityCluster.show, LabelCollection.show, PointPrimitiveCollection.show, and PolylineCollection.show for a convenient way to control show of the entire collection.
parent 2c142b92
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -67,6 +67,13 @@ public class BillboardCollection extends Collection<Billboard> {
  @JsProperty
  public Matrix4 modelMatrix;

  /**
   * Determines if the billboards in the collection will be shown.
   * Default: true
   */
  @JsProperty
  public boolean show;

  /**
   * A renderable collection of billboards. Billboards are viewport-aligned images
   * positioned in the 3D scene. Billboards are added and removed from the
+6 −0
Original line number Diff line number Diff line
@@ -63,6 +63,12 @@ public class LabelCollection extends Collection<Label> {
  // TODO: examples
  @JsProperty
  public Matrix4 modelMatrix;
  /**
   * Determines if the labels in the collection will be shown.
   * Default: true
   */
  @JsProperty
  public boolean show;

  @JsConstructor
  public LabelCollection() {
+6 −0
Original line number Diff line number Diff line
@@ -60,6 +60,12 @@ public class PointPrimitiveCollection extends Collection<PointPrimitive> {
   */
  @JsProperty
  public Matrix4 modelMatrix;
  /**
   * Determines if the primitives in the collection will be shown.
   * Default: true
   */
  @JsProperty
  public boolean show;

  /**
   * A renderable collection of points.
+6 −0
Original line number Diff line number Diff line
@@ -53,6 +53,12 @@ public class PolylineCollection extends Collection<Polyline> {
   */
  @JsProperty
  public Matrix4 modelMatrix;
  /**
   * Determines if the polylines in the collection will be shown.
   * Default: true
   */
  @JsProperty
  public boolean show;

  /**
   * A renderable collection of polylines. Polylines are added and removed from
+7 −0
Original line number Diff line number Diff line
@@ -60,6 +60,13 @@ public class BillboardCollectionOptions {
  @JsProperty
  public Number blendOption;

  /**
   * Determines if the billboards in the collection will be shown.
   * Default: true
   */
  @JsProperty
  public boolean show;

  /**
   * Options for {@link BillboardCollection}.
   */
Loading