Skip to content

Geofence API

Generate Geofence Map

Returns a static map image URL showing the outline of a named geofence area.

GET /api/geofence/{name}/map

Response

{
  "status": "ok",
  "url": "https://tiles.example.com/staticmap/pregenerated/abc123"
}

Distance Map

Returns a static map image URL showing a distance radius from a location.

GET /api/geofence/distance/map?lat=51.5&lon=-0.1&d=1000

Parameters

Parameter Description
lat Latitude
lon Longitude
d Distance in meters

Response

{
  "status": "ok",
  "url": "https://tiles.example.com/staticmap/pregenerated/def456"
}