rem: if(ref.bLastpoint && ref.bLastpoint.x == point.x && ref.bLastpoint.y == point.y) return; ref.bLastpoint = point; ref.bTempPoints.push(point); if (ref.TempOverlay){ this.removeOverlay( ref.TempOverlay ); } if (ref.bTempPoints.length){ var opts = (f.type.options[1].selected)?{geodesic:true}:null; ref.TempOverlay = new GPolyline(ref.bTempPoints,"#0000FF", 2, 1, opts) this.addOverlay( ref.TempOverlay ); } 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.poly_data.value = msg; 
add: this.panTo(point); f.circle_center.value = point.lng() + ", " + point.lat(); 
context: 				this.bAssistant = GEvent.addListener(this.Map.map, "click", function(overlay,point) {					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.TempOverlay){							this.removeOverlay( ref.TempOverlay );						}						if (ref.bTempPoints.length){							var opts = (f.type.options[1].selected)?{geodesic:true}:null;							ref.TempOverlay = new GPolyline(ref.bTempPoints,"#0000FF", 2, 1, opts)							this.addOverlay( ref.TempOverlay );						}						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.poly_data.value = msg;					}				});
meta: 1713	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1713/8e37dd0e7c2b0bc8163139e9ad13be19b0e0ff18/Edit.js/clean/templates/Edit.js