code: function(geometry, style, featureId) {
          if(style.graphic !== false) {
              if(style.externalGraphic) {
                  this.drawExternalGraphic(geometry, style, featureId);
              } else if (style.graphicName && (style.graphicName != "circle")) {
                  this.drawNamedSymbol(geometry, style, featureId);
              } else {
                  var pt = this.getLocalXY(geometry);
                  var p0 = pt[0];
                  var p1 = pt[1];
                  if(!isNaN(p0) && !isNaN(p1)) {
                      var twoPi = Math.PI*2;
                      var radius = style.pointRadius;
                      if(style.fill !== false) {
                          this.setCanvasStyle("fill", style);
                          this.canvas.beginPath();
                          this.canvas.arc(p0, p1, radius, 0, twoPi, true);
                          this.canvas.fill();
                          if (this.hitDetection) {
                              this.setHitContextStyle("fill", featureId, style);
                              this.hitContext.beginPath();
                              this.hitContext.arc(p0, p1, radius, 0, twoPi, true);
                              this.hitContext.fill();
                          }
                      }
  
                      if(style.stroke !== false) {
                          this.setCanvasStyle("stroke", style);
                          this.canvas.beginPath();
                          this.canvas.arc(p0, p1, radius, 0, twoPi, true);
                          this.canvas.stroke();
                          if (this.hitDetection) {
                              this.setHitContextStyle("stroke", featureId, style);
                              this.hitContext.beginPath();
                              this.hitContext.arc(p0, p1, radius, 0, twoPi, true);
                              this.hitContext.stroke();
                          }
                          this.setCanvasStyle("reset");
                      }
                  }
              }
          }
      }
docs: Method: drawPoint
  This method is only called by the renderer itself.
  
  Parameters:
  geometry - {<OpenLayers.Geometry>}
  style    - {Object}
  featureId - {String}