Updated Data model (markdown)

Azgaar 2021-09-20 00:13:42 +03:00
parent a07167fd2d
commit a28dbec0f8

@ -230,6 +230,8 @@ Markers data is stored as an unordered array of objects (so element id is _not_
* `y`: `number` - marker y coordinate
* `type`: `string` - marker type. If set, style changes will be applied to all markers of the same type. Optional
* `size`: `number` - marker size in pixels. Optional, default value is `30` (30px)
* `fill`: `string` - marker pin fill color. Optional, default is `#fff` (white)
* `stroke`: `string` - marker pin stroke color. Optional, default is `#000` (black)
* `pin`: `string`: pin element type. Available types are `bubble` and `no` (bare icon). Optional, default is `bubble`
* `hidden`: `boolean`: `true` if marker should not be rendered. Optional, default is `false` (visible)
* `dx`: `number` - icon x shift percent. Optional, default is `50` (50%, center)