Go to documentation repository
Page History
General request format:
http://example.com:[port]IP-address:port/web2/secure/kartas/{plan}/layers/{base}/points/{CAM:2 – request for information on a point corresponding to the camera with id 2.
where plan is the Map ID;
base is the Layer ID.
Sample of response:
<point>
id}
Request parameters:
Parameter | Is required | Description |
---|---|---|
plan | No | Map ID |
base | No | Layer ID |
Example request:
http://127.0.0.1:8085/web2/secure/kartas/plan/layers/base/points/CAM:2
Example response:
Code Block | ||
---|---|---|
| ||
<point> <id>CAM:2</id> |
...
<layerId>base</layerId> |
...
<mapId>plan</mapId> |
...
<x>200.0</x> |
...
<y>200.0</y> |
...
</point> |
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