I copied the data from Pamela’s v3 tutorial and got a working XML
version on my local machine.
Now I changed phpsqlsearch_genxml.php to output json, the output looks
like this:
[
{
"address": "1445 Foxworthy Ave, San Jose, CA",
"name": "Giorgio's",
"lat": "37.274647",
"lng": "-121.892891",
"distance": "19.87341148022"
},
{
"address": "4302 Moorpark Ave, San Jose, CA",
"name": "Round Table Pizza",
"lat": "37.315903",
"lng": "-121.977928",
"distance": "21.8619290343098"
}
]
Is there someone who an help me change the javascript to read the json
instead of the xml, or maybe knows a tutorial (maps v3) where it's
explained?
Thanks again
Bob
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.