Create geofence layer

To create a graphic layer with geofences, use the command renderer/create_zones_layer:

svc=renderer/create_zones_layer&params={"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) */
}
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2024 Gurtam