APIs
Log In
APIs

addPolygonWithHashmap

Add polygons to a mapdata

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

The "polygon" parameter must be a stringified JsonObject object containing the polygons vertices and attributes.

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.
You need at least 4 vertices to make a polygon and the first and the last vertice must be equal in order to close the polygon.
The attributes must be represented by a JsonObject containing attribute name/attribute value pairs.

Date Type Attribute if add a geometry with a date type attribute. Date value format : dd-MM-yyyy (example 12-02-2016)

If successful, this method adds the polygons to the mapdata defined by the "mapdataName" parameter and returns a 200 HTTP response containing the newly added polygons ids.

Responses

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json