navit-project.org
http://forum.navit-project.org/

[solved] Replacing flags with markers
http://forum.navit-project.org/viewtopic.php?f=14&t=415
Page 1 of 1

Author:  usul [ 29 Jun 2013, 06:07 ]
Post subject:  [solved] Replacing flags with markers

Hi,

to make the Start/via/end points better visible and to distinguish them from our normal POI icons. Sadly I wasn't able to change the icons by just override the flag_*.xpm files on my wince. Is that a ressource that is linked static in the binary?

Attachments:
flag_bk_tr.png
flag_bk_tr.png [ 1.25 KiB | Viewed 5836 times ]

Author:  sleske [ 29 Jun 2013, 14:30 ]
Post subject:  Re: Replacing flags with markers

No, images are not linked statically, they are always loaded at runtime.

You just changed the wrong image. The images for displaying the destination flag are nav_destination_bk.png and nav_destination_wh.png.

The images used are configured in navit.xml; the default navit.xml uses nav_destionation*.png .

BTW, I'm not sure the flag*xpm files are even used anywhere... another area where we might clean up.

Author:  usul [ 29 Jun 2013, 16:39 ]
Post subject:  Re: Replacing flags with markers

*douh* ok I got it fixed. Thank you :)

I added a cleanup step into the next release, good remark!
http://wiki.navit-project.org/index.php ... 0501#tasks

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/