Thank you for the help. THing is it used to work without the icon tags so I
suspect it's something else. And I added the icon part and it still won't
work:

<?xml version="1.0" encoding="UTF-8"?><kml xmlns="
http://www.opengis.net/kml/2.2"; xmlns:gx="http://www.google.com/kml/ext/2.2";
xmlns:kml="http://www.opengis.net/kml/2.2"; xmlns:atom="
http://www.w3.org/2005/Atom";><Document><Placemark><name></name><Style
id="blue">
<IconStyle>
<Icon>
<href>http://maps.gstatic.com/mapfiles/ms/icons/blue-dot.png</href>
</Icon>
</IconStyle>
</Style><description><![CDATA[<img src="
http://lh5.ggpht.com/uGkZDiofn7J1qMTcnhNG--T7NmYddDrEiEYcLwRvXCvIy_dVoIZa5gLh4j8ENegMGGmo0FKr3BapYqTKCYUWgotyOQ=s100";><a
href="http://www.koolbusiness.com/vi/4394184";> Samsung NP-N310
</a><br/>Samsung NP-N310 is a 15.6 inch laptop comes with attractive price
and outstanding features. Samsung NP-N310 featuring with Intel Atom
...]]></description><styleUrl>#blue</styleUrl><Point><coordinates>77.58,12.98</coordinates></Point></Placemark><Placemark><name></name><Style
id="blue">
<IconStyle>
<Icon>
<href>http://maps.gstatic.com/mapfiles/ms/icons/blue-dot.png</href>
</Icon>
</IconStyle>
</Style><description><![CDATA[<img src="
http://lh4.ggpht.com/fG6X2fXec7a98S-R6QDufwAfYtPOI_BTSwY-6QJQCrUGndeTmQk3TTaPC7kF_Y9gADjo3cD6uGcCj2sAb70PQ1JmdQI=s100";><a
href="http://www.koolbusiness.com/vi/4395183";> Part Time Job or Data Entry
Job or Work At Home </a><br/>Take the Franchisee of Amit Info Service at
free of cost &amp; easily earn Rs.40000+ Per Month &amp; get Hero
...]]></description><styleUrl>#blue</styleUrl><Point><coordinates>77.22,28.67</coordinates></Point></Placemark>

On Thu, Nov 10, 2011 at 1:41 PM, Pil <[email protected]> wrote:

> Now you have the same reference with the same id to one and the same
> icon many times. An id - as in HTML - should always be unique,
> otherwise its invalid.
>
> If there is a style definition like
>
> <Style id="blue">
> <IconStyle>
> <Icon>
> <href>http://whatever.com/bluedoth.png</href>
> </Icon>
> </IconStyle>
> </Style>
>
>
> you can refer to this style like
>
>
> <Placemark>
> <name>Whatever</name>
> <description><![CDATA[
> Whatever]]></description>
>
> <styleUrl>#blue</styleUrl>
> <Point>
> <coordinates>-121.434599,37.740223</coordinates>
> </Point>
> </Placemark>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Maps JavaScript API v3" group.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to