Set the vertices of a point, a polygon or a polyline
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
The "geometry" parameter must be a stringified JsonObject object containing the geometry id and vertices .
The "verticesAsJsonString" parameter must be a stringified JsonArray object containing the geometry vertices.
These vertices must be JsonArray objects too, and must contain the latitude first and the longitude second in the WGS84 projection.
Therefore, the latitude value must be between -85 and +85 and the longitude one must be between -180 and +180.
For a polygon , you need at least 4 vertices in the "verticesAsJsonString" parameter and the first and the last vertice must be the same.
For a polyline , you need at least 2 vertices in the "verticesAsJsonString" parameter.
For a point, ex : [[lat, lng]]
