mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-18 18:11:24 +01:00
Updated Data model (markdown)
parent
ae861fac62
commit
a68ba8f05a
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
* `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
|
* `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:
|
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
|
* `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
|
* `icon`: `number` - Unicode character (usually an [emoji](https://emojipedia.org/)) to serve as an icon
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue