Icon tag in xml file

taxi

New Member
I am working on an app where I want to display a kml file overlayed on google maps. This kml file consists of markers of which I would like to set a custom icon for them. The icons are stored on my pc. My question is how am I able to access these icons from my kml file in order to display them on the map. The following is what I attempted to do, by storing the icon in the same file of the kkml file, BUT it does not work.\[code\]<?xml version="1.0" encoding="utf-8"?><kml xmlns="http://www.opengis.net/kml/2.2"> <Document> <name>route</name> <Placemark> <name>445</name> <description>Market</description> <Style> <IconStyle> <Icon> <href>0.png</href> </Icon> </IconStyle> </Style> <Point> <coordinates>14.5139685555926,35.898079278121</coordinates> </Point> </Placemark> </Document></kml>\[/code\]
 
Back
Top