diff --git a/index.html b/index.html
index 2671ad1d..a54ede5b 100644
--- a/index.html
+++ b/index.html
@@ -8090,7 +8090,7 @@
-
+
@@ -8123,7 +8123,7 @@
-
+
diff --git a/modules/renderers/draw-features.js b/modules/renderers/draw-features.js
index 0221a1c1..ac2a395e 100644
--- a/modules/renderers/draw-features.js
+++ b/modules/renderers/draw-features.js
@@ -55,7 +55,7 @@ function getFeaturePath(feature) {
const clippedPoints = clipPoly(simplifiedPoints, 1);
const lineGen = d3.line().curve(d3.curveBasisClosed);
- const path = round(lineGen(clippedPoints));
+ const path = round(lineGen(clippedPoints)) + "Z";
return path;
}
diff --git a/modules/ui/lakes-editor.js b/modules/ui/lakes-editor.js
index a6ce80d1..55f3fb5b 100644
--- a/modules/ui/lakes-editor.js
+++ b/modules/ui/lakes-editor.js
@@ -15,7 +15,7 @@ function editLake() {
debug.append("g").attr("id", "vertices");
elSelected = d3.select(node);
updateLakeValues();
- selectLakeGroup(node);
+ selectLakeGroup();
drawLakeVertices();
viewbox.on("touchmove mousemove", null);
@@ -140,13 +140,13 @@ function editLake() {
lake.name = lakeName.value = Names.getBase(rand(nameBases.length - 1));
}
- function selectLakeGroup(node) {
- const group = node.parentNode.id;
+ function selectLakeGroup() {
+ const lake = getLake();
+
const select = byId("lakeGroup");
select.options.length = 0; // remove all options
-
lakes.selectAll("g").each(function () {
- select.options.add(new Option(this.id, this.id, false, this.id === group));
+ select.options.add(new Option(this.id, this.id, false, this.id === lake.group));
});
}
diff --git a/versioning.js b/versioning.js
index a4cfb23c..ef1bf42f 100644
--- a/versioning.js
+++ b/versioning.js
@@ -12,7 +12,7 @@
*
* Example: 1.102.2 -> Major version 1, Minor version 102, Patch version 2
*/
-const VERSION = "1.105.13";
+const VERSION = "1.105.14";
if (parseMapVersion(VERSION) !== VERSION) alert("versioning.js: Invalid format or parsing function");
{