-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathED.html
41 lines (36 loc) · 841 Bytes
/
ED.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
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>My Google Map</title>
<style>
#map{
height:400px;
width:100%;
}
#heading{
}
</style>
</head>
<body>
<h1 id="heading">RIT GO</h1>
<div id="map">
</div>
<script>
function loc() {
var place = document.getElementById("go").value;
}
function initMap() {
var options = {
zoom:25,
center:{lat:13.030944,lng:77.564814}
}
var map = new google.maps.Map(
document.getElementById('map'), options);
}
</script>
<script async defer
src="https://maps.googleapis.com/maps/api/js?key=AIzaSyCoDFdmyfSTAMLqMTc56ng9EjT7V-H3kL0&callback=initMap">
</script>
</body>
</html>