diff --git a/src/Funksjoner/config.js b/src/Funksjoner/config.js index 46ef7fcb7..22548b8d1 100644 --- a/src/Funksjoner/config.js +++ b/src/Funksjoner/config.js @@ -50,7 +50,11 @@ class config { static hack(kode) { // TODO: Erstatt denne med kode.split("-").pop() - if (kode.indexOf("AO") === 0 || kode.indexOf("VV") === 0) + if ( + kode.indexOf("AO") === 0 || + kode.indexOf("VV") === 0 || + kode.indexOf("NN-NA-BS-3EL") === 0 + ) return kode.split("-").pop(); if (kode.indexOf("NN-") !== 0) return kode; return kode.substring(3).replace("-TI-", "-"); diff --git a/src/Kart/LeafletTangram/scene/visualisering/polygon.js b/src/Kart/LeafletTangram/scene/visualisering/polygon.js index 27e375cf2..191870b00 100644 --- a/src/Kart/LeafletTangram/scene/visualisering/polygon.js +++ b/src/Kart/LeafletTangram/scene/visualisering/polygon.js @@ -52,10 +52,16 @@ function draw(args) { .toHexString(), width: "1.0px" }, - po: { - size: 500, - collide: true, - color: farge + points: { + order: 850, + size: 10, + collide: false, + color: farge, + interactive: true, + outline: { + width: 2, + color: "rgba(0,0,0,30%)" + } } } };