-
Notifications
You must be signed in to change notification settings - Fork 2
/
main.html~
46 lines (44 loc) · 1.04 KB
/
main.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>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no">
<meta charset="utf-8">
<title>Simple icons</title>
<style>
html, body {
height: 100%;
margin: 0;
padding: 0;
}
#map {
height: 100%;
}
</style>
</head>
<body>
<div id="map"></div>
<script>
function initMap() {
var map = new google.maps.Map(document.getElementById('map'), {
zoom: 12,
center: {lat: 37.8710922, lng: -122.265809}
});
<<<<<<< HEAD
var marker = new google.maps.Marker({
position: myLatLng,
map: map,
title: 'Hello World!'
=======
var image = 'images/fig.png';
var beachMarker = new google.maps.Marker({
position: {lat: 37.885279, lng: -122.273261},
map: map,
icon: image
>>>>>>> 3147666345ac4c7f0d5ace4da5342be5dd3263c4
});
}
</script>
<script async defer src="https://maps.googleapis.com/maps/api/js?key=AIzaSyCdjCbWL_7rZzwNlwx5EpGpTRwZgFwov7c
&signed_in=true&callback=initMap"></script>
</body>
</html>