How to display Google map on entire screen

23 views
Skip to first unread message

Mustafa646

unread,
Jul 20, 2011, 12:10:16 PM7/20/11
to Google Maps JavaScript API v3
I want to display Google map on entire screen. It should be displayed
on entire screen no matter whats the size of screen. What parameters
should i use in div control ?

Martin™

unread,
Jul 20, 2011, 1:31:44 PM7/20/11
to Google Maps JavaScript API v3

Pil

unread,
Jul 20, 2011, 2:23:52 PM7/20/11
to Google Maps JavaScript API v3


On Jul 20, 6:10 pm, Mustafa646 <noorc...@gmail.com> wrote:
> I want to display Google map on entire screen. It should be displayed
> on entire screen no matter whats the size of screen.

Fortunately not possible when the user doesn't want it.
:-)
Message has been deleted

Noah Damiani

unread,
Jul 20, 2011, 10:48:13 PM7/20/11
to google-map...@googlegroups.com
Do you mean Fullscreen, or just the full size of the webpage?


This CSS will make your map fill the whole browser:

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

#map_canvas {
  height: 100%;
}
  #map_canvas {
    height: 650px;
  }
}
Reply all
Reply to author
Forward
0 new messages