mirror of
https://github.com/BertoldVdb/ZoneDetect.git
synced 2026-04-25 14:37:45 +00:00
Readd safezone to web interface
This commit is contained in:
parent
57f36c2956
commit
6ab3a273a4
1 changed files with 3 additions and 0 deletions
|
|
@ -44,6 +44,9 @@ invocation_response zd_handler(invocation_request const& request){
|
|||
}else{
|
||||
float safezone = 0;
|
||||
auto results = ZDLookup(zd, lat, lon, &safezone);
|
||||
|
||||
body["Safezone"] = safezone;
|
||||
|
||||
if(results){
|
||||
int index = 0;
|
||||
while(results[index].lookupResult != ZD_LOOKUP_END) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue