From: debaser <jamiebar...@gmail.com>
Date: Tue, 7 Oct 2008 04:07:31 -0700 (PDT)
Local: Tues, Oct 7 2008 7:07 am
Subject: Re: Extracting a div defined as CDATA in KML, using javascript?
Yeah, if it's Firefox right? Now to make a custom script to check
browser versions and other stuff just to extract a CDATA node. Yay. Fun. Thanks Andy
On Oct 6, 4:55 pm, Andy R <andy.ros...@bluewin.ch> wrote:
> Try ... childNodes[1].nodeValue;
> On 6 Okt., 12:24, debaser <jamiebar...@gmail.com> wrote:
> > 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
> > 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.
| ||||||||||||||