-
Notifications
You must be signed in to change notification settings - Fork 0
/
map.html
39 lines (36 loc) · 1002 Bytes
/
map.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
35
36
37
38
39
<!DOCTYPE html>
<html>
<head>
<title>Foursquare Check-in Map</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="stylesheet" href="http://libs.cartocdn.com/cartodb.js/v3/themes/css/cartodb.css" />
<script src="http://libs.cartocdn.com/cartodb.js/v3/cartodb.js"></script>
<style>
html, body {
height: 100%;
padding: 0;
margin: 0;
}
#map {
height: 100%;
}
</style>
</head>
<body>
<div id="map"></div>
<script>
function main() {
cartodb.createVis('map', 'https://woojink.cartodb.com/api/v2/viz/2fca1f2e-99ec-11e5-a39c-0ecfd53eb7d3/viz.json', {
shareable: false,
search: false,
tiles_loader: false,
})
.error(function(err) {
console.log(err);
});
}
window.onload = main;
</script>
</body>
</html>