Updated Data model (markdown)

Azgaar 2021-10-12 12:20:42 +03:00
parent ae861fac62
commit a68ba8f05a

@ -222,7 +222,7 @@ Rivers data is stored as an unordered array of objects (so element id is _not_ t
* `width`: `number` - river mouth width in km
* `sourceWidth`: `number` - additional width added to river source on rendering. Used to make lake outlets start with some width depending on flux. Can be also used to manually create channels
## Markers [WIP]
## Markers
Markers data is stored as an unordered array of objects (so element id is _not_ the array index). Object structure:
* `i`: `number` - marker id. `'marker' + i` is used as svg element id and marker reference in `notes` object
* `icon`: `number` - Unicode character (usually an [emoji](https://emojipedia.org/)) to serve as an icon