Skip to content

Commit fca72c2

Browse files
authored
Merge pull request #162 from KaiVolland/update-geostyler-style
Update geostyler-style to v7
2 parents d7c3a0d + 1f1d4b3 commit fca72c2

22 files changed

Lines changed: 3895 additions & 4499 deletions

.github/workflows/on-pull-request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88

99
strategy:
1010
matrix:
11-
node-version: [12.x, 14.x, 16.x]
11+
node-version: [14.x, 16.x, 18.x]
1212

1313
steps:
1414
- name: Checkout sources

.github/workflows/on-push-master.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111

1212
strategy:
1313
matrix:
14-
node-version: [12.x, 14.x, 16.x]
14+
node-version: [14.x, 16.x, 18.x]
1515

1616
steps:
1717
- name: Checkout sources

data/mapbox/icon_simpleicon.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
const iconSimpleIcon: any = {
2-
"version": 8,
3-
"name": "Simple Icon",
4-
"sprite": "https://testurl.com",
5-
"layers": [
2+
version: 8,
3+
name: 'Simple Icon',
4+
sprite: 'https://testurl.com',
5+
layers: [
66
{
7-
"id": "Simple Icon",
8-
"type": "symbol",
9-
"layout": {
10-
"icon-image": "poi"
7+
id: 'Simple Icon',
8+
type: 'symbol',
9+
layout: {
10+
'icon-image': 'poi'
1111
}
1212
}
1313
]

data/mapbox/icon_simpleicon_mapboxapi.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
const iconSimpleIcon: any = {
2-
"version": 8,
3-
"name": "Simple Icon",
4-
"sprite": "mapbox://sprites/mapbox/streets-v8",
5-
"layers": [
2+
version: 8,
3+
name: 'Simple Icon',
4+
sprite: 'mapbox://sprites/mapbox/streets-v8',
5+
layers: [
66
{
7-
"id": "Simple Icon",
8-
"type": "symbol",
9-
"layout": {
10-
"icon-image": "poi"
7+
id: 'Simple Icon',
8+
type: 'symbol',
9+
layout: {
10+
'icon-image': 'poi'
1111
}
1212
}
1313
]

data/mapbox/line_patternline.ts

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
const linePatternLine: any = {
2-
"version": 8,
3-
"name": "Pattern Line",
4-
"sprite": 'https://testurl.com',
5-
"layers": [
2+
version: 8,
3+
name: 'Pattern Line',
4+
sprite: 'https://testurl.com',
5+
layers: [
66
{
7-
"id": "Pattern Line",
8-
"type": "line",
9-
"paint": {
10-
"line-color": "#000000",
11-
"line-width": 3,
12-
"line-dasharray": [13, 37],
13-
"line-pattern": "poi"
7+
id: 'Pattern Line',
8+
type: 'line',
9+
paint: {
10+
'line-color': '#000000',
11+
'line-width': 3,
12+
'line-dasharray': [13, 37],
13+
'line-pattern': 'poi'
1414
},
15-
"layout": {
16-
"line-cap": "round",
17-
"line-join": "miter"
15+
layout: {
16+
'line-cap': 'round',
17+
'line-join': 'miter'
1818
}
1919
}
2020
]

data/mapbox/line_simpleline.ts

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
const lineSimpleLine: any = {
2-
"version": 8,
3-
"name": "Simple Line",
4-
"layers": [
2+
version: 8,
3+
name: 'Simple Line',
4+
layers: [
55
{
6-
"id": "Simple Line",
7-
"type": "line",
8-
"paint": {
9-
"line-color": "#000000",
10-
"line-width": 3,
11-
"line-dasharray": [13, 37]
6+
id: 'Simple Line',
7+
type: 'line',
8+
paint: {
9+
'line-color': '#000000',
10+
'line-width': 3,
11+
'line-dasharray': [13, 37]
1212
},
13-
"layout": {
14-
"line-cap": "round",
15-
"line-join": "miter"
13+
layout: {
14+
'line-cap': 'round',
15+
'line-join': 'miter'
1616
}
1717
}
1818
]

data/mapbox/line_simpleline_basefilter.ts

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
const lineSimpleLine: any = {
22
version: 8,
3-
name: "Small populated New Yorks",
3+
name: 'Small populated New Yorks',
44
layers: [{
5-
id: "Small populated New Yorks",
6-
type: "line",
7-
filter: ["all",
8-
["==", "NAME", "New York"],
9-
["==", "TEST_BOOL", "true"],
10-
["==", "TEST", null],
11-
["*=", "TEST2", "*York*"],
12-
["*=", "TEST1", "*New*"],
13-
["!", [">", "POPULATION", "100000"]],
14-
["any",
15-
["==", "TEST2", "1"],
16-
["==", "TEST2", "2"]
5+
id: 'Small populated New Yorks',
6+
type: 'line',
7+
filter: ['all',
8+
['==', 'NAME', 'New York'],
9+
['==', 'TEST_BOOL', 'true'],
10+
['==', 'TEST', null],
11+
['*=', 'TEST2', '*York*'],
12+
['*=', 'TEST1', '*New*'],
13+
['!', ['>', 'POPULATION', '100000']],
14+
['any',
15+
['==', 'TEST2', '1'],
16+
['==', 'TEST2', '2']
1717
]
1818
],
1919
paint: {
20-
"line-color": "#FF0000",
21-
"line-width": 3
20+
'line-color': '#FF0000',
21+
'line-width': 3
2222
}
2323
}]
2424
};

data/mapbox/line_simpleline_zoom.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
const lineSimpleLine: any = {
2-
"version": 8,
3-
"name": "Simple Line Filter",
4-
"layers": [{
5-
"id": "Small populated New Yorks",
6-
"type": "line",
7-
"minzoom": 5.5,
8-
"maxzoom": 10,
9-
"paint": {
10-
"line-color": "#FF0000",
11-
"line-width": 5
2+
version: 8,
3+
name: 'Simple Line Filter',
4+
layers: [{
5+
id: 'Small populated New Yorks',
6+
type: 'line',
7+
minzoom: 5.5,
8+
maxzoom: 10,
9+
paint: {
10+
'line-color': '#FF0000',
11+
'line-width': 5
1212
}
1313
}]
1414
};

data/mapbox/multi_rule_line_fill.ts

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
const multiRuleLineFill: any = {
2-
"version": 8,
3-
"name": "Rule Line Fill",
4-
"layers": [
2+
version: 8,
3+
name: 'Rule Line Fill',
4+
layers: [
55
{
6-
"id": "Line Rule",
7-
"type": "line",
8-
"paint": {
9-
"line-color": "#000000",
10-
"line-width": 3,
11-
"line-dasharray": [13, 37]
6+
id: 'Line Rule',
7+
type: 'line',
8+
paint: {
9+
'line-color': '#000000',
10+
'line-width': 3,
11+
'line-dasharray': [13, 37]
1212
},
13-
"layout": {
14-
"line-cap": "round",
15-
"line-join": "miter"
13+
layout: {
14+
'line-cap': 'round',
15+
'line-join': 'miter'
1616
}
1717
}, {
18-
"id": "Fill Rule",
19-
"type": "fill",
20-
"paint": {
21-
"fill-color": "#000000",
22-
"fill-opacity": 1
18+
id: 'Fill Rule',
19+
type: 'fill',
20+
paint: {
21+
'fill-color': '#000000',
22+
'fill-opacity': 1
2323
}
2424
}
2525
]

data/mapbox/multi_simpleline_simplefill.ts

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
const multiSimpleLineSimpleFill: any = {
2-
"version": 8,
3-
"name": "Simple Line Simple Fill",
4-
"layers": [
2+
version: 8,
3+
name: 'Simple Line Simple Fill',
4+
layers: [
55
{
6-
"id": "Simple Line Simple Fill",
7-
"type": "line",
8-
"paint": {
9-
"line-color": "#000000",
10-
"line-width": 3,
11-
"line-dasharray": [13, 37]
6+
id: 'Simple Line Simple Fill',
7+
type: 'line',
8+
paint: {
9+
'line-color': '#000000',
10+
'line-width': 3,
11+
'line-dasharray': [13, 37]
1212
},
13-
"layout": {
14-
"line-cap": "round",
15-
"line-join": "miter"
13+
layout: {
14+
'line-cap': 'round',
15+
'line-join': 'miter'
1616
}
1717
}, {
18-
"id": "Simple Line Simple Fill",
19-
"type": "fill",
20-
"paint": {
21-
"fill-color": "#000000",
22-
"fill-opacity": 1
18+
id: 'Simple Line Simple Fill',
19+
type: 'fill',
20+
paint: {
21+
'fill-color': '#000000',
22+
'fill-opacity': 1
2323
}
2424
}
2525
]

0 commit comments

Comments
 (0)