Go to documentation repository
Page History
...
The MAP object sends events presented in the table. Procedure is started when the corresponding event appears. Format of events procedure for the map:
...
Event | Description |
LAYER_ACTIVATED | Layer activation. This event is received when a Layer is selected on the Map. The layer ID is put into the obj_id<> parameter. |
ACTIVATE_OBJECT | Object activation. The event is received when an object is selected (activated) on the map. Parameters: obj_type <> – object type user_id<> – user ID
|
...
Command | Parameters | Description |
SET_TOPMOST – set topmost | - | - |
SET_NOTOPMOST – cancel topmost | - | - |
HIDE_OBJECT – Hide/show object icon on the map | objtype<> | Object ID. Can be left empty. If the object type is not set, then objects of all types are hidden/shown. |
objid<> | Object ID. Can be left empty. If If the ID is not set, then all objects of specified type are hidden/shown. | |
hide<> | 0 – objects are shown on the map. 1 – objects are hidden on the map. | |
SET_OBJECT_GEOMETRY – set object location on the map | objtype<> | Object type. |
objid<> | Object ID. | |
x<> | New coordinate of the top left corner of the object icon on the map layer in pixels along the X axis. | |
y<> | New coordinate of the top left corner of the object icon on the map layer in pixels along the Y axis. | |
exclude_children<> | By default, when using the SET_OBJECT_GEOMETRY reaction, when moving the object icons, the names of these objects (child objects) also move. If you pass the exclude_children <1> parameter in the reaction, then the object is moved separately from the children, that is, without its name. | |
INSCRIBE – inscribe to window | - | - |
SHOW_MINIMAP – show a minimap | x<> | The coordinate of the upper-left corner of the minimap along the X axis in pixels. |
y<> | The coordinate of the upper-left corner of the minimap along the Y axis in pixels. | |
w<> | Width of minimap in pixels. | |
h<> | Height of minimap in pixels. | |
monitor<> | Monitor ID. | |
__slave_id<> | Net name. | |
SET_ZOOM - set Map scale. | zoom<> | Map scale ratio. |
...