Rather than calculating the height through JavaScript, you might try
using conflicting absolute position styles:
http://www.alistapart.com/articles/conflictingabsolutepositions/

I've had great luck with that technique:
http://search.missouristate.edu/map/mobile/examples/template.htm

Chad Killingsworth

On Nov 30, 12:04 pm, Joseph Elfelt <[email protected]> wrote:
> The map below shows one  way to toggle a header on/off and dynamically
> resize the map to fill all the available screen space.  The center of
> the map remains the same as the map is resized.
>
> http://www.mappingsupport.com/forum_post/toggle_header.html
>
> Now that I have this working I'm going to use this space above the map
> to implement a search feature based on the map API geocoding feature.

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