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

Correct legend Json

parent b9db9478
No related branches found
No related tags found
No related merge requests found
......@@ -107,27 +107,24 @@ LAYER
{% for language in languages %}
"wms_abstract.{{language.language_code}}" "
{
\"legendItems\": [
\"isWarningStatus\": true,
\"legendItems\": [
{
\"isWarningStatus\": true,
\"classification\": 0,
\"legendLabel\": \"{{ language.no_forecast }}\",
\"legendIconCSS\": \"width: 25px; background-color: #707070;\"
},
{
\"isWarningStatus\": true,
\"classification\": 2,
\"legendLabel\": \"{{ language.no_risk }}\",
\"legendIconCSS\": \"width: 25px; background-color: #00B457;\"
},
{
\"isWarningStatus\": true,
\"classification\": 3,
\"legendLabel\": \"{{ language.possible_risk }}\",
\"legendIconCSS\": \"width: 25px; background-color: #FFCC00;\"
},
{
\"isWarningStatus\": true,
\"classification\": 4,
\"legendLabel\": \"{{ language.high_risk }}\",
\"legendIconCSS\": \"width: 25px; background-color: #FF0000;\"
......@@ -182,9 +179,9 @@ LAYER
{% for language in languages %}
"wms_abstract.{{language.language_code}}" "
{
\"legendItems\": [
{
\"isWarningStatus\": false,
\"isWarningStatus\": false,
\"legendItems\": [
{
\"classification\": 0,
\"legendLabel\": \"{{ language.day_degrees }}\",
\"legendIconCSS\": \"width: 25px; background: linear-gradient(to right, #0000FF, #FF0000);\"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment