Add polygon type fence support

This commit is contained in:
Pahansith 2020-10-12 22:09:43 +05:30
parent 574119df68
commit 09b1711b9c

View File

@ -213,6 +213,8 @@ public class PolicyManagerUtil {
operationPayload.addProperty("longitude", geofence.getLongitude());
operationPayload.addProperty("radius", geofence.getRadius());
operationPayload.addProperty("name", geofence.getFenceName());
operationPayload.addProperty("fenceShape", geofence.getFenceShape());
operationPayload.addProperty("geoJson", geofence.getGeoJson());
profileOperation.setPayLoad(operationPayload.toString());
}
}