Go to documentation repository
Page History
http://example.com:[port]/web2/secure/kartas/{plan}/layers/{base}/points/where plan is the
| Parameter | Is required | Description |
|---|---|---|
| plan | No | Map ID |
...
| base |
...
| No | Layer ID |
...
id in the sample is the same as id of object in configuration. Id is not necessarily equal to CAM:1. Id is to be considered as a line.
The coordinate plane is attached to the layer as follows:
...
I.e. x and y cannot be negative, but can be fractional.Sample of response:
Example request:
http://172.17.11.72:8085/web2/secure/kartas/1/layers/1/points/
Example response:
| Info | ||
|---|---|---|
| ||
If the display type of the object on the map is different from Image, then an empty response is received. See also Attaching objects to the layers of interactive map |
<points>
<point>
<id>CAM:1</id>
...
<y>600.0</y>
</point>
</points>
| Parameter | Description |
|---|---|
| id | Object ID in the format "TYPE:ID", for example "CAM:1" |
| layerId | Layer ID |
| mapId | Map ID |
| x | X coordinate of the upper left corner of the object icon |
| y | Y coordinate of the upper left corner of the object icon |
Overview
Content Tools