So something like this would fix it, taking the "colles ward" xml for
example

<marker name="Abraham Colles"  pic='&lt;center&gt;&lt;img src="http://
www.stjames.ie/images/map/resize/con.jpg" width ="600" height ="200"
&lt;br&gt;&lt;a href="http://www.stjames.ie/internetnew/Departments/
WardsA-Z/A/AbrahamColles/" target="blank" &gt;&lt;center&gt;View Ward
Information &lt;/a&gt;&lt;center&gt; ' lat="53.33868" lng="-6.29593"
category="colles" />

As you can see, the width and height are now defined.  So this would
be the solution, yes?


On Feb 13, 10:39 am, Mike Williams <[email protected]> wrote:
> Wasn't it Patrick who wrote:
>
>
>
> >1 final problem which would be problem 7
>
> >7).  When I click on the marker (red arrow) and it shows me an image
> >inside a white rounded border, well for some reason, sometimes only,
> >the image is half way outside of the background border.  Is there a
> >solution for this.
>
> You need to add height and width attributes to your <img> so that the
> API knows how much space to allocate, because it allocates the space
> before the browser finishes loading the image.
>
> The second time you use the same image, it's available from cache so the
> browser can tell the API how big it is.
>
> --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