src/Cornford/Googlmapper/Mapper.php
public function streetview($latitude, $longitude, $heading, $pitch, array $options = [])
	{
		$parameters = array_replace_recursive(
			$this->getOptions(),
			[
				'latitude' => $latitude,
				'longitude' => $longitude,
				'heading' => $heading,
				'pitch' => $pitch,
				'map' => 'map_' . count($this->getItems())
			],
			$options
		);

		$item = new Streetview($parameters);
		$this->addItem($item);

		return $this;
	}
public function streetview($latitude, $longitude, $heading, $pitch, array $options = [])
	{
		$parameters = array_replace_recursive(
			$this->getOptions(),
			[
				'latitude' => $latitude,
				'longitude' => $longitude,
				'heading' => $heading,
				'pitch' => $pitch,
				'map' => 'map_' . count($this->getItems())
			],
			$options
		);

		$item = new Streetview($parameters);
		$this->addItem($item);

		return $this;
	}
public function streetview ( $ latitude , $ longitude , $ heading , $ pitch , array $ options = [ ] ) { $ parameters = array_replace_recursive ( $ this -> getOptions ( ) , [ 'latitude' => $ latitude , 'longitude' => $ longitude , 'heading' => $ heading , 'pitch' => $ pitch , 'map' => 'map_' . count ( $ this -> getItems ( ) ) ] , $ options ) ; $ item = new Streetview ( $ parameters ) ; $ this -> addItem ( $ item ) ; return $ this ; }
Add a new street view map.

@param float   $latitude
@param float   $longitude
@param integer $heading
@param integer $pitch
@param array   $options

@return self
Add a new street view map .