mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-19 10:31:24 +01:00
refactor - change layers
This commit is contained in:
parent
3f863a5ca3
commit
aa8c3ab5fe
3 changed files with 26 additions and 8 deletions
1
main.js
1
main.js
|
|
@ -315,6 +315,7 @@ async function generateMapOnLoad() {
|
|||
await applyStyleOnLoad(); // apply previously selected default or custom style
|
||||
await generate(); // generate map
|
||||
applyLayersPreset(); // apply saved layers preset and reder layers
|
||||
drawLayers();
|
||||
fitMapToScreen();
|
||||
focusOn(); // focus on point, cell or burg from MFCG based on url searchParams
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue