navit-project.org

forum for navit navigation tool
It is currently 24 Jun 2017, 19:10
View unanswered posts | View active topics


All times are UTC


Forum rules


Feel free to ask anything here related to the development process - coding, creating new features, fixing bugs and custom changes of Navit.

Note: For reporting bugs, use the bug tracker.



Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: [solved] Replacing flags with markers
PostPosted: 29 Jun 2013, 06:07 
Offline
User avatar

Joined: 07 Jun 2013, 09:32
Posts: 200
Location: Rostock, North Germany
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 2769 times ]
 Profile  
 
 Post subject: Re: Replacing flags with markers
PostPosted: 29 Jun 2013, 14:30 
Offline

Joined: 23 Jun 2013, 20:15
Posts: 65
Location: Essen, Germany
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.


 Profile  
 
 Post subject: Re: Replacing flags with markers
PostPosted: 29 Jun 2013, 16:39 
Offline
User avatar

Joined: 07 Jun 2013, 09:32
Posts: 200
Location: Rostock, North Germany
*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


 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Silver Orange 2.0.6 for IPB Designed by Skins and Hosting
Converted for phpBB3, based on Royal Blue template by BigB © 2007 2008 AEON KINGS