Style park, grass and waterway
This commit is contained in:
parent
3b3ab9eb9e
commit
5cbfa71f24
54
style.json
54
style.json
@ -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",
|
[
|
||||||
"park"
|
"==",
|
||||||
|
"class",
|
||||||
|
"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",
|
[
|
||||||
"canal",
|
"!=",
|
||||||
"stream"
|
"class",
|
||||||
|
"river"
|
||||||
|
]
|
||||||
],
|
],
|
||||||
"layout": {
|
"layout": {
|
||||||
"line-cap": "round"
|
"line-cap": "round"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user