Skip to content
Snippets Groups Projects
Commit 8933a7a6 authored by Tor-Einar Skog's avatar Tor-Einar Skog
Browse files

Feature: Fireblight map: Add nursery icon

parent 81ac1e9c
Branches
No related tags found
No related merge requests found
...@@ -7,3 +7,4 @@ classes/ ...@@ -7,3 +7,4 @@ classes/
.settings/ .settings/
*.iml *.iml
/.idea/ /.idea/
.vscode/settings.json
src/main/webapp/map_applications/fireblight/icons/plant-clipart.png

6.88 KiB

...@@ -324,8 +324,14 @@ function diseaseSpreadingPoiStyle(feature, resolution) ...@@ -324,8 +324,14 @@ function diseaseSpreadingPoiStyle(feature, resolution)
radius: radiusInMeters / (resolution / viewProjection.getMetersPerUnit() * Math.cos(latitude_rad)) radius: radiusInMeters / (resolution / viewProjection.getMetersPerUnit() * Math.cos(latitude_rad))
}) })
}); });
const icon = new ol.style.Style({
image: new ol.style.Icon({
src: 'icons/plant-clipart.png',
scale: 0.25
})
});
return [circle]; return [circle, icon];
} }
} }
else if(feature.getProperties()["pointOfInterestTypeId"] == "6") // Apiary site else if(feature.getProperties()["pointOfInterestTypeId"] == "6") // Apiary site
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment