JTwitterPlaces::getSimilarPlaces
Method to locate places near the given coordinates which are similar in name.
Signature
public function getSimilarPlaces(float
$lat,
[float
$long = null,
[string
$name = null,
[string
$within = null,
[string
$attribute = null,
[string
$callback = null]]]]] )
Parameters
-
$lat
- The latitude to search around.
-
$long
- The longitude to search around.
-
$name
- The name a place is known as.
-
$within
- This is the place_id which you would like to restrict the search results to.
-
$attribute
- This parameter searches for places which have this given street address.
-
$callback
- If supplied, the response will use the JSONP format with a callback of the given name.
Returns
- array
- The decoded JSON response