mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-18 10:01:23 +01:00
Updated Data model (markdown)
parent
f94f65d179
commit
770e4edca7
1 changed files with 4 additions and 4 deletions
|
|
@ -229,12 +229,12 @@ Markers data is stored as an unordered array of objects (so element id is _not_
|
|||
* `x`: `number` - marker x coordinate
|
||||
* `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 `30px`
|
||||
* `size`: `number` - marker size in pixels. Optional, default value is `30` (30px)
|
||||
* `hidden`: `boolean`: `true` if marker should not be rendered. Optional, default is `false` (visible)
|
||||
* `bare`: `boolean`: `true` if marker should be rendered without pin (bubble). Optional, default is `false` (pinned)
|
||||
* `dx`: `number` - icon x shift percent. Optional, default is `50%` (center)
|
||||
* `dy`: `number` - icon y shift percent. Optional, default s `50%` (center)
|
||||
* `px`: `number` - icon font-size in pixels. Optional, default is `12px`
|
||||
* `dx`: `number` - icon x shift percent. Optional, default is `50` (50%, center)
|
||||
* `dy`: `number` - icon y shift percent. Optional, default s `50` (50%, center)
|
||||
* `px`: `number` - icon font-size in pixels. Optional, default is `12` (12px)
|
||||
|
||||
## Routes
|
||||
Routes data is not in data model, but can be retrieved directly from svg `routes` element and `pack.cells.roads` array.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue