Merge branch 'master' of github.com-personal:Azgaar/Fantasy-Map-Generator into burg-groups

This commit is contained in:
Azgaar 2026-01-08 14:10:22 +01:00
commit 16a6327a23
3 changed files with 3 additions and 3 deletions

View file

@ -106,7 +106,7 @@ window.HeightmapGenerator = (function () {
return blobPowerMap[cells] || 0.98;
}
function getLinePower() {
function getLinePower(cells) {
const linePowerMap = {
1000: 0.75,
2000: 0.77,

View file

@ -564,7 +564,7 @@ function saveGeoJsonMarkers() {
const features = pack.markers.map(marker => {
const {i, type, icon, x, y, size, fill, stroke} = marker;
const coordinates = getCoordinates(x, y, 4);
const note = notes.find(note => note.id === id);
const note = notes.find(note => note.id === "marker" + i);
const properties = {id: i, type, icon, x, y, ...note, size, fill, stroke};
return {type: "Feature", geometry: {type: "Point", coordinates}, properties};
});