Added support for radarsearch and place details

This commit is contained in:
Rasmus Bengtsson 2014-01-28 17:04:00 +01:00
parent 3d003c63a3
commit 90814cb718
2 changed files with 52 additions and 0 deletions

View file

@ -46,6 +46,22 @@ $google_places->pageToken = $results['next_page_token'];
$page2_results = $google_places->nearbySearch();
```
### Radar search
```php
$google_places->location = array(-33.86820, 151.1945860);
$google_places->radius = 800;
$google_places->types = 'restaurant'; // Requires keyword, name or types
$results = $google_places->radarSearch();
```
### Place details
```php
$google_places->reference = '#reference#'; // Reference from search results
$details = $google_places->details();
```
The Fututre
-----------