-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmap.html
46 lines (39 loc) · 1.11 KB
/
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
40
41
42
43
44
45
46
<!DOCTYPE html>
<html>
<head>
<script src="https://cdn.firebase.com/js/client/2.3.2/firebase.js"></script>
<style>
#map {
height: 100vh;
width: 100%;
}
</style>
</head>
<body>
<div id="map"></div>
<script>
/* function initMap() {
var uluru = {lat: -25.363, lng: 131.044};
var india = {lat: 12.0848002, lng: 75.2574516};
var map = new google.maps.Map(document.getElementById('map'), {
zoom: 4,
center: india
});
var marker = new google.maps.Marker({
position: uluru,
map: map
});
var marker2 = new google.maps.Marker({
position: india,
map: map
});
}*/
</script>
<script src="firebaseclient.js" type="text/javascript"></script>
<script src="https://developers.google.com/maps/documentation/javascript/examples/markerclusterer/markerclusterer.js">
</script>
<script async defer
src="https://maps.googleapis.com/maps/api/js?key=AIzaSyCreoSZHwu1bxZIOoxoxyPvI8a1uU-RVIc&callback=initMap">
</script>
</body>
</html>