added favicon,
removed commata that IE was complaining about
This commit is contained in:
parent
b8944da9dc
commit
aa952df541
@ -27,7 +27,7 @@ L.DashedPolyline = L.Polyline.extend({
|
||||
|
||||
options: {
|
||||
dashed: true
|
||||
},
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
@ -41,7 +41,7 @@ L.DashedPolyline = !L.Browser.svg ? L.DashedPolyline : L.DashedPolyline.extend({
|
||||
else
|
||||
this._path.setAttribute('stroke-dasharray', '');
|
||||
}
|
||||
},
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
@ -55,6 +55,6 @@ L.DashedPolyline = L.Browser.svg || !L.Browser.vml ? L.DashedPolyline : L.Dashed
|
||||
else
|
||||
this._stroke.dashstyle = "solid";
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
});
|
||||
|
@ -49,5 +49,5 @@ L.MouseMarker = L.Marker.extend({
|
||||
shiftKey: e.shiftKey,
|
||||
button: e.button
|
||||
});
|
||||
},
|
||||
}
|
||||
});
|
@ -24,7 +24,7 @@ or see http://www.gnu.org/licenses/agpl.txt.
|
||||
|
||||
OSRM.Browser = {
|
||||
FF3: useragent.search(/Firefox\/3/),
|
||||
IE6_9: useragent.search(/MSIE (6|7|8|9)/),
|
||||
IE6_9: useragent.search(/MSIE (6|7|8|9)/)
|
||||
};
|
||||
}());
|
||||
|
||||
|
@ -75,6 +75,6 @@ toggleOptions: function() {
|
||||
} else {
|
||||
document.getElementById('options-box').style.visibility="visible";
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
};
|
@ -29,7 +29,7 @@ translate: function(text) {
|
||||
return OSRM.Localization["en"][text];
|
||||
else
|
||||
return text;
|
||||
},
|
||||
}
|
||||
};
|
||||
|
||||
// shorter call to translate function
|
||||
@ -65,7 +65,7 @@ OSRM.Localization["de"] = {
|
||||
"DISTANCE": "Distanz",
|
||||
"DURATION": "Dauer",
|
||||
"YOUR_ROUTE_IS_BEING_COMPUTED": "Ihre Route wird berechnet",
|
||||
"NO_ROUTE_FOUND": "Keine Route hierher möglich",
|
||||
"NO_ROUTE_FOUND": "Keine Route hierher möglich"
|
||||
};
|
||||
|
||||
|
||||
@ -98,5 +98,5 @@ OSRM.Localization["en"] = {
|
||||
"DISTANCE": "Distance",
|
||||
"DURATION": "Duration",
|
||||
"YOUR_ROUTE_IS_BEING_COMPUTED": "Your route is being computed",
|
||||
"NO_ROUTE_FOUND": "No route possible",
|
||||
"NO_ROUTE_FOUND": "No route possible"
|
||||
};
|
@ -65,7 +65,7 @@ centerView: function(zooming) {
|
||||
},
|
||||
toString: function() {
|
||||
return "OSRM.Marker: \""+this.label+"\", "+this.position+")";
|
||||
},
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
@ -78,7 +78,7 @@ OSRM.inheritFrom( OSRM.HighlightMarker, OSRM.Marker );
|
||||
OSRM.extend( OSRM.HighlightMarker, {
|
||||
toString: function() {
|
||||
return "OSRM.HighlightMarker: \""+this.label+"\", "+this.position+")";
|
||||
},
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
@ -143,7 +143,7 @@ onDragEnd: function(e) {
|
||||
},
|
||||
toString: function() {
|
||||
return "OSRM.RouteMarker: \""+this.label+"\", "+this.position+")";
|
||||
},
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
@ -61,7 +61,7 @@ onClick: function(e) {
|
||||
},
|
||||
toString: function() {
|
||||
return "OSRM.Route("+ this.label + ", " + this.route.getLatLngs().length + " points)";
|
||||
},
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
@ -28,5 +28,5 @@ OSRM.DEFAULTS = {
|
||||
ONLOAD_LONGITUDE: 10.10,
|
||||
ONLOAD_SOURCE: "",
|
||||
ONLOAD_TARGET: "",
|
||||
LANGUAGE: "en",
|
||||
LANGUAGE: "en"
|
||||
};
|
||||
|
BIN
WebContent/images/osrm-favicon.ico
Normal file
BIN
WebContent/images/osrm-favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
@ -1,3 +1,5 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
|
||||
<!--
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU AFFERO General Public License as published by
|
||||
@ -15,7 +17,6 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
or see http://www.gnu.org/licenses/agpl.txt.
|
||||
-->
|
||||
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html>
|
||||
|
||||
|
||||
@ -28,6 +29,9 @@ or see http://www.gnu.org/licenses/agpl.txt.
|
||||
<meta name="description" content="OSRM Website"/>
|
||||
<meta name="author" content="Dennis Schieferdecker" />
|
||||
|
||||
<!-- favicon -->
|
||||
<link rel="shortcut icon" href="images/osrm-favicon.ico" type="image/x-icon" />
|
||||
|
||||
<!-- stylesheets -->
|
||||
<link rel="stylesheet" href="leaflet/leaflet.css" type="text/css"/>
|
||||
<link rel="stylesheet" href="main.css" type="text/css"/>
|
||||
|
@ -394,7 +394,7 @@ function getDirectionIcon(name) {
|
||||
"Enter roundabout and leave at eighth exit":"round-about.png",
|
||||
"Enter roundabout and leave at nineth exit":"round-about.png",
|
||||
"Enter roundabout and leave at tenth exit":"round-about.png",
|
||||
"Enter roundabout and leave at one of the too many exit":"round-about.png",
|
||||
"Enter roundabout and leave at one of the too many exit":"round-about.png"
|
||||
};
|
||||
|
||||
if( directions[name] )
|
||||
|
Loading…
Reference in New Issue
Block a user