docs: function(geometry, options) {
          var edge = !(options && options.edge === false);
          var result;
          // this is the case where we might not be looking for distance to edge
          if(!edge && this.intersects(geometry)) {
              result = 0;
          } else {
              result = OpenLayers.Geometry.Collection.prototype.distanceTo.apply(
                  this, [geometry, options]
              );
          }
          return result;
      }