From: debaser <jamiebar...@gmail.com>
Date: Mon, 6 Oct 2008 03:24:10 -0700 (PDT)
Local: Mon, Oct 6 2008 6:24 am
Subject: Extracting a div defined as CDATA in KML, using javascript?
Hi all,
I have a KML file which defines a description used for the infoWindow.
<Placemark>
My problem comes in now, that instead of using the built in GGeoXml
GDownloadUrl(mapDataKmlUrl, function(data, responseCode) {
... where doStuff shows markers depending on the content defined in
GEvent.addListener(marker, "click", function() {
I tried the following:
function retrieveDescriptionFromPlacemark(placemark) {
}
... but it returns a blank string for that node. Any suggestions on
how to get the actual div content would be greatly appreciated. Thanks,
James
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||