refactor: replace webgl-layer-framework with webgl-layer module

- Removed the webgl-layer-framework module and its associated tests.
- Introduced a new webgl-layer module to handle WebGL2 layer management.
- Updated references throughout the codebase to use the new webgl-layer module.
- Adjusted layer registration and rendering logic to align with the new structure.
- Ensured compatibility with existing functionality while improving modularity.
This commit is contained in:
Azgaar 2026-03-12 19:15:49 +01:00
parent d1d31da864
commit 9e00d69843
37 changed files with 380 additions and 7187 deletions

View file

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