Maps SDK for Web
tt.FullscreenControl
A FullscreenControl control contains a button for toggling the map in and out of fullscreen mode.
Constructor
tt.FullscreenControl([options])
Example
map.addControl(new tt.FullscreenControl({
container: document.querySelector('body')
}));
Parameters
Name | Description |
---|---|
options
Object default:None |
Object with options |
options.container
HTMLElement default:None |
container is the compatible DOM element which should be made full screen. By default, the map container element will be made full screen. |