refactor: submap - restore river and biome data

This commit is contained in:
Azgaar 2024-10-20 15:45:47 +02:00
parent 6e38c93841
commit 72be5f8220
4 changed files with 49 additions and 26 deletions

View file

@ -120,7 +120,7 @@ async function openTransformTool() {
handleInput();
}
async function transformMap() {
function transformMap() {
INFO && console.group("transformMap");
const cellsNumber = +byId("transformPointsInput").value;
@ -132,7 +132,7 @@ async function openTransformTool() {
resetZoom(0);
undraw();
await Submap.resample(parentMap, options);
Resample.process(parentMap, options);
drawLayers();
INFO && console.groupEnd("transformMap");