src/Cornford/Googlmapper/MapperBase.php
public function setZoom($value)
	{
		if (!is_numeric($value)) {
			throw new MapperArgumentException('Zoom level must be an integer.');
		}

		if ($value < 1 || $value > 20) {
			throw new MapperArgumentException('A zoom level must be between 1 and 20.');
		}

		$this->zoom = $value;
	}
public function setZoom($value)
	{
		if (!is_numeric($value)) {
			throw new MapperArgumentException('Zoom level must be an integer.');
		}

		if ($value < 1 || $value > 20) {
			throw new MapperArgumentException('A zoom level must be between 1 and 20.');
		}

		$this->zoom = $value;
	}
public function setZoom ( $ value ) { if ( ! is_numeric ( $ value ) ) { throw new MapperArgumentException ( 'Zoom level must be an integer.' ) ; } if ( $ value < 1 || $ value > 20 ) { throw new MapperArgumentException ( 'A zoom level must be between 1 and 20.' ) ; } $ this -> zoom = $ value ; }
Set map zoom level.

@param integer $value

@throws MapperArgumentException

@return void
Set map zoom level .