goog.module('ngeo.olcs.Manager');
goog.module.declareLegacyNamespace();

goog.require('olcs.contrib.Manager');

const Manager = class extends olcs.contrib.Manager {
  /**
   * @override
   */
  constructor() {
    super(...arguments);
    /**
     * @type {angular.Scope}
     * @private
     */
    this.rootScope_;
  }

  /**
   * @param {angular.Scope} $rootScope Angular root scope.
   */
  setRootScope($rootScope) {
    this.rootScope_ = $rootScope;
  }

  /**
   * @override
   */
  toggle3d() {
    return super.toggle3d().then(() => {
      this.rootScope_.$apply(() => {});
    });
  }
};

exports = Manager;

goog.module('ngeo.olcs.Manager');
goog.module.declareLegacyNamespace();

goog.require('olcs.contrib.Manager');

const Manager = class extends olcs.contrib.Manager {
  /**
   * @override
   */
  constructor(...args) {
    super(...args);
    /**
     * @type {angular.Scope}
     * @private
     */
    this.rootScope_;
  }

  /**
   * @param {angular.Scope} $rootScope Angular root scope.
   */
  setRootScope($rootScope) {
    this.rootScope_ = $rootScope;
  }

  /**
   * @override
   */
  toggle3d() {
    return super.toggle3d().then(() => {
      this.rootScope_.$apply(() => {});
    });
  }
};

exports = Manager;

Fix calls to constructor in dependent projects
Fix calls to constructor in dependent projects
