Go to documentation repository
Previous page Next page
This setting is optional. The function of displaying the camera viewing angle on the map allows you to mark the area on the map that the camera displays on the surveillance monitor in real time.
Besides, when you select a camera with the configured viewing angle on the map, the numerical value of the absolute coordinates (the rotation angle) is displayed on top of the displayed sector (see Object tracking on interactive map).
To configure the display of the camera viewing angle on the map, do the following:
Configuring the display of the camera viewing angle on the map is complete.
You can change the color of the sector limiting the viewing angle by using the script. The example of the color change command for the JScript is presented below:
var msg = CreateMsg();
msg.SourceType = "MAP";
msg.Action = "OBJECT_ATTRIBUTE";
msg.SetParam("obj_type", "CAM");
msg.SetParam("obj_id", "1"); // Camera object identifier.
msg.SetParam("obj_action", "update_sector");
msg.SetParam("c_clr", "#AAFF0000"); // ARGB format. RGB without transparency can also be used.
DoReact(msg);