rem: this.bAssistant = GEvent.addListener(this.Map.map, "click", function(overlay, point){ if (point) { this.panTo(point); f['geo[lng]'].value = point.lng(); f['geo[lat]'].value = point.lat(); } }); 
add: this.bAssistant = GEvent.addListener(this.Map.map, "click", function(overlay,point) { if(this.bLastpoint && this.bLastpoint.x==point.x && this.bLastpoint.y==point.y) return; this.bLastpoint = point;  this.bTempPoints.push(point); this.Map.map.removeOverlay(this.bTP); this.bTP = new GPolyline(this.bTempPoints); this.Map.map.addOverlay(this.bTP); alert('in ast'); for(var i=0; i<this.bTempPoints.length; i++){ if (i == 0){ msg = this.bTempPoints[i].y + ', ' + this.bTempPoints[i].x; }else{ msg += ', ' + this.bTempPoints[i].y + ', ' + this.bTempPoints[i].x; } }  this.bModPData.value = msg; }); 
context: 			this.bAssistant = GEvent.addListener(this.Map.map, "click", function(overlay, point){			  if (point) {				this.panTo(point);				f['geo[lng]'].value = point.lng();				f['geo[lat]'].value = point.lat();			  }			});
meta: 1713	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1713/75e730cccb0d880fda545e3a30c9583ee38f7898/Edit.js/buggy/templates/Edit.js