Hi Peter,

It works!!! Thanks a lot. :p

Regards,
Anqi


2015-03-10 7:58 GMT+00:00 Peter <[email protected]>:

>  Did you recompile? E.g.
> ./graphhopper.sh clean
> ./graphhopper.sh web your.osm.pbf
>
>
> Regards,
> Peter
>
>
> On 09.03.2015 23:20, 高安琪 wrote:
>
>  Hi,
>
>  I add a new vehicle type -- lorry.
>
>  I find it shows alt="web.lorry" on the front end as follow.
> <img src="img/lorry.png" alt="web.lorry">
>
>  What I expected is alt="Lorry". So I look through main.js and find it
> uses a TranslationMap to convert some information. Then I change the
> file en_US.txt. (I think it may be a TranslationMap?)
>
>  In the file:
> web.car=Car
>  web.foot=Foot
>
>  So I add lorry to this file in the same format.
> web.lorry=Lorry
>
>  But it still doesn't work. (It still shows web.lorry on the front end)
>
>  Could you please give me some suggestions?
>
>  With many thanks,
> Anqi
>
>
>
> _______________________________________________
> GraphHopper mailing 
> [email protected]https://lists.openstreetmap.org/listinfo/graphhopper
>
>
>
> _______________________________________________
> GraphHopper mailing list
> [email protected]
> https://lists.openstreetmap.org/listinfo/graphhopper
>
>
_______________________________________________
GraphHopper mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/graphhopper

Reply via email to