public function MapInterface::setSize in Openlayers 7.3
Set the size of the map.
Parameters
array $size: An array with two elements, a width and a height.
Return value
MapInterface The map.
1 method overrides MapInterface::setSize()
- Map::setSize in src/
Types/ Map.php - Set the size of the map.
File
- src/
Types/ MapInterface.php, line 145 - Interface MapInterface.
Class
- MapInterface
- Interface MapInterface.
Namespace
Drupal\openlayers\TypesCode
public function setSize(array $size = array());