On Aug 5, 11:39 am, DJ Spiess <[email protected]> wrote:
> OK, it turned out to be a possible "dumb" question.
>
> The portlet was creating it's size based on the size of the content (the
> map).   The map hadn't initialized, so the portlet saw 0 height and sized
> accordingly.  What I've had to do is size the height of the map div
> explicitly to 300px.  Then the map displays.  If I use 100%, I get 0px
> height and no map.

100% of what?

See this (v2) tutorial from Mike Williams' that addresses percentage
sizes for maps:
The Basics - Part 20 Using a percentage height for the map div
http://econym.org.uk/gmap/basic19.htm

  -- Larry


>
> I'm not sure if this is a problem on the map's side or the portlet's side.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.

Reply via email to