> I was thinking that I maybe could generate an physical XML file (name
> it with a random generated hash, like:
> jk2hjk234238423jkh23423j4h23.xml) while performing the query on the
> DB. Call that XML file in the Google Maps Javascript code and at the
> end of the page delete that physical XML file again.
Nooo, don't do that. When the client end does something like
GDownloadUrl(mydata.php) it has no idea what mydata.php actually is.
It need not be an actual file of results.
What many people do is write a script that is called mydata.php.
The script does the searching and does something like
echo "<xmldata>heres the data </xmldata>";
When this arrives at the client, it has no idea it isn't a real file,
and that it was created dynamically. It's just data.
That's oversimplified, but from that starter, review the classic
example -
http://code.google.com/apis/maps/articles/phpsqlsearch.html
and it should al click into place.
cheers, Ross K
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Maps API" 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-API?hl=en
-~----------~----~----~----~------~----~------~--~---