Assigning icons to kml files.   

Assigning icons to kml files.

Postby ovalball » Sat Dec 29, 2012 8:40 am

Could anyone please tell me if we can add our own bmp files to assign to .kml files which are in content/userdata?I know there is a folder called content/usericon but i cant find the content of this folder on my device. Are these bmps added to the icons aleady contained within primo 2 or am i looking in the wrong place?Thanks for any help.
ovalball offline


Member



 
Joined: Thu May 20, 2010 6:05 pm
Posts: 126
Has thanked: 5 times
Been thanked: 0 time

Postby nabi » Sat Dec 29, 2012 10:52 am

I think (not sure at all, certainly not about Primo) that when the userdata file has the same name as the usericon file, the icon is automatically linked at the subject userdata.

Only there might be an issue here that you may have to
put the name of the icon in the header of your KML file:

Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://earth.google.com/kml/2.1">
<Document><name>[color=#ff0000]YourPOI[/color]</name>
<metadata><igoicon><filename>[color=#ff0000]YourPOI[/color].bmp</filename></igoicon></metadata>



I have never done this, it's something I picked up. Anyway the basic advice as usual:
backup before modifying !!!
________________________________________________________________________
When I do good, no one remembers, when I do wrong, no one forgets
.
I am in a permanent state of inactivity
I won't answer to any PM, so don't send me any
nabi offline


Ex Super Mod



 
Joined: Mon Dec 28, 2009 5:22 pm
Posts: 2429
Location: somewhere unknown
Has thanked: 39 times
Been thanked: 245 times


Return to General Discussions about iGO core

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 4 guests