constructor(type, feature) {
    super(type);

    /**
     * The feature being drawn.
     * @type {Feature}
     * @api
     */
    this.feature = feature;
  }
@param {DrawEventType} type Type.
@param {Feature} feature The feature drawn.