Contents |
URL
https://api.geoloqi.com/1/layer/nearby
Description
Find nearby layers given a coordinate.
Supported Request Methods
POST
Scope
layer
Parameters
- latitude OptionalSpecify a latitude and longitude to search for nearby layers
- longitude OptionalSpecify a latitude and longitude to search for nearby layers
- geocode OptionalIf the geocode parameter is present, the text provided will be geocoded and that location will be used for the search.
- application_idIf included, only layers created by the specified application.
Response
The response will be an array of layers objects formatted as in API/layer/info
{ "nearby": [ { "layer_id": "HW", "user_id": "4", "type": "normal", "name": "Calagator", "public": 1, "icon": "http://loqi.me/calagator/calagator.png", "description": "Get alerts about upcoming PDX tech events near you!", "latitude": 45.5224, "longitude": -122.6332, "radius": 5000 } ] }