-
Change Request
-
Resolution: Unresolved
-
Trivial
-
None
-
3.4.3rc1
-
None
-
Sprint 18
-
2
For map shapes linking with API proposed to introduce custom shape IDs:
{ "sysmap_shapeid": "32", "custom_shapeid": "my_shape_id123", <------------------ [New] "type": "0", "x": "100", "y": "150", "width": "50", "height": "50", "text": "shape 1", "font": "9", "font_size": "11", "font_color": "000000", "text_halign": "0", "text_valign": "0", "border_type": "1", "border_width": "2", "border_color": "000000", "background_color": "", "zindex": "0" }
where custom_shapeid:
- type variable string of size 16 chars
- defined by API during Create, and Update
- read by API during Get
- unique per map
- empty by default (DB migration patch)
- visible in map editor in shape property dialog
- only numbers and characters are allowed (no special symbols)