added more turn instructions, changed clickability of gui

This commit is contained in:
DennisSchiefer 2012-03-10 17:08:25 +01:00
parent 93892b9806
commit ee41fb45b7
9 changed files with 17 additions and 3 deletions

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 739 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 746 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 615 B

After

Width:  |  Height:  |  Size: 635 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 682 B

After

Width:  |  Height:  |  Size: 607 B

View File

@ -159,7 +159,7 @@ html, body, #map {
{
position:absolute;
bottom:15px;
top:50px;
top:60px;
width:380px;
font-size:12px;
overflow:auto;
@ -267,6 +267,7 @@ html, body, #map {
/* generally useful styles */
.not-selectable
{
cursor:default;
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;

View File

@ -58,7 +58,7 @@
<div id="main-wrapper" class="gui-wrapper">
<!-- input box -->
<div id="main-input" class="gui-box">
<div class="gui-box not-selectable" id="main-input">
<div id="main-toggle" onclick="OSRM.GUI.toggleMain()"></div>
<img id="osrm-logo" alt="OSRM Logo" src="images/osrm-logo.png" />
@ -98,7 +98,7 @@
</div>
<!-- output box -->
<div id="main-output" class="gui-box">
<div class="gui-box not-selectable" id="main-output">
<div id="information-box-headline"></div>
<div id="information-box"></div>
<div id="legal-notice">GUI by Dennis Schieferdecker</div>

View File

@ -378,6 +378,19 @@ function getDirectionIcon(name) {
"Continue":"continue.png",
"Turn slight left":"slight-left.png",
"Turn slight right":"slight-right.png",
"Turn sharp left":"sharp-left.png",
"Turn sharp right":"sharp-right.png",
"Enter round-about and leave at first exit":"round-about-9.png",
"Enter round-about and leave at second exit":"round-about-9.png",
"Enter round-about and leave at third exit":"round-about-9.png",
"Enter round-about and leave at forth exit":"round-about-9.png",
"Enter round-about and leave at fifth exit":"round-about-9.png",
"Enter round-about and leave at sixth exit":"round-about-9.png",
"Enter round-about and leave at seventh exit":"round-about-9.png",
"Enter round-about and leave at eighth exit":"round-about-9.png",
"Enter round-about and leave at nineth exit":"round-about-9.png",
"Enter round-about and leave at tenth exit":"round-about-9.png",
"Enter round-about and leave at one of the too many exit":"round-about-9.png",
};
if( directions[name] )