Documentation for Intellect 4.11.0-4.11.3. Documentation for other versions of Intellect is available too.

Previous page Next page


You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

General request format:

http://IP-address:port/web2/secure/kartas/{plan}/layers/{base}/points/

Request parameters:

ParameterIs requiredDescription
planNoMap ID
baseNoLayer ID


Example request:

http://127.0.0.1:8085/web2/secure/kartas/2/layers/2/points/

Example response:

Note.

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>
    <layerId>2</layerId>
    <mapId>2</mapId>
    <angle>0.0</angle>
    <geo_angle>0.0</geo_angle>
    <latitude>43.47727</latitude>
    <longitude>43.602381</longitude>
    <x>95.0</x>
    <y>329.0</y>
  </point>
</points>
ParameterDescription
idObject ID in the format "TYPE:ID", for example "CAM:1"
layerIdLayer ID
mapIdMap ID

angle

Object icon rotation angle

geo_angle

Viewing angle (for camera, see Configuring the camera viewing angle display on the Map)

latitude

Latitude (point coordinate)

longitude

Longitude (point coordinate)

xX coordinate of the upper left corner of the object icon
yY coordinate of the upper left corner of the object icon

The coordinate plane is attached to the layer as follows:

 

I.e. x and y cannot be negative, but can be fractional.

  • No labels