code: function(feature, style) {
          var rendered;
          if (feature.geometry) {
              style = this.applyDefaultSymbolizer(style || feature.style);
              // don't render if display none or feature outside extent
              var bounds = feature.geometry.getBounds();
  
              var worldBounds;
              if (this.map.baseLayer && this.map.baseLayer.wrapDateLine) {
                  worldBounds = this.map.getMaxExtent();
              }
  
              var intersects = bounds && bounds.intersectsBounds(this.extent, {worldBounds: worldBounds});
  
              rendered = (style.display !== "none") && !!bounds && intersects;
              if (rendered) {
                  // keep track of what we have rendered for redraw
                  this.features[feature.id] = [feature, style];
              }
              else {
                  // remove from features tracked for redraw
                  delete(this.features[feature.id]);
              }
              this.pendingRedraw = true;
          }
          if (this.pendingRedraw && !this.locked) {
              this.redraw();
              this.pendingRedraw = false;
          }
          return rendered;
      }
docs: Method: drawFeature
  Draw the feature. Stores the feature in the features list,
  then redraws the layer.
  
  Parameters:
  feature - {<OpenLayers.Feature.Vector>}
  style - {<Object>}
  
  Returns:
  {Boolean} The feature has been drawn completely.  If the feature has no
  geometry, undefined will be returned.  If the feature is not rendered
  for other reasons, false will be returned.