Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

http://example.com:[port]/web2/secure/kartas/{plan}/layers/{base}/points/where plan is the

ParameterIs requiredDescription
planNoMap ID

...

base

...

NoLayer 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
titleNote.

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>

ParameterDescription
idObject ID in the format "TYPE:ID", for example "CAM:1"
layerIdLayer ID
mapIdMap ID
xX coordinate of the upper left corner of the object icon
yY coordinate of the upper left corner of the object icon