Add polygon type fence support

4.x.x
Pahansith 4 years ago
parent 574119df68
commit 09b1711b9c

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

Loading…
Cancel
Save