code: function (worldWindow) {
          var thisExplorer = this;
  
          this.wwd = worldWindow;
  
          this.roundGlobe = this.wwd.globe;
  
          this.createProjectionList();
          $("#projectionDropdown").find(" li").on("click", function (e) {
              thisExplorer.onProjectionClick(e);
          });
  
          this.synchronizeLayerList();
  
          $("#searchBox").find("button").on("click", function (e) {
              thisExplorer.onSearchButton(e);
          });
  
          this.geocoder = new WorldWind.NominatimGeocoder();
          this.goToAnimator = new WorldWind.GoToAnimator(this.wwd);
          $("#searchText").on("keypress", function (e) {
              thisExplorer.onSearchTextKeyPress($(this), e);
          });
  
          //
          //this.wwd.redrawCallbacks.push(function (worldWindow, stage) {
          //    if (stage == WorldWind.AFTER_REDRAW) {
          //        thisExplorer.updateVisibilityState(worldWindow);
          //    }
          //});
      }
docs: Constructs a layer manager for a specified {@link WorldWindow}.
  @alias LayerManager
  @constructor
  @classdesc Provides a layer manager to interactively control layer visibility for a WorldWindow.
  @param {WorldWindow} worldWindow The WorldWindow to associated this layer manager with.