The only thing you'd have to change from that is isntead of always reading the entire file, pass the information about what data you want to the server in the GDownloadUrl command
GDownloadUrl ( "myscript.php?type="+foo, function (doc2)... and have the server SELECT only records which match the criteria: $type = $_REQUEST["type"]; SELECT * from myfile WHERE type = $type; -- http://econym.org.uk/gmap The Blackpool Community Church Javascript Team --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
