Firstly, apologies for asking this question as I am sure it has
already been asked/covered in a hundred other forums.
I am relatively new to KML, and I am trying to map a hundred or so
building with one KML file. I can get one Placemark to display but I
am having issues getting multiple Placemarks to appear.
Below is a brief version of what I have created, but when I try and
run it through the Google KML Interactive Sampler I get the Error
Parsing KML error.
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2">
<Placemark>
<name>Grosvenor Place</name>
<visibility>1</visibility>
<description><![CDATA[
225 George St, Sydney<br>
<br>
Map Ref: C_1<br>
Precinct: Core<br>
Grade: Premiun<br>
Full Floors Available: 3<br>
]]></description>
<Point>
<coordinates>151.20716,-33.86288,0</coordinates>
</Point>
<Style>
<IconStyle>
<Icon>
<href>http://maps.google.com/mapfiles/kml/shapes/
shaded_dot.png
</href>
</Icon>
<colorMode>normal</colorMode>
<color>ff54edff</color>
</IconStyle>
</Style> >
</Placemark>
<Placemark>
<name>Chifley Tower</name>
<visibility>1</visibility>
<description><![CDATA[
2 Chifley Sq, Sydney<br>
<br>
Map Ref: C_2<br>
Precinct: Core<br>
Grade: Premiun<br>
Full Floors Available: 6<br>
]]></description>
<Point>
<coordinates>151.21166,-33.86615,0</coordinates>
</Point>
<Style>
<IconStyle>
<Icon>
<href>http://maps.google.com/mapfiles/kml/shapes/
shaded_dot.png
</href>
</Icon>
<colorMode>normal</colorMode>
<color>ff54edff</color>
</IconStyle>
</Style> >
</Placemark>
</kml>
Can anyone see where I am going wrong??
Many thanks in advance.
Try wrapping your <Placemarks> in a <Document>
http://code.google.com/apis/kml/documentation/kmlreference.html#document
Almost seems too easy!!! LOL