code: function(node, geometry) {
          this.setNodeDimension(node, geometry);
  
          var resolution = this.getResolution();
      
          var path = [];
          var j, jj, points, area, first, second, i, ii, comp, pathComp, x, y;
          for (j=0, jj=geometry.components.length; j<jj; j++) {
              path.push("m");
              points = geometry.components[j].components;
              // we only close paths of interior rings with area
              area = (j === 0);
              first = null;
              second = null;
              for (i=0, ii=points.length; i<ii; i++) {
                  comp = points[i];
                  x = ((comp.x - this.featureDx) / resolution - this.offset.x) | 0;
                  y = (comp.y / resolution - this.offset.y) | 0;
                  pathComp = " " + x + "," + y;
                  path.push(pathComp);
                  if (i==0) {
                      path.push(" l");
                  }
                  if (!area) {
                      // IE improperly renders sub-paths that have no area.
                      // Instead of checking the area of every ring, we confirm
                      // the ring has at least three distinct points.  This does
                      // not catch all non-zero area cases, but it greatly improves
                      // interior ring digitizing and is a minor performance hit
                      // when rendering rings with many points.
                      if (!first) {
                          first = pathComp;
                      } else if (first != pathComp) {
                          if (!second) {
                              second = pathComp;
                          } else if (second != pathComp) {
                              // stop looking
                              area = true;
                          }
                      }
                  }
              }
              path.push(area ? " x " : " ");
          }
          path.push("e");
          node.path = path.join("");
          return node;
      }
docs: Method: drawPolygon
  Render a polygon
  
  Parameters:
  node - {DOMElement}
  geometry - {<OpenLayers.Geometry>}
  
  Returns:
  {DOMElement}