Find the nearest locations
find_nearest_locationsRank locations by distance from a point, the way the widget ranks them for a visitor. Also answers questions about the data when given tag or q without a point.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Match against name, address and description. | |
| lat | No | Latitude of the point to measure from. | |
| lng | No | Longitude of the point to measure from. | |
| tag | No | Only locations carrying this category name. | |
| limit | No | Default 25, maximum 200. | |
| units | No | Default km. | |
| radius | No | Only return locations within this distance. | |
| includeHidden | No | Include locations hidden from the public locator. |