I am working on a map to pull geocoded addresses from a database
within a certain distance of a location in the state of Oregon that is
pulled from an AJAX form request to a PHP script.  The PHP script
echoes a series of records like this:

var point = new GLatLng(45.51794052,-122.60224915); var marker =
createMarker(point,'
Address: 713 SE 60TH AVE APT 101
Name: JOHN DOE
Party: DEM DOB: 19831207
'); map.addOverlay(marker);
Address: 713 SE 60TH AVE APT 101
Name: JANE DOE
Party: REP DOB: 19831207
'); map.addOverlay(marker);


What I don't understand is how to return the data as points into the
map within the context of the map on the resulting AJAX request:

function stateChanged()
{
  if (xmlhttp.readyState==4)
 {
   document.getElementById("output").innerHTML=xmlhttp.responseText;
   var output=xmlhttp.responseText;
   document.getElementById("map").innerHTML=xmlhttp.responseText;
 }
}

For an example check here:
http://www.vanguardcampaigns.com/test/test2.php

(use 100 SE Burnside Portland, OR as an example)

Any suggestions as to display these markers in the map context would
be most appreciated.

--

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.


Reply via email to