forked from aleksandra-codes/SafeBike
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmaptest.html
50 lines (44 loc) · 1.98 KB
/
maptest.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
<!DOCTYPE html>
<html>
<head>
<!-- The core Firebase JS SDK is always required and must be listed first -->
<script src="https://www.gstatic.com/firebasejs/5.5.8/firebase.js"></script>
<script src="https://cdn.firebase.com/libs/firebaseui/3.1.1/firebaseui.js"></script>
<script>
// Your web app's Firebase configuration
var firebaseConfig = {
apiKey: "AIzaSyCDm-MuMfMTfLEon_tUB4Vw2Hy6unaE6-I",
authDomain: "safebike-15d63.firebaseapp.com",
databaseURL: "https://safebike-15d63.firebaseio.com",
projectId: "safebike-15d63",
storageBucket: "",
messagingSenderId: "832976793088",
appId: "1:832976793088:web:04ae41016c6474f65d32e5"
};
// Initialize Firebase
firebase.initializeApp(firebaseConfig);
app_firebase = firebase;
</script>
<link rel="stylesheet" href="css/style.css"/>
<!--Leaflet imports-->
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css"
integrity="sha512-xwE/Az9zrjBIphAcBb3F6JVqxf46+CDLwfLMHloNu6KEQCAWi6HcDUbeOfBIptF7tcCzusKFjFw2yuvEpDL9wQ=="
crossorigin=""/>
<script src="https://unpkg.com/[email protected]/dist/leaflet.js"
integrity="sha512-GffPMF3RvMeYyc1LWMHtK8EbPv0iNZ8/oTtHPx9/cc2ILxQ+u905qIwdpULaqDkyBKgOaB57QTMg7ztg8Jm2Og=="
crossorigin=""></script>
<!--Mapbox imports-->
<link rel='stylesheet' href='https://api.mapbox.com/mapbox.js/v3.2.0/mapbox.css'/>
<script src='https://api.mapbox.com/mapbox.js/v3.2.0/mapbox.js'></script>
<!--jQuery imports-->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
</head>
<body>
<div id="mapid"></div>
<button type="button" id="bcitBurnaby" value="BCIT">BCIT Burnaby</button>
<button type="button" id="vanhacks2019" value="BCIT">Vanhacks 2019</button>
<script src="public/js/map.js"></script>
<!--Leaflet routing machine import-->
<script src="public/js/leaflet-routing-machine.js"></script>
</body>
</html>