rem: 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);  for(var i=0; i<this.bTempPoints.length; i++){ if (i == 0){ msg = this.bTempPoints[i].x + ', ' + this.bTempPoints[i].y; }else{ msg += ', ' + this.bTempPoints[i].x + ', ' + this.bTempPoints[i].y; } }  this.bModPData.value = msg; }); 
add: if (point) { if(ref.bLastpoint && ref.bLastpoint.x == point.x && ref.bLastpoint.y == point.y) return; ref.bLastpoint = point; ref.bTempPoints.push(point); if (ref.bTP){ this.removeOverlay( ref.bTP ); } if (ref.bTempPoints.length){ ref.bTP = new GPolyline(ref.bTempPoints,"#0000FF", 2, 1) this.addOverlay( ref.bTP ); } for(var i=0; i<ref.bTempPoints.length; i++){ if (i == 0){ msg = ref.bTempPoints[i].y + ', ' + ref.bTempPoints[i].x; }else{ msg += ', ' + ref.bTempPoints[i].y + ', ' + ref.bTempPoints[i].x; } } f.points_data.value = msg; } }); 
context: 				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);		                		for(var i=0; i<this.bTempPoints.length; i++){									if (i == 0){										msg = this.bTempPoints[i].x + ', ' + this.bTempPoints[i].y;									}else{	                				msg += ', ' + this.bTempPoints[i].x + ', ' + this.bTempPoints[i].y;									}	                		}												                		this.bModPData.value = msg;	              	});
meta: 1713	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1713/75e730cccb0d880fda545e3a30c9583ee38f7898/Edit.js/buggy/templates/Edit.js