Skip to content
Snippets Groups Projects
Commit 8107c7f6 authored by Tor-Einar Skog's avatar Tor-Einar Skog Committed by Lene Wasskog
Browse files

feat: Gray dot in icon if "Sanns. Phyt." is selected

parent 334d96ce
Branches
No related tags found
No related merge requests found
...@@ -129,7 +129,7 @@ async function initMap() { ...@@ -129,7 +129,7 @@ async function initMap() {
retVal = [ retVal = [
new ol.style.Style({ new ol.style.Style({
image: new ol.style.Circle({ image: new ol.style.Circle({
fill: new ol.style.Fill({ color: (observationData["funn"] == "[Ukjent]" ? color : [0, 0, 0, 1]) }), fill: new ol.style.Fill({ color: (observationData["funn"] == "[Ukjent]" ? color : observationData["funn"] == "Sanns. Phyt." ? [204, 204, 204, 1] : [0, 0, 0, 1]) }),
stroke: new ol.style.Stroke({ width: (observationData["funn"] == "[Ukjent]" ? 0 : 4), color: (observationData["funn"] == "[Ukjent]" ? [0, 0, 0, 1] : color) }), stroke: new ol.style.Stroke({ width: (observationData["funn"] == "[Ukjent]" ? 0 : 4), color: (observationData["funn"] == "[Ukjent]" ? [0, 0, 0, 1] : color) }),
radius: iconRadius radius: iconRadius
}), }),
...@@ -532,7 +532,7 @@ var getCropOrganism = function (organismId) { ...@@ -532,7 +532,7 @@ var getCropOrganism = function (organismId) {
var symptoms = ["Flekker", "Glisne kroner", "Oppsprekking", "Død", "Andre symptom", "Andre skader", "Ikke symptom", "Irrelevant"]; var symptoms = ["Flekker", "Glisne kroner", "Oppsprekking", "Død", "Andre symptom", "Andre skader", "Ikke symptom", "Irrelevant"];
var funns = ["[Ukjent]", "Phytophthora gonapodyides", "Phytophthora lacustris", "Phytophthora plurivora", "Phytophthora cambivora", "Phytophthora cactorum", "Phytophthora sp"] var funns = ["[Ukjent]", "Sanns. Phyt.", "Phytophthora gonapodyides", "Phytophthora lacustris", "Phytophthora plurivora", "Phytophthora cambivora", "Phytophthora cactorum", "Phytophthora sp"]
var provetypes = ["[Ikke prøve]", "Jord", "Vev", "Vann", "Blad", "Bait"]; var provetypes = ["[Ikke prøve]", "Jord", "Vev", "Vann", "Blad", "Bait"];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment