zone/

CRUD actions for zones. Note that zone points are handled separately because they are represented by big arrays of data.

zone is JSON object with one of types: sausage, circle or polygon.

circle:

{
    "id": 1,                    // (int) zone id
    "type": "circle",
    "label": "Zone name",       // (string) zone label
    "address": "Karlsplatz, 2", // (string) zone address
    "color": "27A9E3",          // (string) zone color in 3-byte RGB hex format
    "radius": 150,              // (int) circle radius in meters
    "center": {                 // (location object) location of circle center
        "lat": 48.200940,
        "lng": 16.369856
    }
}

polygon:

{
    "id": 1,                    // (int) zone id
    "type": "polygon",
    "label": "Zone name",       // (string) zone label
    "address": "Karlsplatz, 2", // (string) zone address
    "color": "27A9E3",          // (string) zone color in 3-byte RGB hex format
}

sausage:

represents all points within certain distance to the specified polyline

{
    "id": 1,                    // (int) zone id
    "type": "sausage",
    "label": "Zone name",       // (string) zone label
    "address": "Karlsplatz, 2", // (string) zone address
    "color": "27A9E3",          // (string) zone color in 3-byte RGB hex format
    "radius": 150               // (int) polyline radius in meters
} 

If you have more questions please contact our support team

Contacts

USA: +1 858 815 9045

Mexico: +52 334 1642158

UK: +44 808 1641499

Germany: +49 1573 5988250

Russia: +7 495 223 0427

Log in

Login

[clean-login]

CLOSE
Register

[clean-login-register]

CLOSE
Loading...