{"name":"Geofencing API","version":"1.0.0","endpoints":[{"method":"GET","path":"/api/layers","description":"Get all layers"},{"method":"GET","path":"/api/geofences/:layerId","description":"Get geofences for a specific layer"},{"method":"POST","path":"/api/geofences","description":"Upload new geofence data"},{"method":"POST","path":"/api/check-location","description":"Check if a location is within a geofence"},{"method":"DELETE","path":"/api/geofences/:geofenceId","description":"Delete geofence data"},{"method":"POST","path":"/api/calculate-distance","description":"Calculate straight-line distance between two points"},{"method":"POST","path":"/api/batch-calculate-distance","description":"Calculate distances from one point to multiple points and sort by proximity"},{"method":"POST","path":"/api/reverse-geocode","description":"Convert coordinates to a physical address"},{"method":"POST","path":"/api/geocode","description":"Convert an address to coordinates"},{"method":"POST","path":"/api/static-map","description":"生成带有位置标记的静态地图图像"},{"method":"POST","path":"/api/static-map-multi","description":"生成带有多个位置标记的静态地图图像"},{"method":"POST","path":"/api/static-map-path","description":"生成带有路径线的静态地图图像"}]}