##FREE AS IN MAPS
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
# include: transit.yaml | |
scene: | |
background: | |
color: red | |
sources: | |
mapzen: | |
type: TopoJSON | |
url: http://vector.mapzen.com/osm/all/{z}/{x}/{y}.topojson?api_key=vector-tiles-HqUVidw |
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
# Author @patriciogv - 2015 | |
cameras: | |
camera1: | |
type: perspective | |
styles: | |
space-tile: | |
shaders: | |
blocks: | |
global: | |
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
{ | |
"tests": { | |
"world-1!": { | |
"url": "https://raw.githubusercontent.com/tangrams/tangram/master/demos/scene.yaml", | |
"location": [0,0,0] | |
}, | |
"cinnabar-1!": { | |
"url": "https://raw.githubusercontent.com/tangrams/cinnabar-style/gh-pages/cinnabar-style.yaml", | |
"location": [0,0,1] | |
}, |
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
{ | |
"tests": { | |
"problem-1": { | |
"url": "https://raw.githubusercontent.com/tangrams/tangram/master/demos/scene.yaml", | |
"location": [51.50286581276559,-0.12119293212890626,14] | |
}, | |
"problem-2": { | |
"url": "https://raw.githubusercontent.com/tangrams/tangram-sandbox/gh-pages/styles/tron.yaml", | |
"location": [51.50286581276559,-0.12119293212890626,14] | |
}, |
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
// load a file from a URL | |
function readTextFile(file, callback, errorback) { | |
var rawFile = new XMLHttpRequest(); | |
// only change this if you know you want to force a particular mime type and are having trouble | |
// rawFile.overrideMimeType("application/json"); | |
try { | |
rawFile.open("GET", file, true); | |
} catch (e) { | |
console.error("Error opening file:", e); | |
} |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
I hereby claim:
- I am meetar on github.
- I am meetar (https://keybase.io/meetar) on keybase.
- I have a public key ASDXh5vWVO1BePjrIelY7o699wbBjpG6EkK8cKt9pFPLeAo
To claim this, I am signing this object:
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.