changed round-about symbol, corrected bug with ENTER not working on
location input
This commit is contained in:
parent
9dcc472c60
commit
dfd3a5d554
Binary file not shown.
Binary file not shown.
Before Width: | Height: | Size: 1.4 KiB |
BIN
WebContent/images/round-about-big.png
Normal file
BIN
WebContent/images/round-about-big.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 716 B |
BIN
WebContent/images/round-about.png
Normal file
BIN
WebContent/images/round-about.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 669 B |
@ -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>
|
||||
|
@ -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] )
|
||||
|
Loading…
Reference in New Issue
Block a user