On Nov 1, 12:37 pm, Mike Williams <[EMAIL PROTECTED]> wrote:
> When the browser hasn't yet fetched the image when the API asks it how
> big the contents are, it has no idea how big the image is going to be,
> so it allows zero space for it.
>
> If you know how big the image is going to be, add height and width
> attributes to the <img>.
>
> <img src=\"...\" width=\"200\" height=\"135\">
>
> --http://econym.org.uk/gmap
> The Blackpool Community Church Javascript Team

Aah, yes that makes sense. I will pass the javascript function the
image size as well. Thanks very much!
--~--~---------~--~----~------------~-------~--~----~
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