I'm trying to use Flash to simply load in an image returned by this
query:

http://maps.google.com/staticmap?center=40.714728,-73.998672&zoom=14&size=400x400&key=MAPS_API_KEY

And it doesn't work, for whatever reason, because Google seems to
block it.

So instead, I'd like to use a PHP proxy on my server, which would
return the image and pass it off to Flash.

However...this isn't working either. I've tried this script:

http://72.14.205.104/search?q=cache:http://www.abdulqabiz.com/files/proxy.php.txt

And also the ones here: 
http://www.kylebrekke.com/wordpress/2008/bypassing-crossdomainxml-files-using-a-php-proxy/

But it doesn't work! I get this:

proxy.php?url=http://maps.google.com/staticmap?
center=40.714728,-73.998672&zoom=14&size=400x400&key=MAPS_API_KEY&mimeType=image/
gif” cannot be displayed, because it contains errors.

Am I missing something here? Does Google block this as well? If so,
why, but if not... what am I doing wrong here?
--~--~---------~--~----~------------~-------~--~----~
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