ah good call. The values are there when I include the alert before and just inside the GDownloadUrl call. However, the alert dosnt even register at the end of GDownloadUrl before the map.addOverlay (marker). So it looks like the GDownloadUrl must be bombing out. But why? Is something not available to it now that we are in the query_locations function?
On Sep 10, 12:39 pm, KirAsh4 <[email protected]> wrote: > On Sep 10, 1:28 pm, GG <[email protected]> wrote: > > > k I implemented those changes. the map loads (which is farther than I > > have ever got with this before) but I am not getting my markers. Am I > > concatenating these variables correctly? > > > var loclat = point.lat(); > > var loclng = point.lng(); > > > // Feed to GDownloadUrl > > GDownloadUrl("map-data.php?location_lat="+loclat > > +"&location_long="+loclng+"", function(doc) { > > Times like this I go into debug mode. Right before you feed the > values to GDownloadUrl, send an alert: > > var loclat = point.lat(); > var loclng = point.lng(); > alert("loclat= " + loclat + "\nloclng= " + loclng); > > If the values are there, then it's GDownloadUrl failing. If they're > not there, we have a problem ... --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
