Tree Cover
Create stylized tree coverage from natural=tree
nodes and natural=tree_row
ways.
---
title: Tree Cover
description: Create stylized tree coverage from `natural=tree` nodes and `natural=tree_row` ways.
options:
zoom: 14
center: [-77.03717, 38.89135]
style:
layers:
- type: circle
filter: [==, [geometry-type], Point]
beforeLayerId: landcover_subclass_patterns
circle-color: rgba(169, 210, 145, .5)
circle-blur: 1
circle-radius:
stops:
- [ 0, 1 ]
- [ 20, 300 ]
base: 2
- type: line
filter: [==, [geometry-type], LineString]
beforeLayerId: landcover_subclass_patterns
line-color: rgba(169, 210, 145, .5)
line-cap: round
line-blur:
stops:
- [ 0, 1 ]
- [ 20, 100 ]
base: 2
line-width:
stops:
- [ 0, 1 ]
- [ 20, 200 ]
base: 2
- type: circle
filter: [==, [geometry-type], Point]
circle-color: rgba(169, 210, 145, .5)
circle-blur: 1
circle-radius:
stops:
- [ 0, 1 ]
- [ 20, 300 ]
base: 2
- type: line
filter: [==, [geometry-type], LineString]
line-color: rgba(169, 210, 145, .5)
line-cap: round
line-blur:
stops:
- [ 0, 1 ]
- [ 20, 100 ]
base: 2
line-width:
stops:
- [ 0, 1 ]
- [ 20, 200 ]
base: 2
extends: https://styles.trailsta.sh/openmaptiles-osm.json
---
node[natural=tree]({{bbox}}); out;
way[natural=tree_row]({{bbox}}); out geom;