feat: relief three.js renderer

This commit is contained in:
Azgaar 2026-03-09 02:47:13 +01:00
parent 7a49098425
commit 7481a2843e
19 changed files with 828 additions and 120 deletions

View file

@ -459,6 +459,8 @@ function handleZoom(isScaleChanged, isPositionChanged) {
fitScaleBar(scaleBar, svgWidth, svgHeight);
}
if (layerIsOn("toggleRelief")) renderReliefIcons();
// zoom image converter overlay
if (customization === 1) {
const canvas = byId("canvas");
@ -1234,7 +1236,7 @@ function showStatistics() {
INFO && console.info(stats);
// Dispatch event for test automation and external integrations
window.dispatchEvent(new CustomEvent('map:generated', { detail: { seed, mapId } }));
window.dispatchEvent(new CustomEvent("map:generated", {detail: {seed, mapId}}));
}
const regenerateMap = debounce(async function (options) {