docs: function(id) {
          var foundLayer = null;
          for (var i=0, len=this.layers.length; i<len; i++) {
              var layer = this.layers[i];
              if (layer.id == id) {
                  foundLayer = layer;
                  break;
              }
          }
          return foundLayer;
      }