Versions Compared

Key

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

...

Info
titleNote

If the display type of the added object on the map is different from Image, then the request receives an empty response. See also Attaching objects to the layers layer of interactive map.

Code Block
languagexml
<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>

Response parameters:

ParameterDescription
idObject ID in the format "TYPE:ID", for example "CAM:1"
layerIdLayer ID
mapIdMap ID

angle

Rotation angle of object icon

geo_angle

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

latitude

Latitude (point coordinate). The parameter has a non-zero value if:

  1. An external map is used as the layer background (see Configuring the external Map server).
  2. The layer is bound to geo coordinates (see Configuring map binding to coordinate grid)

longitude

Longitude (point coordinate). 

The parameter has a non-zero value if:

  1. An external map is used as the layer background (see Configuring the external Map server).
  2. The layer is bound to geo coordinates (see Configuring map binding to coordinate grid)
xX coordinate of the upper left corner of the object icon
yY coordinate of the upper left corner of the object icon

...