When adding points, we use backward interpolation method. PrePointId represents the id of the previous node; if it is 0, it means inserting the node at the head;
When adding multiple points, a prePointId of-1 means that they were added after the previous node; in the return value, if id <= 0 means that the insertion was not successful
{
"mapLabelId": "string",
"coords": [
{
"id": 0,
"prePointId": 0,
"lng": 0,
"lat": 0
}
]
}curl --location --request POST 'https://192.168.88.11:9781/bvcsp/v1/maplabel/location/create' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
"mapLabelId": "string",
"coords": [
{
"id": 0,
"prePointId": 0,
"lng": 0,
"lat": 0
}
]
}'{
"code": 0,
"msg": "string",
"data": [
{
"id": 0,
"prePointId": 0,
"mapLabelId": "string",
"lng": 0,
"lat": 0
}
]
}