That will mostly work, but is not technically valid KML. You would be best to put a <Folder> either instead of the <Document> or just inside it. A <Document> is only meant to directly contain one feature.
As for icons, one of the easiest way is to try playing in Google Earth, and then viewing the resultant KML. - A tip is to get your placemakr as you want it, then right click and select Copy, and the just paste the KML direct into a text editor. On 05/03/2009, dkane <[email protected]> wrote: > > Well the following achieves what I wanted. I don't know if this is > correct but it does work. You can copy and paste into a *.kml file a > google displays exactly what I wanted, 3-different pins based on > unquie lat/long positions for each. Now I have to read all the KML > stuff and figure out how to change the PIN to an arrow. Very new to > me all of this stuff. > > > <?xml version="1.0" encoding="UTF-8"?> > > <kml xmlns="http://earth.google.com/kml/2.0"> > <Document> > > <Placemark> > <name>1101</name> > <Point> > <coordinates>-095.618107, 29.898305,0</coordinates> > </Point> > <description><![CDATA[Dave]]></description> > </Placemark> > > <Placemark> > <name>1103</name> > <Point> > <coordinates>-095.618207, 29.898505,0</coordinates> > </Point> > <description><![CDATA[Nigel]]></description> > </Placemark> > > <Placemark> > <name>1123</name> > <Point> > <coordinates>-095.618307, 29.898505,0</coordinates> > </Point> > <description><![CDATA[Ken]]></description> > </Placemark> > > </Document> > </kml> > > > > On Mar 4, 3:27 pm, Rossko <[email protected]> wrote: > > > Is is possible to have a KML contain multiple placemarks? > > > > Yes, but the example you posted contains only one. > > > > http://code.google.com/apis/kml/documentation/kml_tut.html > > > > I believe you are only allowed one <point> per <placemark>. > > > > cheers, Ross K > > > -- Barry - www.nearby.org.uk - www.geograph.org.uk - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
