Map size is determined when it is created by the container manager.
After this, the map does not track possible changes to its size.
In order for the map to change its size to the current size,
call the fitToViewport() function.
If you copy the full code of the example to a new HTML document,
the opened map will take up the entire browser viewport.
Map size is determined when it is created by the container manager. After this, the map does not track possible changes to its size. In order for the map to change its size to the current size, call the fitToViewport() function.
If you copy the full code of the example to a new HTML document, the opened map will take up the entire browser viewport.