destroyContent() {
    this._beforeShowOrEmptyLayer();
    const destroyPromise = this._contentContainer.empty();
    destroyPromise.nodeify(this._afterShowOrEmptyLayer.bind(this));
    return destroyPromise;
  }
Destroys content layer and returns a promise that resolves when the layer has been destroyed.
@returns {Promise}