When building KML for Google Earth, you can define which icons the
placemark should use, take a look at the KML below:

<?xml version="1.0" encoding="ISO-8859-1" ?>
<kml xmlns="http://www.opengis.net/kml/2.2";>
    <Document>
        <name>Map.kml</name>
        <Placemark>
            <name>Place 1</name>
            <Style>
                <IconStyle>
                    <icon>
                        <href>http://maps.google.com/mapfiles/kml/
paddle/wht-blank.png</href>
                    </icon>
                </IconStyle>
            </Style>
            <description>Some place 1</description>
            <Point>
            <coordinates>8.4904804,55.4914017,0</coordinates>
            </Point>
        </Placemark>
        <Placemark>
            <name>Place 2</name>
            <Style>
                <IconStyle>
                    <icon>
                        <href>http://maps.google.com/mapfiles/kml/
paddle/wht-blank.png</href>
                    </icon>
                </IconStyle>
            </Style>
            <description>Some place 2</description>
            <Point>
            <coordinates>8.6471395,55.4233017,0</coordinates>
            </Point>
        </Placemark>
        <Placemark>
            <name>Place 3</name>
            <Style>
                <IconStyle>
                    <icon>
                        <href>http://maps.google.com/mapfiles/kml/
paddle/wht-blank.png</href>
                    </icon>
                </IconStyle>
            </Style>
            <description>Some place 3</description>
            <Point>
            <coordinates>8.7616501,55.3266983,0</coordinates>
            </Point>
        </Placemark>
    </Document>
</kml>

The above works fine for Google Earth, but in Google Maps it show the
standard icon (blue balloon with a dot inside).

How can I get Google Maps to display other icons?

--~--~---------~--~----~------------~-------~--~----~
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