changed round-about symbol, corrected bug with ENTER not working on

location input
This commit is contained in:
DennisSchiefer 2012-03-13 10:26:31 +01:00
parent 9dcc472c60
commit dfd3a5d554
6 changed files with 14 additions and 14 deletions

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 716 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 669 B

View File

@ -23,7 +23,7 @@
<script src="OSRM.base.js"></script>
<script src="OSRM.config.js"></script>
<script defer="defer" src="OSRM.debug.js"></script>
<!-- <script defer="defer" src="OSRM.debug.js"></script> -->
<script src="OSRM.Browser.js"></script>
<script src="OSRM.GUI.js"></script>
@ -67,14 +67,14 @@
<table class="full">
<tr>
<td id="gui-search-source-label">Start:</td>
<td><input id="input-source-name" class="input-box" type="text" value="Karlsruhe" title="Startposition eingeben" onkeypress="if(event.keyCode==13) {callGeocoder(OSRM.SOURCE_MARKER_ID, document.getElementById('input-source-name').value);}" /></td>
<td><input id="input-source-name" class="input-box" type="text" value="Karlsruhe" title="Startposition eingeben" onkeypress="if(event.keyCode==13) {callGeocoder(OSRM.SOURCE_MARKER_LABEL, document.getElementById('input-source-name').value);}" /></td>
<!-- <td class="right"><a class="button not-selectable" id="gui-here-target" onclick="">i</a></td> -->
<td class="right"><a class="button not-selectable" id="gui-search-source" onclick="callGeocoder(OSRM.SOURCE_MARKER_LABEL, document.getElementById('input-source-name').value);">Suchen</a></td>
</tr>
<tr>
<td id="gui-search-target-label">Ende:</td>
<td><input id="input-target-name" class="input-box" type="text" value="Aalen" title="Zielposition eingeben" onkeypress="if(event.keyCode==13) {callGeocoder(OSRM.TARGET_MARKER_ID, document.getElementById('input-target-name').value);}" /></td>
<td><input id="input-target-name" class="input-box" type="text" value="Aalen" title="Zielposition eingeben" onkeypress="if(event.keyCode==13) {callGeocoder(OSRM.TARGET_MARKER_LABEL, document.getElementById('input-target-name').value);}" /></td>
<!-- <td class="right"><a class="button not-selectable" id="gui-here-target" onclick="">i</a></td> -->
<td class="right"><a class="button not-selectable" id="gui-search-target" onclick="callGeocoder(OSRM.TARGET_MARKER_LABEL, document.getElementById('input-target-name').value);">Suchen</a></td>
</tr>

View File

@ -380,17 +380,17 @@ function getDirectionIcon(name) {
"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",
"Enter round-about and leave at first exit":"round-about.png",
"Enter round-about and leave at second exit":"round-about.png",
"Enter round-about and leave at third exit":"round-about.png",
"Enter round-about and leave at forth exit":"round-about.png",
"Enter round-about and leave at fifth exit":"round-about.png",
"Enter round-about and leave at sixth exit":"round-about.png",
"Enter round-about and leave at seventh exit":"round-about.png",
"Enter round-about and leave at eighth exit":"round-about.png",
"Enter round-about and leave at nineth exit":"round-about.png",
"Enter round-about and leave at tenth exit":"round-about.png",
"Enter round-about and leave at one of the too many exit":"round-about.png",
};
if( directions[name] )