Page won't open for me using IE8.

On Jun 17, 12:49 pm, andrewljohnson <[email protected]> wrote:
> Hi all,
>
> I am trying to create a static GMap as follows:
>
> var img = dec('img');
> img.src = "http://maps.google.com/staticmap?center="; + map.target.lat
> + ',' + map.target.long + "&zoom=14&size=460x250&markers=" +
> map.target.lat + ',' + map.target.long + '&key=' + gmapKey +
> "&sensor=False/";
>
> When I run this code locally, it works fine.
>
> However, if you go to this page:http://www.trailbehind.com/node/1148091/,
> and click the orange link on the left - "Email this Location" - the
> map does not show up in the pop-up as it should.
>
> When looking at the request in FireBug, I see that I am getting a 400
> (bad request) back from Google. However, if I copy and paste the URL
> that 400ed into my browser, it works fine. For example:
>
> http://maps.google.com/staticmap?center=37.84637,-119.50903&zoom=14&s...
>
> So, what am I missing here? Why the 400 onwww.trailbehindbut not on
> localhost? I'm pretty sure I'm switching GMap keys properly.
--~--~---------~--~----~------------~-------~--~----~
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