refactor - change layers

This commit is contained in:
Azgaar 2024-09-10 12:39:29 +02:00
parent 3f863a5ca3
commit aa8c3ab5fe
3 changed files with 26 additions and 8 deletions

View file

@ -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
}