function RoutePoint(D,B,A,C){this.latlng=D;this.data=B;this.routeident=A;this.marker=null;this.routefrom=C;this.hide=function(){this.marker.hide()};this.show=function(){map.setCenter(this.latlng)};this.remove=function(){this.marker.setMap(null);removeRoutePoint(this.routefrom)};this.getHtml=function(){var E="";
E+="<b>"+this.data.roadName+" "+this.data.roadNumber+"</b><br />";E+=this.data.roadZip+" "+this.data.roadMunicipality+"<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 E="<b>Σημείο Έναρξης Διαδρομής: </b>";if(!this.routefrom){E="<b>Σημείο Τερματισμού Διαδρομής: </b>"
}E+=this.data.roadName;return E};this.getType=function(){return ELTYPE_ROUTINGPOINT};this.getIdent=function(){return this.userident};this.equals=function(E){if(E.getType()==this.getType()){if(1==2){return true}}return false};this.init=function(){map.setCenter(this.latlng);var F="images/markers/Scaled_Start.png";
if(!this.routefrom){F="images/markers/Scaled_Stop.png"}var E=new google.maps.Marker({position:this.latlng,map:map,icon:F,title:this.data.roadName});this.marker=E;google.maps.event.addListener(E,"click",function(){showSelectedPoints()})};this.getAttributes=function(){return["vertex"]}};
