> My question how do I add an ID to a Placemark.

If you're asking 'where' to add custom data and keep it as valid KML,
try -
   http://code.google.com/apis/kml/documentation/extendeddata.html

If you're asking 'how' do I add to KML, that would depend on how you
store or generate your KML, and you don't say how you do that.  It
might be a flat file, generated on the fly from php/MySQL, etc etc

> What's wrong about my code?

No idea - what's it supposed to do?
The snippet is completely useless  without the conext of whatever data
you are feeding it.

> Could somebody help me?

You'll have to help others to help you.
See -
http://groups.google.com/group/Google-Maps-API/web/suggested-posting-guidelines
and
http://groups.google.com/group/Google-Maps-API/web/why-including-a-link-is-critical?_done=%2Fgroup%2FGoogle-Maps-API%3F

cheers, Ross K
--~--~---------~--~----~------------~-------~--~----~
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