code: function() {
          var area = 0.0;
          if ( this.components && (this.components.length > 0)) {
              area += Math.abs(this.components[0].getArea());
              for (var i=1, len=this.components.length; i<len; i++) {
                  area -= Math.abs(this.components[i].getArea());
              }
          }
          return area;
      }
docs: Constructor: OpenLayers.Geometry.Polygon
  Constructor for a Polygon geometry.
  The first ring (this.component[0])is the outer bounds of the polygon and
  all subsequent rings (this.component[1-n]) are internal holes.
  
  
  Parameters:
  components - {Array(<OpenLayers.Geometry.LinearRing>)}
   
  APIMethod: getArea
  Calculated by subtracting the areas of the internal holes from the
  area of the outer hole.
  
  Returns:
  {float} The area of the geometry