use relative image locations

This commit is contained in:
DennisSchiefer
2012-04-16 12:28:16 +01:00
parent 0ba881c390
commit 9bd4b77278
3 changed files with 6 additions and 6 deletions
@@ -154,9 +154,9 @@ getDrivingInstructionIcon: function(server_instruction_id) {
local_icon_id += server_instruction_id;
if( OSRM.G.images[local_icon_id] )
return OSRM.G.images[local_icon_id].src;
return OSRM.G.images[local_icon_id].getAttribute("src");
else
return OSRM.G.images["direction_0"].src;
return OSRM.G.images["direction_0"].getAttribute("src");
},
// retrieve driving instructions from instruction ids