Last active
September 10, 2015 16:02
-
-
Save bcamper/6b7d85003a652c0018d6 to your computer and use it in GitHub Desktop.
Tangram scene with multiple data sources
This file contains 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
scene: | |
background: | |
color: lightblue | |
sources: | |
earth: | |
type: TopoJSON | |
url: //vector.mapzen.com/osm/earth/{z}/{x}/{y}.topojson | |
landuse: | |
type: TopoJSON | |
url: //vector.mapzen.com/osm/landuse/{z}/{x}/{y}.topojson | |
roads: | |
type: TopoJSON | |
url: //vector.mapzen.com/osm/roads/{z}/{x}/{y}.topojson | |
layers: | |
earth: | |
data: | |
source: earth | |
draw: | |
polygons: | |
order: 0 | |
color: darkgrey | |
landuse: | |
data: | |
source: landuse | |
draw: | |
polygons: | |
order: 1 | |
color: palegreen | |
roads: | |
data: | |
source: roads | |
draw: | |
lines: | |
order: 2 | |
color: white | |
width: 2px |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment