Last active
January 27, 2020 23:49
-
-
Save mladenp/236fd2d164dba11ce3714f6ad99d1d75 to your computer and use it in GitHub Desktop.
opentiles tangram
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import: | |
- https://tangrams.github.io/blocks/filter/grain.yaml | |
scene: | |
background: | |
color: '#555' | |
sources: | |
osm: | |
type: MVT | |
url: 'http://localhost:8080/data/v3/{z}/{x}/{y}.pbf' | |
max_zoom: 21 | |
cameras: | |
cam: | |
type: flat | |
lights: | |
dir: | |
type: directional | |
direction: [.1, .5, -1] | |
diffuse: .7 | |
ambient: .5 | |
layers: | |
water: | |
data: | |
source: osm | |
layer: water | |
draw: | |
water: | |
order: 10 | |
color: [0.224, 0.224, 0.224, 1.00] | |
waterway: | |
data: | |
source: osm | |
layer: waterway | |
draw: | |
lines: | |
order: 11 | |
color: '#353535' | |
width: 1.3px | |
landuse: | |
data: | |
source: osm | |
layer: landuse | |
filter: | |
class: residential | |
draw: | |
landuse: | |
order: 5 | |
color: [0.349, 0.349, 0.349, 1.00] | |
park: | |
data: | |
source: osm | |
layer: park | |
draw: | |
park: | |
order: 5 | |
color: [0.290, 0.290, 0.290, 1.00] | |
boundary: | |
data: | |
source: osm | |
layer: boundary | |
draw: | |
lines: | |
order: 30 | |
color: [0.388, 0.388, 0.388, 1.00] | |
width: 1.2px | |
transportation: | |
data: | |
source: osm | |
layer: transportation | |
draw: | |
lines: | |
order: 30 | |
color: [0.314, 0.314, 0.314, 1.00] | |
width: 1.2px | |
styles: | |
water: | |
base: polygons | |
mix: filter-grain | |
landuse: | |
base: polygons | |
mix: filter-grain | |
park: | |
base: polygons | |
mix: filter-grain | |
boundary: | |
base: lines |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment