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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to