Evt_Move_Feature.prototype=new Evt_Move_Object();function Evt_Move_Feature(){}Evt_Move_Feature.prototype.do_operation=function(a){try{var f=0;var d=0;if(a._snap_type==_SNAP_NEW_POINT||a._snap_type==_SNAP_EXISTING_POINT){f=parseFloat(a._x-_SELECTED_VERTEX._x);d=parseFloat(a._y-_SELECTED_VERTEX._y)}else{if(_SELECTED_VERTEX!=null&&_SELECTED_VERTEX.equals(a)){}else{var h=null;if(this._x_move==null&&this._y_move==null){h=_MAP_WRAPPER.convert_to_geo(this._x_click,this._y_click)}else{h=_MAP_WRAPPER.convert_to_geo(this._x_move,this._y_move)}f=parseFloat(a._x-h[0]);d=parseFloat(a._y-h[1])}}var b=null;if(_LIST_OF_SELECTED_OBJECTS.length>0){b=_LIST_OF_SELECTED_OBJECTS[0]}else{b=configure_line_path_object()}b.move(f,d);if(_LIST_OF_POINTS.length>0){for(var c=0;c<_LIST_OF_POINTS.length;c++){if(b instanceof Point&&b.equals(_LIST_OF_POINTS[c])){continue}_LIST_OF_POINTS[c].move(f,d)}}_GENERIC_GIS_UTILS.log_draw_operation("move_feature",new Array(f,d));clear_extra_graphics(_SELECTION_DRAWING_ENGINE);draw_extra_graphics(false,_SELECTION_DRAWING_ENGINE)}catch(g){throw"Evt_Move_Feature.do_operation(): "+g}};
