code: function(geometry, style, featureId) {
          var className = geometry.CLASS_NAME;
          if ((className == "OpenLayers.Geometry.Collection") ||
              (className == "OpenLayers.Geometry.MultiPoint") ||
              (className == "OpenLayers.Geometry.MultiLineString") ||
              (className == "OpenLayers.Geometry.MultiPolygon")) {
              for (var i = 0; i < geometry.components.length; i++) {
                  this.drawGeometry(geometry.components[i], style, featureId);
              }
              return;
          }
          switch (geometry.CLASS_NAME) {
              case "OpenLayers.Geometry.Point":
                  this.drawPoint(geometry, style, featureId);
                  break;
              case "OpenLayers.Geometry.LineString":
                  this.drawLineString(geometry, style, featureId);
                  break;
              case "OpenLayers.Geometry.LinearRing":
                  this.drawLinearRing(geometry, style, featureId);
                  break;
              case "OpenLayers.Geometry.Polygon":
                  this.drawPolygon(geometry, style, featureId);
                  break;
              default:
                  break;
          }
      }
docs: Method: drawGeometry
  Used when looping (in redraw) over the features; draws
  the canvas.
  
  Parameters:
  geometry - {<OpenLayers.Geometry>}
  style - {Object}