getSource() {
    return /** @type {SourceType} */ (this.get(LayerProperty.SOURCE)) || null;
  }
Get the layer source.
@return {SourceType|null} The layer source (or `null` if not yet set).
@observable
@api