Link to home
Start Free TrialLog in
Avatar of erzoolander
erzoolander

asked on

Dynamic Google Map JSON or XML and AJAX

Hi -

I'm not much of a front end/javascript type person - so forgive me if my question seems a little obvious.

I've got a google map (api v3).  I want to be able to send search queries to some backend scripts that I've generated that will output the name, latitude and longitude of various things depending on the search criteria.  I'd then like that output to be updated to the google map on screen without having to reload the page.

I've written the backend SQL scripts and PHP - for both JSON and XML - and they work perfectly.  It's populating the front end that I'm having difficulty with - and I can't find any decent documentation on how to properly do it.

Is it an AJAX routine that I'm looking for - and what's your best suggestion on how to get it done?

The routine needs to:
send the query to the script (GET, variables)
grab the response (either in XML or JSON)
Clear the map of previous search markers
Populate with new search marker results

Thanks!
ASKER CERTIFIED SOLUTION
Avatar of Evan Cutler
Evan Cutler
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial