I'd like to add a further variable to my kml file. An ID for example. It should look like this:
KML: <Placemark><id>4</id> <name>Önsbach</name><description><![CDATA[OberkirchDas ist Önsbach E-Mail: <a href="mailto:[email protected]">[email protected]</ a>]]></description> <Point><coordinates>8.077112,48.531860,0.0000</coordinates> </Point> </Placemark> function addDataPoint2(coordinates, name, description, id) { // addDataPoint: save the data for a placemark found by the KML processor var d2 = data2.length; data2[d2] = {coords2: coordinates, title2: name, details2: description, elementid: id}; }; My question how do I add an ID to a Placemark. What's wrong about my code? Could somebody help me? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
