Map management

It is possible to use up to 5 layers of images of a map with the placement of elements on it.

The following URI are used to manage map files, if "map" field is absent, then the layer 0 is used (for backward compatibility):

  • upload-map.htm - to upload map image for layer, the layer is set by the "map" field (map=0...4);
  • map.htm - to view map image for layer, the layer is set by the "map" field (map=0...4).


The following values of the querytype field are used to manage the maps data and images:

  • mapdelete - delete the map image file:
    • map - layer of the map.
  • setmaplayer - set the data associated with a layer of the map:
    • map - layer of the map;
    • data - custom data.
  • delmaplayer - delete the data associated with a layer of the map:
    • map - layer of the map.
  • getmaplayer - read the data associated with a layer of the map, data returns in "data" field:
    • map - layer of the map.