-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathLoRa1.html
60 lines (52 loc) · 1.35 KB
/
LoRa1.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
53
54
55
56
57
58
59
60
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title></title>
<style>
#map{
height: 800px;
width: 100%;
}
</style>
</head>
<body>
<div id="map">
</div>
<script>
function initMap(){
//Map Options
var options = {
zoom:15,
center:{lat:10.0554,lng: 76.3551}
}
//New Map
var map = new google.maps.Map(document.getElementById('map'),options);
//Add Marker
// var marker = new google.maps.Marker({
// position:{lat:10.0261,lng: 76.3125},
// map:map
// });
//
// var infoWindow = new google.maps.InfoWindow({
// content:'<h1>Edapally</h1>'
// });
//
// marker.addListener('click',function(){
// infoWindow.open(map,marker);
// });
addMarker({lat:10.0554,lng: 76.3551});
//Add Marker function
function addMarker(coords){
var marker = new google.maps.Marker({
position:coords,
map:map
});
}
}
</script>
<script async defer
src="https://maps.googleapis.com/maps/api/js?key=AIzaSyDQptqa10s-pziD9T-ECBMO0viTKbTfkWw&callback=initMap">
</script>
</body>
</html>