code: function(angle, origin) {
          angle *= Math.PI / 180;
          var radius = this.distanceTo(origin);
          var theta = angle + Math.atan2(this.y - origin.y, this.x - origin.x);
          this.x = origin.x + (radius * Math.cos(theta));
          this.y = origin.y + (radius * Math.sin(theta));
          this.clearBounds();
      }
docs: APIMethod: rotate
  Rotate a point around another.
  
  Parameters:
  angle - {Float} Rotation angle in degrees (measured counterclockwise
  from the positive x-axis)
  origin - {<OpenLayers.Geometry.Point>} Center point for the rotation