You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Добавление видеокамеры на карту

{
    "method": "axxonsoft.bl.maps.MapService.UpdateMarkers",
    "data": {
        "changed": {
            "map_id": "00000000-0000-0000-0000-000000000002",
            "updated": {
                "position": {
                    "x": 37.342491,
                    "y": 55.684160
                },
                "component_name": "hosts/SERVER1/DeviceIpint.1/SourceEndpoint.video:0:0",
                "display_title": true,
                "camera_marker": {
                    "field_of_view": {
                        "angle": 50,
                        "direction": {
                            "x": 0,
                            "y": 60000
                        }
                    },
                    "video_frame_arrangement": {
                        "incline": 0,
                        "distance": 0,
                        "angle": 0
                    }
                }
            }
        }
    }
}

Примечание.

  • component_name – путь к видеокамере.
  • Видеокамеру на карту можно добавить только 1 раз. Последующий запрос на добавление видеокамеры перезапишет ее на новое место.

Добавление маркера перехода на другую карту

{
"method": "axxonsoft.bl.maps.MapService.UpdateMarkers",
"data": {
    "changed": {
            "map_id":"f1bf882b-7137-4542-8650-03c0eaa4411e",
            "updated":{
                        "position":{
                                    "x":0.5,
                                    "y":0.5
                                    },
                        "component_name": "transition",
                        "display_title":true,
                        "transition_marker": {
                                        "linked_map_id": "03e1221e-5683-4d27-b68c-79ab9201f067"
                                        }
                        }
                }
        }
}



  • No labels