code: function addPointToEntity(
    entity,
    tableColumnStyle,
    scale,
    pixelSize,
    color,
    show
  ) {
    //no image so use point
    if (
      !defined(tableColumnStyle) ||
      !defined(tableColumnStyle.imageUrl) ||
      tableColumnStyle.imageUrl === ""
    ) {
      entity.point = {
        outlineColor: new Color(0, 0, 0, 1),
        outlineWidth: 1,
        pixelSize: pixelSize,
        color: color,
        show: show
      };
    } else {
      entity.billboard = {
        horizontalOrigin: HorizontalOrigin.CENTER,
        verticalOrigin: VerticalOrigin.BOTTOM,
        image: tableColumnStyle.imageUrl,
        scale: scale,
        color: color,
        show: show
      };
    }
  }
docs: Adds a point of the given scale or pixelSize, color and show (availability) to the entity. If there is an image defined in the tableColumnStyle, use a billboard instead.