mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-18 10:01:23 +01:00
Updated Data model (markdown)
parent
c5f0929322
commit
683e958e0f
1 changed files with 1 additions and 1 deletions
|
|
@ -224,7 +224,7 @@ Rivers data is stored as an unordered array of objects (so element id is _not_ t
|
|||
|
||||
## Markers [WIP]
|
||||
Markers data is stored as an unordered array of objects (so element id is _not_ the array index). Object structure:
|
||||
* `i`: `number` - marker id. `'markerElement' + i` is used as marker element id and 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
|
||||
* `type`: `string` - optional, used only for auto-generated markers
|
||||
* `x`: `number` - marker x coordinate
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue