Skip to content

Commit

Permalink
update lib
Browse files Browse the repository at this point in the history
  • Loading branch information
meetar committed Apr 27, 2018
1 parent 3b7ce3c commit bd6c20f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<!-- End of 3rd party libraries -->

<!-- Main tangram library -->
<script src="https://mapzen.com/tangram/0.10/tangram.min.js"></script>
<script src="https://unpkg.com/tangram@0.14/dist/tangram.min.js"></script>

<!-- Demo module -->
<script src="main.js"></script>
Expand Down
10 changes: 5 additions & 5 deletions scene.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,33 +108,33 @@ layers:
data: { source: mapzen }
draw:
roads:
order: function() { return feature.sort_rank; }
order: function() { return feature.sort_rank || 0; }
width: 3px
color: '#353535'

water:
data: { source: mapzen }
draw:
flat:
order: function() { return feature.sort_rank; }
order: function() { return feature.sort_rank || 0; }
color: '#222'
earth:
data: { source: mapzen }
draw:
flat:
order: function() { return feature.sort_rank; }
order: function() { return feature.sort_rank || 0; }
color: '#222'
roads:
data: { source: mapzen }
filter: { not: { kind_detail: service, kind: rail } }
draw:
roads:
order: function() { return feature.sort_rank; }
order: function() { return feature.sort_rank || 0; }
color: [1, .95, .8]
width: 15
buildings:
data: { source: mapzen }
draw:
tilt:
order: function() { return feature.sort_rank; }
order: function() { return feature.sort_rank || 0; }
extrude: true

0 comments on commit bd6c20f

Please sign in to comment.