feat: Enhance WebGL2LayerFramework initialization and improve global variable handling

This commit is contained in:
Azgaar 2026-03-12 18:25:08 +01:00
parent 2dae325d05
commit 8560c131eb
6 changed files with 202 additions and 147 deletions

View file

@ -303,6 +303,7 @@ async function checkLoadParameters() {
async function generateMapOnLoad() {
await applyStyleOnLoad(); // apply previously selected default or custom style
await generate(); // generate map
WebGL2LayerFramework.init();
applyLayersPreset(); // apply saved layers preset and reder layers
drawLayers();
fitMapToScreen();