Search code examples
iconskmlgoogle-earth

Modifying icon popout in KML file


I have a KML file that is imported into Google Earth for viewing. I have the icons designated to a certain icon and color, however when I move my mouse over a group of icons the expanded icons are the default yellow pushpin. Is there a way to set the color and style of these expanded icons?

Current KML Icon section:

<IconStyle>
     <color>FF808080</color>
     <Icon>
        <href>http://maps.google.com/mapfiles/kml/shapes/track.png</href>
     </Icon>
</IconStyle>

Solution

  • Try using StyleMap and defining the highlight icon.