function RoadPoint(D,B,A,C){this.latlng=D;this.request=B;this.response=A;this.roadident=C;this.marker=null;this.hide=function(){this.marker.hide()};this.show=function(){map.setCenter(this.latlng)};this.remove=function(){this.marker.setMap(null)};this.getHtml=function(){var E="";E+="<b>"+this.response.foundAs+" "+this.request.street_number+"</b><br />";
E+=this.response.zip+" "+this.response.municipality+"<br>";E+="<a href=\"javascript:setRoutePointFrom('"+this.latlng.lat()+"','"+this.latlng.lng()+"')\">";E+='<img src="images/start_hex.png" style="border:0px; margin-right:3px;" title="Διαδρομή από" alt="Διαδρομή από" />';E+="</a>";E+="<a href=\"javascript:setRoutePointTo('"+this.latlng.lat()+"','"+this.latlng.lng()+"')\">";
E+='<img src="images/stop_hex.png" style="border:0px; margin-right:3px;" title="Διαδρομή έως" alt="Διαδρομή έως" />';return E};this.getText=function(){var F="";var E=trim(this.request.street_number);F+=this.response.foundAs;if(E.length>0){F+=" "+E}F+=", ";F+=this.response.municipality;return F};this.getType=function(){return ELTYPE_ROAD
};this.getIdent=function(){return this.roadident};this.equals=function(E){if(E.getType()==this.getType()){if((this.latlng.lat()==E.latlng.lat())&&(this.latlng.lng()==E.latlng.lng())){return true}}return false};this.init=function(){map.setCenter(this.latlng);var E=new google.maps.Marker({position:this.latlng,map:map,icon:iconPerCategoryId[SELECTED_ICON],title:this.response.foundAs});
this.marker=E;google.maps.event.addListener(E,"click",function(){showSelectedPoints()})};this.getAttributes=function(){return["vertex"]}};
