Skip to content

Commit 01932d5

Browse files
committed
Fix styles
1 parent 0107255 commit 01932d5

File tree

2 files changed

+4
-22
lines changed

2 files changed

+4
-22
lines changed

config/style/topographic-v2.json

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,7 @@
66
"id": "Background",
77
"layout": { "visibility": "visible" },
88
"minzoom": 0,
9-
"paint": {
10-
"fill-antialias": true,
11-
"fill-color": {
12-
"stops": [
13-
[1, "rgba(228, 234, 228, 1)"],
14-
[10, "rgba(232, 232, 232, 1)"],
15-
[20, "rgba(232, 232, 232, 1)"]
16-
]
17-
}
18-
},
9+
"paint": { "fill-color": "rgba(232, 232, 232, 1)" },
1910
"type": "background"
2011
},
2112
{
@@ -53,7 +44,7 @@
5344
"id": "Ocean",
5445
"layout": { "visibility": "visible" },
5546
"minzoom": 0,
56-
"paint": { "background-color": "rgba(184, 220, 242, 1)" },
47+
"paint": { "fill-color": "rgba(184, 220, 242, 1)" },
5748
"source": "LINZ Basemaps",
5849
"source-layer": "ocean",
5950
"type": "fill"

config/style/topolite-v2.json

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,7 @@
66
"id": "Background",
77
"layout": { "visibility": "visible" },
88
"minzoom": 0,
9-
"paint": {
10-
"fill-antialias": true,
11-
"fill-color": {
12-
"stops": [
13-
[1, "rgba(234, 233, 229, 1)"],
14-
[10, "#FCFBF7"]
15-
]
16-
},
17-
"fill-translate-anchor": "map"
18-
},
9+
"paint": { "background-color": "rgba(234, 233, 229, 1)" },
1910
"type": "background"
2011
},
2112
{
@@ -43,7 +34,7 @@
4334
"id": "Ocean",
4435
"layout": { "visibility": "visible" },
4536
"minzoom": 0,
46-
"paint": { "background-color": "rgba(184, 220, 242, 1)" },
37+
"paint": { "fill-color": "rgba(184, 220, 242, 1)" },
4738
"source": "LINZ Basemaps",
4839
"source-layer": "ocean",
4940
"type": "fill"

0 commit comments

Comments
 (0)