Create geofence layer
To create a graphic layer with geofences, use the command renderer/create_zones_layer:
svc=renderer/create_zones_layer¶ms={"rname":<text>,
"showCaptions":<bool>,
"zones":[{
"resourceId":<long>,
"zoneId":[<long>]
}]}
Parameters
Name | Description |
rname | renderer name (see Create image renderer) |
showCaptions | show geofences names: 0 - no, 1 - yes |
zones | array of geofences |
resourceId | resource ID |
zoneId | geofence ID |
Reponse
{
"error":<uint> /* error code (0 - successful execution) */
}