How to get the content of a KML <description> tag

Hi,
so far I was successfull to read the name of a clicked KML placemark with prickedObject.id.name

My question now is, how I could access the content of the <description> tag?

Any help would be very appreciated.

Rudiger

The final computed description for a KML object is available in the entity.description property. In a pickedObject, the id property is the entity (if an entity was picked) So you can retrieve it as follows:

var description = pickedObject.id.description.getValue(time);

Time is the current scene time. You can omit the time parameter if you are 100% sure the description property is a static value.

Thanks,
very helpful......

Ruediger