Esri's Geotrigger Service is replacing Geoloqi! Learn More | FAQ

layer/nearby

Contents

URL

https://api.geoloqi.com/1/layer/nearby

Description

Find nearby layers given a coordinate.

Supported Request Methods

POST

Scope

layer

Parameters

  • latitude Optional
    Specify a latitude and longitude to search for nearby layers
  • longitude Optional
    Specify a latitude and longitude to search for nearby layers
  • geocode Optional
    If the geocode parameter is present, the text provided will be geocoded and that location will be used for the search.
  • application_id
    If 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
    }
  ]
}