On 26 January 2012 12:21, [email protected]
<[email protected]> wrote:
>
> The attached example displays a map with an info window consisting of a div
> with several paragraphs. Some of the paragraphs spill over below the bottom
> of the info window.
This doesn't work:
<script src="//maps.google.com/maps?file=api&v=2"
type="text/javascript"></script>
Version 2 ought to have a key, although the check is bypassed for file
and localhost urls; but you need http: in there as well. Please check
that examples actually work! The easiest way to do that is to host
them somewhere and provide a link.
However: have you tried not creating HTML elements and just providing
the text? Or, if you must create elements, then correctly use CSS to
format the text. What this issue tends to indicate is that the API is
using a different style to calculate the infoWindow size from what is
actually displayed. See http://econym.org.uk/gmap/css.htm for a
discussion which may apply in this case.
--
You received this message because you are subscribed to the Google Groups
"Google Maps API V2" 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.