From: Mike Williams <nos...@econym.demon.co.uk>
Date: Mon, 3 Oct 2005 07:56:31 +0100
Local: Mon, Oct 3 2005 4:56 pm
Subject: Re: text API
If you really don't want to convert your text into XML, then I suggest
you start like this: Grab the XML example code from my tutorial
http://www.econym.demon.co.uk/googlemaps/basic3.htm
Then make the following changes to the XML processing bit to convert it
* use request.responseText instead of request.responseXML
* rip out all the getElementsBtTagName and getAttribue stuff and replace
var gpsDoc = request.responseText;
// Split it on 'newline' into an array of lines // Loop through the lines
// If empty don't process
// Split each line on ':' into an array of parts
// Grab the parts
var marker = new GMarker(new GPoint(lng,lat));
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.
| ||||||||||||||