Full Screen Example

css, style, fullscreen, window, margin, padding, scrollbar

Demonstrate a map that fills the entire browser window.

This example uses CSS to define the dimensions of the map element in order to fill the screen. When the user resizes the window, the map size changes correspondingly. No scroll bars!

See the fullScreen.js source to see how this is done.