For the purposes of cross-site security, http://www.towtab.com and 
http://towtab.com are considered to be different domains. The security 
system doesn't know that those two domains are aliases for the same 
thing. GDownloadUrl can't read one from the other.

Try using a relative URL instead of an absolute one. I.e. change

var searchUrl = 'http://towtab.com/xmlkms.php?lat=' + center.lat() + 
'&lng=' + center.lng() + '&radius=' + radius ;

to

var searchUrl = 'xmlkms.php?lat=' + center.lat() + '&lng=' + 
center.lng() + '&radius=' + radius ;

-- 
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to