
OpenLayers.Control.prototype.initialize=(function(old){return function(options){this.cssStyle=null;if(options&&options.cssStyle){this.cssStyle=options.cssStyle;}
var ret=old.apply(this,[options]);return ret;};})(OpenLayers.Control.prototype.initialize);OpenLayers.Handler.Point.prototype.mousedown=(function(old){return function(evt){if(!this.checkModifiers(evt)){}
if(this.lastDown&&this.lastDown.equals(evt.xy)){return true;}
if(this.lastDown==null){if(this.persist){this.destroyFeature();}
this.createFeature();}
this.lastDown=evt.xy;this.drawing=true;var lonlat=this.map.getLonLatFromPixel(evt.xy);this.point.geometry.x=lonlat.lon;this.point.geometry.y=lonlat.lat;this.point.geometry.clearBounds();return false;};})(OpenLayers.Handler.Point.prototype.mousedown);
