code: function(display) {
          if (display != (this.div.style.display != "none")) {
              this.div.style.display = (display && this.calculateInRange()) ? "block" : "none";
          }
      }
docs: APIMethod: display
  Hide or show the Layer. This is designed to be used internally, and
  is not generally the way to enable or disable the layer. For that,
  use the setVisibility function instead..
  
  Parameters:
  display - {Boolean}