I am using the maps javascript api V2 with the earth plugin to add /
remove kml via checkboxes. I am having a few problems in getting my
custom icon to display in the map window, it displays instead the
default google blue 'balloon'. I would like it to be my custom icon.

My kml code that defines the icon is as follows:

<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://earth.google.com/kml/2.0";>
<Folder>
  <Folder id="FeatureLayer">
    <Placemark>
      <Style id="000000_0_0">
        <IconStyle>
          <Icon>
            <href>http://www.myurl.com/test/kml/nodes.png</href>
            <x>0</x>
            <y>0</y>
            <w>32</w>
            <h>32</h>
          </Icon>
        </IconStyle>
      </Style>
      <Point>
        <extrude>0</extrude>
        <altitudeMode>relativeToGround</altitudeMode>
        <coordinates> 37.200797,19.619653,0.000000</coordinates>
      </Point>
    </Placemark>
  </Folder>
</Folder>
</kml>

Am I missing something obvious?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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-api?hl=en.

Reply via email to