diff --git a/src/main/webapp/map_applications/fireblight/index.html b/src/main/webapp/map_applications/fireblight/index.html index 01639206c87520a645a76b10588643a28fd88608..5ae2c398a0c10536dcd69c818113c484d47a4cdd 100755 --- a/src/main/webapp/map_applications/fireblight/index.html +++ b/src/main/webapp/map_applications/fireblight/index.html @@ -59,16 +59,16 @@ .geo-location { top: auto; - right: 0.5em; - bottom: 10.0em; + right: 4em; + bottom: 3.5em; left: auto; z-index: 1000; } #registerButton { top: auto; - bottom: 12.0em; - right: 0.5em; + bottom: 3.5em; + right: 6em; left: auto; z-index: 1000; } @@ -143,10 +143,10 @@ #legend ul li:before { content: ""; line-height: 2em; - width: 0.81em; - height: 0.81em; + width: 0.75em; + height: 0.75em; float: left; - margin: .25em .25em 0; + margin: .05em .4em 0; border-radius: 50%; border: 1px solid black; } @@ -178,6 +178,7 @@ } + /* For finger pointing aka touch screen */ @media (pointer: coarse) { #registerButton button, .geo-location button { width: 1.8em; @@ -185,7 +186,7 @@ } #registerButton { - bottom: 13.0em; + right: 8.0em; } .geo-location button { bottom: 8.0em; diff --git a/src/main/webapp/map_applications/fireblight/js/map.js b/src/main/webapp/map_applications/fireblight/js/map.js index 9851b58a8c80ddda38193d719fa676fe6697b422..e80711716fbbdb4bd9350cd89cc2d08c676b6560 100755 --- a/src/main/webapp/map_applications/fireblight/js/map.js +++ b/src/main/webapp/map_applications/fireblight/js/map.js @@ -178,12 +178,6 @@ async function initMap() style: diseaseSpreadingPoiStyle }); - /*apiaryPoisOverlay = new ol.layer.Vector({ - source: new ol.source.Vector({ - features: new ol.Collection() - }), - style: diseaseSpreadingPoiStyle - });*/ let apiarySource = new ol.source.ImageWMS({ url: 'https://kart.mattilsynet.no/wmscache/service',