- Fartsgrenser (0)
{
"type": "uniqueValue",
"field1": "fartsgrense",
"uniqueValueInfos": [
{
"value": "20",
"symbol": {
"type": "esriPolyline",
"color": [
255,
0,
0,
255
]/* Rød for 20 km/t*/,
"width": 2
},
"label": "20 km/t"
},
{
"value": "30",
"symbol": {
"type": "esriPolyline",
"color": [
255,
165,
0,
255
]/* Oransje for 30 km/t*/,
"width": 2
},
"label": "30 km/t"
},
{
"value": "40",
"symbol": {
"type": "esriPolyline",
"color": [
255,
255,
0,
255
]/* Gul for 40 km/t*/,
"width": 2
},
"label": "40 km/t"
},
{
"value": "50",
"symbol": {
"type": "esriPolyline",
"color": [
0,
128,
0,
255
]/* Grønn for 50 km/t*/,
"width": 2
},
"label": "50 km/t"
},
{
"value": "60",
"symbol": {
"type": "esriPolyline",
"color": [
0,
255,
255,
255
]/* Cyan for 60 km/t*/,
"width": 2
},
"label": "60 km/t"
},
{
"value": "70",
"symbol": {
"type": "esriPolyline",
"color": [
0,
0,
255,
255
]/* Blå for 70 km/t*/,
"width": 2
},
"label": "70 km/t"
},
{
"value": "80",
"symbol": {
"type": "esriPolyline",
"color": [
75,
0,
130,
255
]/* Indigo for 80 km/t*/,
"width": 2
},
"label": "80 km/t"
},
{
"value": "90",
"symbol": {
"type": "esriPolyline",
"color": [
238,
130,
238,
255
]/* Fiolett for 90 km/t*/,
"width": 2
},
"label": "90 km/t"
},
{
"value": "100",
"symbol": {
"type": "esriPolyline",
"color": [
128,
0,
128,
255
]/* Lilla for 100 km/t*/,
"width": 2
},
"label": "100 km/t"
},
{
"value": "110",
"symbol": {
"type": "esriPolyline",
"color": [
255,
20,
147,
255
]/* Rosa for 110 km/t*/,
"width": 2
},
"label": "110 km/t"
},
{
"value": "120",
"symbol": {
"type": "esriPolyline",
"color": [
128,
128,
128,
255
]/* Grå for 120 km/t*/,
"width": 2
},
"label": "120 km/t"
}
]
}
- Test (1)
{
"type": "Line",
"symbol": {
"type": "esriGeometryLine",
"color": [
255,
0,
0,
255
],
"width": 2
}
}
- Fartsgrenser_v2 (2)
{
"layerId": "fartsgrenser",
"renderer": {
"type": "uniqueValue",
"field": "fartsgrense",
"uniqueValueInfos": [
{
"value": "20",
"symbol": {
"type": "esriSLS",
"style": "esriSLSSolid",
"color": [
255,
0,
0,
255
]/* Rød for 20 km/t*/,
"width": 2
},
"label": "20 km/t"
},
{
"value": "30",
"symbol": {
"type": "esriSLS",
"style": "esriSLSSolid",
"color": [
255,
165,
0,
255
]/* Oransje for 30 km/t*/,
"width": 2
},
"label": "30 km/t"
},
{
"value": "40",
"symbol": {
"type": "esriSLS",
"style": "esriSLSSolid",
"color": [
255,
255,
0,
255
]/* Gul for 40 km/t*/,
"width": 2
},
"label": "40 km/t"
},
{
"value": "50",
"symbol": {
"type": "esriSLS",
"style": "esriSLSSolid",
"color": [
0,
128,
0,
255
]/* Grønn for 50 km/t*/,
"width": 2
},
"label": "50 km/t"
},
{
"value": "60",
"symbol": {
"type": "esriSLS",
"style": "esriSLSSolid",
"color": [
0,
255,
255,
255
]/* Cyan for 60 km/t*/,
"width": 2
},
"label": "60 km/t"
},
{
"value": "70",
"symbol": {
"type": "esriSLS",
"style": "esriSLSSolid",
"color": [
0,
0,
255,
255
]/* Blå for 70 km/t*/,
"width": 2
},
"label": "70 km/t"
},
{
"value": "80",
"symbol": {
"type": "esriSLS",
"style": "esriSLSSolid",
"color": [
75,
0,
130,
255
]/* Indigo for 80 km/t*/,
"width": 2
},
"label": "80 km/t"
},
{
"value": "90",
"symbol": {
"type": "esriSLS",
"style": "esriSLSSolid",
"color": [
238,
130,
238,
255
]/* Fiolett for 90 km/t*/,
"width": 2
},
"label": "90 km/t"
},
{
"value": "100",
"symbol": {
"type": "esriSLS",
"style": "esriSLSSolid",
"color": [
128,
0,
128,
255
]/* Lilla for 100 km/t*/,
"width": 2
},
"label": "100 km/t"
},
{
"value": "110",
"symbol": {
"type": "esriSLS",
"style": "esriSLSSolid",
"color": [
255,
20,
147,
255
]/* Rosa for 110 km/t*/,
"width": 2
},
"label": "110 km/t"
},
{
"value": "120",
"symbol": {
"type": "esriSLS",
"style": "esriSLSSolid",
"color": [
128,
128,
128,
255
]/* Grå for 120 km/t*/,
"width": 2
},
"label": "120 km/t"
}
]
}
}
- Fartsgrenser_v3 (3)
{
"layerId": "fartsgrenser",
"renderer": {
"type": "line",
"field": "fartsgrense",
"uniqueValueInfos": [
{
"value": "20",
"symbol": {
"type": "esriSLS",
"style": "esriSLSSolid",
"color": [
255,
0,
0,
255
]/* Rød for 20 km/t*/,
"width": 2
},
"label": "20 km/t"
},
{
"value": "30",
"symbol": {
"type": "esriSLS",
"style": "esriSLSSolid",
"color": [
255,
165,
0,
255
]/* Oransje for 30 km/t*/,
"width": 2
},
"label": "30 km/t"
},
{
"value": "40",
"symbol": {
"type": "esriSLS",
"style": "esriSLSSolid",
"color": [
255,
255,
0,
255
]/* Gul for 40 km/t*/,
"width": 2
},
"label": "40 km/t"
},
{
"value": "50",
"symbol": {
"type": "esriSLS",
"style": "esriSLSSolid",
"color": [
0,
128,
0,
255
]/* Grønn for 50 km/t*/,
"width": 2
},
"label": "50 km/t"
},
{
"value": "60",
"symbol": {
"type": "esriSLS",
"style": "esriSLSSolid",
"color": [
0,
255,
255,
255
]/* Cyan for 60 km/t*/,
"width": 2
},
"label": "60 km/t"
},
{
"value": "70",
"symbol": {
"type": "esriSLS",
"style": "esriSLSSolid",
"color": [
0,
0,
255,
255
]/* Blå for 70 km/t*/,
"width": 2
},
"label": "70 km/t"
},
{
"value": "80",
"symbol": {
"type": "esriSLS",
"style": "esriSLSSolid",
"color": [
75,
0,
130,
255
]/* Indigo for 80 km/t*/,
"width": 2
},
"label": "80 km/t"
},
{
"value": "90",
"symbol": {
"type": "esriSLS",
"style": "esriSLSSolid",
"color": [
238,
130,
238,
255
]/* Fiolett for 90 km/t*/,
"width": 2
},
"label": "90 km/t"
},
{
"value": "100",
"symbol": {
"type": "esriSLS",
"style": "esriSLSSolid",
"color": [
128,
0,
128,
255
]/* Lilla for 100 km/t*/,
"width": 2
},
"label": "100 km/t"
},
{
"value": "110",
"symbol": {
"type": "esriSLS",
"style": "esriSLSSolid",
"color": [
255,
20,
147,
255
]/* Rosa for 110 km/t*/,
"width": 2
},
"label": "110 km/t"
},
{
"value": "120",
"symbol": {
"type": "esriSLS",
"style": "esriSLSSolid",
"color": [
128,
128,
128,
255
]/* Grå for 120 km/t*/,
"width": 2
},
"label": "120 km/t"
}
]
}
}
- Test2 (4)
{
"type": "line",
"type": "uniqueValue",
"symbol": {
"type": "simple-line",
"color": [
255,
0,
0,
255
]/* Rød for 20 km/t*/,
"width": 2
}
}
- Test3 (5)
{
"layerId": "fartsgrenser",
"renderer": {
"type": "uniqueValue",
"field": "fartsgrense",
"uniqueValueInfos": [
{
"value": "50",
"symbol": {
"type": "esriSLS",
"style": "esriSLSSolid",
"color": [
0,
128,
0,
255
]/* Grønn for 50 km/t*/,
"width": 2
},
"label": "50 km/t"
},
{
"value": "70",
"symbol": {
"type": "esriSLS",
"style": "esriSLSSolid",
"color": [
0,
0,
255,
255
]/* Blå for 70 km/t*/,
"width": 2
},
"label": "70 km/t"
}
]
}
}
- Test4 (6)
{
"type": "simple",
"symbol": {
"type": "esriSLS",
"style": "esriSLSSolid",
"color": [
255,
0,
0,
255
],
"width": 2
}
}
- Fartsgrenser_v4 (7)
{
"type": "uniqueValues",
"field1": "fartsgrense",
"defaultSymbol": {
"type": "esriSLS",
"style": "esriSLSSolid",
"color": [
0,
0,
0,
255
],
"width": 2
},
"uniqueValueInfos": [
{
"value": "20",
"symbol": {
"type": "esriSLS",
"style": "esriSLSSolid",
"color": [
255,
0,
0,
255
],
"width": 2
}
},
{
"value": "30",
"symbol": {
"type": "esriSLS",
"style": "esriSLSSolid",
"color": [
255,
165,
0,
255
],
"width": 2
}
},
{
"value": "40",
"symbol": {
"type": "esriSLS",
"style": "esriSLSSolid",
"color": [
255,
255,
0,
255
],
"width": 2
}
},
{
"value": "50",
"symbol": {
"type": "esriSLS",
"style": "esriSLSSolid",
"color": [
0,
128,
0,
255
],
"width": 2
}
},
{
"value": "60",
"symbol": {
"type": "esriSLS",
"style": "esriSLSSolid",
"color": [
0,
0,
255,
255
],
"width": 2
}
},
{
"value": "70",
"symbol": {
"type": "esriSLS",
"style": "esriSLSSolid",
"color": [
75,
0,
130,
255
],
"width": 2
}
},
{
"value": "80",
"symbol": {
"type": "esriSLS",
"style": "esriSLSSolid",
"color": [
238,
130,
238,
255
],
"width": 2
}
},
{
"value": "90",
"symbol": {
"type": "esriSLS",
"style": "esriSLSSolid",
"color": [
128,
0,
0,
255
],
"width": 2
}
},
{
"value": "100",
"symbol": {
"type": "esriSLS",
"style": "esriSLSSolid",
"color": [
0,
128,
128,
255
],
"width": 2
}
},
{
"value": "110",
"symbol": {
"type": "esriSLS",
"style": "esriSLSSolid",
"color": [
128,
128,
0,
255
],
"width": 2
}
},
{
"value": "120",
"symbol": {
"type": "esriSLS",
"style": "esriSLSSolid",
"color": [
0,
0,
0,
255
],
"width": 2
}
}
]
}