From a68ba8f05a47a00d941a9fd26550e8fdeabae770 Mon Sep 17 00:00:00 2001 From: Azgaar Date: Tue, 12 Oct 2021 12:20:42 +0300 Subject: [PATCH] Updated Data model (markdown) --- Data-model.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Data-model.md b/Data-model.md index 2934f70..0ca39a7 100644 --- a/Data-model.md +++ b/Data-model.md @@ -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