Readd safezone to web interface

This commit is contained in:
Bertold Van den Bergh 2019-11-20 16:59:49 +01:00
parent 57f36c2956
commit 6ab3a273a4

View file

@ -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) {