-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
52 lines (50 loc) · 1.91 KB
/
index.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
40
41
42
43
44
45
46
47
48
49
50
51
52
<!DOCTYPE html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title></title>
<script src="vendor/d3.min.js"></script>
<script src="http://d3js.org/topojson.v1.min.js"></script>
<script src="http://d3js.org/d3.geo.tile.v0.min.js"></script>
<script src='https://api.tiles.mapbox.com/mapbox-gl-js/v0.7.0/mapbox-gl.js'></script>
<link href='https://api.tiles.mapbox.com/mapbox-gl-js/v0.7.0/mapbox-gl.css' rel='stylesheet' />
<script src='https://api.tiles.mapbox.com/mapbox.js/v2.1.9/mapbox.js'></script>
<link href='https://api.tiles.mapbox.com/mapbox.js/v2.1.9/mapbox.css' rel='stylesheet' />
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- <link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.3/leaflet.css" />
<link href="https://developer.mapsense.co/mapsense.css" rel="stylesheet"/> -->
<style>
/* #national_view{
height: 400px;
width: 900px;
background: gainsboro;
margin: 30px auto;
}
#local_view{
height: 300px;
width: 300px;
background: gainsboro;
margin: 0 auto;
}*/
#map { position:absolute; top:0; bottom:0; width:100%; height: 300px; }
/* #map{
height: 300px;
}*/
</style>
</head>
<body>
<div id='map'></div>
<!-- <script>
mapboxgl.accessToken = 'pk.eyJ1IjoiYndzdHVkIiwiYSI6ImQ2ZTJlMTdjODMwNGJhZjlmOWM5MTY2NzZhYmY1YmIwIn0.fDkR66VlhLh5BHk6f1MeIA';
var map = new mapboxgl.Map({
container: 'map', // container id
style: 'https://www.mapbox.com/mapbox-gl-styles/styles/outdoors-v7.json', //stylesheet location
center: [40, -74.50], // starting position
zoom: 9 // starting zoom
});
</script> -->
<script type="text/javascript" src="build/js/all.min.js"></script>
</body>
</html>