switched back to using normal images in route description (FF wasn't
actually faster, he just reported wrong numbers)
This commit is contained in:
parent
869b13e9db
commit
eb3c2f560e
@ -279,10 +279,7 @@ html, body {
|
||||
.result-direction
|
||||
{
|
||||
width:18px;
|
||||
height:21px;
|
||||
|
||||
background-repeat:no-repeat;
|
||||
background-position:center;
|
||||
height:18px;
|
||||
}
|
||||
.result-distance
|
||||
{
|
||||
|
@ -66,7 +66,7 @@ show: function(response) {
|
||||
route_desc += '<tr class="'+rowstyle+'">';
|
||||
|
||||
route_desc += '<td class="result-directions">';
|
||||
route_desc += '<div class="result-direction" style="background-image:url(\''+ OSRM.RoutingDescription.getDrivingInstructionIcon(response.route_instructions[i][0]) + '\');"></div>';
|
||||
route_desc += '<img class="result-direction" src="'+ OSRM.RoutingDescription.getDrivingInstructionIcon(response.route_instructions[i][0]) + '" alt=""/>';
|
||||
route_desc += '</td>';
|
||||
|
||||
route_desc += '<td class="result-items">';
|
||||
|
Loading…
Reference in New Issue
Block a user