LiveActionMap icon indicating copy to clipboard operation
LiveActionMap copied to clipboard

API: Zones

Open DomiiBunn opened this issue 2 years ago • 0 comments

Create a GET API serving /api/zonesproviding a response containing all currently available markers.

Expected response

[
    {
        "positions": [
            [
                50.36429316995319,
                30.228621662109
            ],
            [
                50.51303377189189,
                30.28741424805162
            ],
            [
                50.60122461757218,
                30.787151228563896
            ],
            [
                50.44548234821721,
                30.77081995469095
            ]
        ],
        "color": "green",
        "title": "Safe Zone",
        "content": "Some safe zone over here"
    }
]

DomiiBunn avatar Mar 02 '22 11:03 DomiiBunn