Description Usage Arguments Examples
Returns up to 60 places and includes street_number, route, neighborhood, locality, administrative_area_level_2, administrative_area_level_1, country, postal_code, lat, lng
1 2 | google_maps_place_search(query, type = "", location = "", radius = 50000,
api_key, nptk = "")
|
query |
What you are searching for (e.g. "hotels near Arlington, VA"). |
type |
Optional. Search by Google Maps place type (e.g. "schools"). |
location |
Optional. The latitude/longitude around which to retrieve place information. This must be specified as latitude,longitude. |
radius |
Optional. Radius in meteres around location to search. Default is 50000 and the max. |
api_key |
Google places API key. |
1 | google_maps_place_search(query = "fast food in Fairfaz City VA", api_key = "AIzaSyC9FKW-kjQlEXjfM3OgMZBJ7xE6zCN1JQI")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.