code: function(node, geometry, style) {
          style = style || node._style;
  
          var options = {
              'isFilled': style.fill === undefined ?
                  true :
                  style.fill,
              'isStroked': style.stroke === undefined ?
                  !!style.strokeWidth :
                  style.stroke
          };
          var drawn;
          switch (geometry.CLASS_NAME) {
              case "OpenLayers.Geometry.Point":
                  if(style.graphic === false) {
                      options.isFilled = false;
                      options.isStroked = false;
                  }
                  drawn = this.drawPoint(node, geometry);
                  break;
              case "OpenLayers.Geometry.LineString":
                  options.isFilled = false;
                  drawn = this.drawLineString(node, geometry);
                  break;
              case "OpenLayers.Geometry.LinearRing":
                  drawn = this.drawLinearRing(node, geometry);
                  break;
              case "OpenLayers.Geometry.Polygon":
                  drawn = this.drawPolygon(node, geometry);
                  break;
              case "OpenLayers.Geometry.Rectangle":
                  drawn = this.drawRectangle(node, geometry);
                  break;
              default:
                  break;
          }
  
          node._options = options; 
  
          //set style
          //TBD simplify this
          if (drawn != false) {
              return {
                  node: this.setStyle(node, style, options, geometry),
                  complete: drawn
              };
          } else {
              return false;
          }
      }
docs: Method: drawGeometryNode
  Given a node, draw a geometry on the specified layer.
  node and geometry are required arguments, style is optional.
  This method is only called by the render itself.
  
  Parameters:
  node - {DOMElement}
  geometry - {<OpenLayers.Geometry>}
  style - {Object}
  
  Returns:
  {Object} a hash with properties "node" (the drawn node) and "complete"
  (null if parts of the geometry could not be drawn, false if nothing
  could be drawn)