On Jan 20, 6:07 am, Marcus <[email protected]> wrote:
> Hey there,
>
> I'm having a problem with my map. In Firefox and Safari, the following
> code creates a map, with the marker centralized on the canvas. In
> Internet Explorer 6 & 7, the marker is placed top-left (at the correct
> position on the map), but not centrally on the canvas. If anyone can
> help, it's driving me mad.
>

Please read and follow the posting guidelines:
http://groups.google.com/group/Google-Maps-API/web/suggested-posting-guidelines?hl=en
and post a link to your map that shows the problem not (incomplete)
code.

>
> So, the marker is correctly placed, and the lat/lng is found
> perfectly. It's just that in Internet Explorer the given lat/lng is
> top-left aligned on the canvas and there is grey space to the right,
> where the map ends. It is as if in IE, the map rectangle is not being
> positioned correctly on the canvas.
>

Try searching for "top left" or "IE table".  The most likely cause of
your problem is that the div that contains the map is either hidden
when the map is created or the DOM is not completely defined.  Try
map.checkResize() or the options size argument to the map constructor.

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