Thread: Navit on N900
View Single Post
Posts: 445 | Thanked: 367 times | Joined on Nov 2010 @ Italy
#617
Originally Posted by rdorsch View Post
If you want to add POIs like pub, you need to extend osm.c, compile maptool, create your custom maps with maptool, and then extend navit.xml to allow navit to display them.
i tried to add the poi amenity=bicycle_parking

using ubuntu i dowloaded sources and modified osm.c:
i just added a new line with "? amenity=bicycle_parking poi_bicycle_parking\n" after static char *attrmap={ (line 376)

just this?

then i compiled navit successfully, and made a map.bin from osm.xml using maptool

now how can i modify navit.xml ? i tried to add the poi in the bike layout but no results, i added a line <itemgra item_types="poi_bicycle_parking" order="14-"> <icon src="bench.png"/> </itemgra>
i put bench.png just to try as i don't have a bikeparking.png icon, and i don't know where should i put the new icons

ps:sorry for bit OT but maybe is of use for other navit users...and in navit irc channel nobody replies
 

The Following User Says Thank You to gianko For This Useful Post: