Style park, grass and waterway

pull/11/head
Lukas Martinelli 8 years ago
parent 3b3ab9eb9e
commit 5cbfa71f24

@ -55,20 +55,37 @@
}
},
{
"id": "landuse_overlay_national_park",
"id": "park",
"type": "fill",
"source": "openmaptiles",
"source-layer": "landuse_overlay",
"source-layer": "park",
"filter": [
"==",
"class",
"national_park"
"all"
],
"paint": {
"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",
"type": "fill",
@ -100,15 +117,18 @@
}
},
{
"id": "landuse_park",
"id": "landcover_grass",
"type": "fill",
"metadata": {},
"source": "openmaptiles",
"source-layer": "landuse",
"source-layer": "landcover",
"filter": [
"==",
"class",
"park"
"all",
[
"==",
"class",
"grass"
]
],
"paint": {
"fill-antialias": false,
@ -195,16 +215,18 @@
}
},
{
"id": "waterway_stream_canal",
"id": "waterway_other",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "waterway",
"filter": [
"in",
"class",
"canal",
"stream"
"all",
[
"!=",
"class",
"river"
]
],
"layout": {
"line-cap": "round"

Loading…
Cancel
Save