mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Merge branch 'corrective-policy' into 'corrective-policy'
Add polygon type fence support See merge request entgra/carbon-device-mgt!665
This commit is contained in:
commit
ba3aa5c6ce
@ -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…
Reference in New Issue
Block a user