src/Cornford/Googlmapper/Mapper.php
protected function searchLocation($location)
	{
		$request = file_get_contents(
			sprintf(
				'https://maps.googleapis.com/maps/api/geocode/json?address=%s&sensor=false&key=%s',
				urlencode($location),
				$this->getKey()
			)
		);

		return json_decode($request);
	}
protected function searchLocation($location)
	{
		$request = file_get_contents(
			sprintf(
				'https://maps.googleapis.com/maps/api/geocode/json?address=%s&sensor=false&key=%s',
				urlencode($location),
				$this->getKey()
			)
		);

		return json_decode($request);
	}
protected function searchLocation ( $ location ) { $ request = file_get_contents ( sprintf ( 'https://maps.googleapis.com/maps/api/geocode/json?address=%s&sensor=false&key=%s' , urlencode ( $ location ) , $ this -> getKey ( ) ) ) ; return json_decode ( $ request ) ; }
Search for a location against Google Maps Api.

@param string $location

@return mixed
Search for a location against Google Maps Api .