Skip to content

Instantly share code, notes, and snippets.

@bcamper
Last active September 10, 2015 16:02
Show Gist options
  • Save bcamper/6b7d85003a652c0018d6 to your computer and use it in GitHub Desktop.
Save bcamper/6b7d85003a652c0018d6 to your computer and use it in GitHub Desktop.

Revisions

  1. bcamper revised this gist Sep 10, 2015. 1 changed file with 6 additions and 4 deletions.
    10 changes: 6 additions & 4 deletions scene.yaml
    Original file line number Diff line number Diff line change
    @@ -17,24 +17,26 @@ sources:

    layers:
    earth:
    data: { source: earth }
    data:
    source: earth
    draw:
    polygons:
    order: 0
    color: darkgrey

    landuse:
    data: { source: landuse }
    data:
    source: landuse
    draw:
    polygons:
    order: 1
    color: palegreen

    roads:
    data: { source: roads }
    data:
    source: roads
    draw:
    lines:
    order: 2
    color: white
    width: 2px

  2. bcamper created this gist Sep 10, 2015.
    40 changes: 40 additions & 0 deletions scene.yaml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,40 @@
    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