aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/layers.js32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/layers.js b/src/layers.js
index b914e17..6f72dfc 100644
--- a/src/layers.js
+++ b/src/layers.js
@@ -410,7 +410,7 @@ export const layers = {
['Senast uppdaterat', 'SenasteUppdaterat'],
],
legend: { zoomLevel: 1 },
- style: [.5, 1, 1.5, 1.5, 2, 2, 2.5, 2.5, 3, 3.5, 4, 5].map(function(width, z) {
+ style: [.5, 1, 1.5, 1.5, 2, 2, 2.5, 2.5, 3, 3.5, 4, 5].map(function(width) {
return new Style({
zIndex: 17,
fill: new Fill({
@@ -455,7 +455,7 @@ export const layers = {
['Senast uppdaterat', 'SenasteUppdaterat'],
],
legend: { zoomLevel: 1 },
- style: [.5, 1, 1.5, 1.5, 2, 2, 2.5, 2.5, 3, 3.5, 4, 5].map(function(width, z) {
+ style: [.5, 1, 1.5, 1.5, 2, 2, 2.5, 2.5, 3, 3.5, 4, 5].map(function(width) {
return new Style({
zIndex: 16,
fill: new Fill({
@@ -548,7 +548,7 @@ export const layers = {
['Senast uppdaterat', 'SenasteUppdaterat'],
],
legend: { zoomLevel: 1 },
- style: [.5, 1, 1.5, 1.5, 2, 2, 2.5, 2.5, 3, 3.5, 4, 5].map(function(width, z) {
+ style: [.5, 1, 1.5, 1.5, 2, 2, 2.5, 2.5, 3, 3.5, 4, 5].map(function(width) {
return new Style({
zIndex: 11,
fill: new Fill({
@@ -591,7 +591,7 @@ export const layers = {
['Senast uppdaterat', 'SenasteUppdaterat'],
],
legend: { zoomLevel: 1 },
- style: [.5, 1, 1.5, 1.5, 2, 2, 2.5, 2.5, 3, 3.5, 4, 5].map(function(width, z) {
+ style: [.5, 1, 1.5, 1.5, 2, 2, 2.5, 2.5, 3, 3.5, 4, 5].map(function(width) {
return new Style({
zIndex: 15,
fill: new Fill({
@@ -630,7 +630,7 @@ export const layers = {
['Senast uppdaterat', 'SenasteUppdaterat'],
],
legend: { zoomLevel: 1 },
- style: [.5, 1, 1.5, 1.5, 2, 2, 2.5, 2.5, 3, 3.5, 4, 5].map(function(width, z) {
+ style: [.5, 1, 1.5, 1.5, 2, 2, 2.5, 2.5, 3, 3.5, 4, 5].map(function(width) {
return new Style({
zIndex: 14,
fill: new Fill({
@@ -668,7 +668,7 @@ export const layers = {
['Senast uppdaterat', 'SenasteUppdaterat'],
],
legend: { zoomLevel: 1 },
- style: [.5, 1, 1.5, 1.5, 2, 2, 2.5, 2.5, 3, 3.5, 4, 5].map(function(width, z) {
+ style: [.5, 1, 1.5, 1.5, 2, 2, 2.5, 2.5, 3, 3.5, 4, 5].map(function(width) {
return new Style({
zIndex: 13,
fill: new Fill({
@@ -771,7 +771,7 @@ export const layers = {
['Senast uppdaterat', 'SenasteUppdaterat'],
],
legend: { zoomLevel: 1 },
- style: [.5, 1, 1.5, 1.5, 2, 2, 2.5, 2.5, 3, 3.5, 4, 5].map(function(width, z) {
+ style: [.5, 1, 1.5, 1.5, 2, 2, 2.5, 2.5, 3, 3.5, 4, 5].map(function(width) {
return new Style({
zIndex: 10,
fill: new Fill({
@@ -1147,7 +1147,7 @@ export const layers = {
['Areal', 'geom_area', { fn: 'area' }],
],
legend: { zoomLevel: 2 },
- style: [1, 1.5, 2, 3, 3.5, 4, 5, 5, 6, 7, 8, 10].map(function(width, z) {
+ style: [1, 1.5, 2, 3, 3.5, 4, 5, 5, 6, 7, 8, 10].map(function(width) {
return new Style({
zIndex: 23,
fill: new Fill({
@@ -1777,7 +1777,7 @@ export const layers = {
['Skogsmarksareal', 'SKOG_HA', { unit: 'ha' }],
],
legend: { zoomLevel: 6, type: 'point' },
- style: [undefined, undefined, undefined, undefined].concat([3, 4, 6, 8, 12, 16, 20, 24].map(function(width, z) {
+ style: [undefined, undefined, undefined, undefined].concat([3, 4, 6, 8, 12, 16, 20, 24].map(function(width) {
return new Style({
zIndex: 12,
image: new CircleStyle({
@@ -2317,7 +2317,7 @@ export const layers = {
}),
});
})
- .concat([7, 8, 9, 10, 11].map(function(width) {
+ .concat([7, 8, 9, 10, 11].map(function() {
const patternCanvas = document.createElement('canvas');
const patternContext = patternCanvas.getContext('2d');
patternCanvas.width = 16;
@@ -2389,7 +2389,7 @@ export const layers = {
}),
});
})
- .concat([6, 7, 8, 9, 10, 11].map(function(width) {
+ .concat([6, 7, 8, 9, 10, 11].map(function() {
const patternCanvas = document.createElement('canvas');
const patternContext = patternCanvas.getContext('2d');
patternCanvas.width = 16;
@@ -2466,7 +2466,7 @@ export const layers = {
}),
});
})
- .concat([6, 7, 8, 9, 10, 11].map(function(width) {
+ .concat([6, 7, 8, 9, 10, 11].map(function() {
const patternCanvas = document.createElement('canvas');
const patternContext = patternCanvas.getContext('2d');
patternCanvas.width = 16;
@@ -2531,7 +2531,7 @@ export const layers = {
}),
});
})
- .concat([6, 7, 8, 9, 10, 11].map(function(width) {
+ .concat([6, 7, 8, 9, 10, 11].map(function() {
const patternCanvas = document.createElement('canvas');
const patternContext = patternCanvas.getContext('2d');
patternCanvas.width = 16;
@@ -2694,7 +2694,7 @@ export const layers = {
['Källor', 'KALLOR'],
],
legend: { zoomLevel: 1 },
- style: [.5, 1, 1.5, 1.5, 2, 2, 2.5, 2.5, 3, 3.5, 4, 5].map(function(width, z) {
+ style: [.5, 1, 1.5, 1.5, 2, 2, 2.5, 2.5, 3, 3.5, 4, 5].map(function(width) {
return new Style({
zIndex: 4,
fill: new Fill({
@@ -3074,7 +3074,7 @@ export const layers = {
['Aktualitet', 'AKTUALITET'],
],
legend: { zoomLevel: 0 },
- style: [1, 1.5, 2, 3, 3.5, 4, 5, 5, 6, 7, 8, 10].map(function(width, z) {
+ style: [1, 1.5, 2, 3, 3.5, 4, 5, 5, 6, 7, 8, 10].map(function(width) {
return new Style({
zIndex: 4,
fill: new Fill({
@@ -3105,7 +3105,7 @@ export const layers = {
['Ledlängd', 'geom_length', { fn: 'length' }],
],
legend: { zoomLevel: 2, type: 'linestring' },
- style: [.75, 1, 1.5, 2, 3, 4, 5, 5, 6, 7, 8, 10].map(function(width, z) {
+ style: [.75, 1, 1.5, 2, 3, 4, 5, 5, 6, 7, 8, 10].map(function(width) {
return new Style({
zIndex: 7,
stroke: new Stroke({