Style park, grass and waterway

This commit is contained in:
Lukas Martinelli 2017-01-10 16:33:17 +01:00
parent 3b3ab9eb9e
commit 5cbfa71f24

View File

@ -55,20 +55,37 @@
} }
}, },
{ {
"id": "landuse_overlay_national_park", "id": "park",
"type": "fill", "type": "fill",
"source": "openmaptiles", "source": "openmaptiles",
"source-layer": "landuse_overlay", "source-layer": "park",
"filter": [ "filter": [
"==", "all"
"class",
"national_park"
], ],
"paint": { "paint": {
"fill-color": "#d8e8c8", "fill-color": "#d8e8c8",
"fill-opacity": 0.7 "fill-opacity": 0.7,
"fill-outline-color": "rgba(95, 208, 100, 1)"
} }
}, },
{
"id": "park_outline",
"type": "line",
"source": "openmaptiles",
"source-layer": "park",
"filter": [
"all"
],
"paint": {
"line-dasharray": [
1,
1.5
],
"line-color": "rgba(159, 183, 148, 1)",
"line-opacity": 1
},
"layout": {}
},
{ {
"id": "landuse_residential", "id": "landuse_residential",
"type": "fill", "type": "fill",
@ -100,15 +117,18 @@
} }
}, },
{ {
"id": "landuse_park", "id": "landcover_grass",
"type": "fill", "type": "fill",
"metadata": {}, "metadata": {},
"source": "openmaptiles", "source": "openmaptiles",
"source-layer": "landuse", "source-layer": "landcover",
"filter": [ "filter": [
"all",
[
"==", "==",
"class", "class",
"park" "grass"
]
], ],
"paint": { "paint": {
"fill-antialias": false, "fill-antialias": false,
@ -195,16 +215,18 @@
} }
}, },
{ {
"id": "waterway_stream_canal", "id": "waterway_other",
"type": "line", "type": "line",
"metadata": {}, "metadata": {},
"source": "openmaptiles", "source": "openmaptiles",
"source-layer": "waterway", "source-layer": "waterway",
"filter": [ "filter": [
"in", "all",
[
"!=",
"class", "class",
"canal", "river"
"stream" ]
], ],
"layout": { "layout": {
"line-cap": "round" "line-cap": "round"