forked from kennethlee/old-la-restaurants
-
Notifications
You must be signed in to change notification settings - Fork 2
/
cartodb-torque.html
34 lines (34 loc) · 1.72 KB
/
cartodb-torque.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<!DOCTYPE html>
<html>
<head>
<title>Map: The Oldest Surviving Los Angeles Restaurants… A Master List of the Vintage, Historic and Old School</title>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<link rel="shortcut icon" href="http://cartodb.com/assets/favicon.ico" />
<link rel="stylesheet" href="style.css" />
<link rel="stylesheet" href="http://libs.cartocdn.com/cartodb.js/v3/3.15/themes/css/cartodb.css" />
</head>
<body>
<nav>
<a href="http://thelosangelesbeat.com/2015/05/offbeat-l-a-the-oldest-surviving-los-angeles-restaurants-a-master-list-of-the-vintage-historic-and-old-school/" class="tagline">Offbeat L.A.’s Vintage, Historic and Old School Restaurants</a>
<span class="more-stuff">📺<a href="cartodb-torque.html">Animation</a> | 📍 <a href="index.html">Map</a></span>
<span class="credit">Made with 💘 by <a class="credit-link" href="http://maptimela.github.io" alt="MaptimeLA">MaptimeLA</a> | <a href="https://github.com/maptimeLA/old-la-restaurants" alt="View GitHub repository" class="credit-link">Data & Code</a></span>
</nav>
<div id="map"></div>
<!-- include cartodb.js library -->
<script src="http://libs.cartocdn.com/cartodb.js/v3/3.15/cartodb.js"></script>
<script>
function main() {
cartodb.createVis('map', 'https://danhillreports.cartodb.com/api/v2/viz/3f3f381e-3cb7-11e5-99d5-0e0c41326911/viz.json', {
})
.done(function(vis, layers) {
window.layers = layers;
})
.error(function(err) {
console.log(err);
});
}
window.onload = main;
</script>
</body>
</html>