Skip to content
Snippets Groups Projects
Commit a19bcbc4 authored by Jakob Severin Steffensen Hjelseth's avatar Jakob Severin Steffensen Hjelseth
Browse files

Merge branch 'Bug_fix' into 'main'

Fix

See merge request !84
parents c9a2c625 aab127bf
No related branches found
No related tags found
2 merge requests!85Resolve "Ferdigstille",!84Fix
Pipeline #251270 passed
......@@ -59,6 +59,11 @@ function changeMap() {
if (isHeat) {
heatmap();
}
if (newPoint) {
newPoint = false;
closeBox("makeNewPointBox");
document.getElementById("addPointButton").style.color = "orangered";
}
if (points != null) {
if (points != null) {
......
......@@ -22,8 +22,10 @@ function addPoint() {
document.getElementById("addPointButton").style.color = "green";
newPoint = true;
if (!map.hasLayer(points)) {
showPoints();
if (points != null) {
if (!map.hasLayer(points)) {
showPoints();
}
}
if (isTIN) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment