-
Notifications
You must be signed in to change notification settings - Fork 0
/
mapapilhas.html
41 lines (33 loc) · 1003 Bytes
/
mapapilhas.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>
<head>
<style>
#map {
height: 100%;
}
html, body {
height: 100%;
margin: 0;
padding: 0;
}
</style>
</head>
<body>
<div id="map"></div>
<script>
function initMap() {
var my_pos = {lat: -15.757221, lng: -47.878525};
var map = new google.maps.Map(
document.getElementById('map'), {zoom: 11, center: my_pos});
var ter = {lat: -15.803490, lng: -47.940521};
var marker = new google.maps.Marker({position: ter, map: map});
var ter2 = {lat: -15.803490, lng: -47.740521};
var marker2 = new google.maps.Marker({position: ter2, map: map});
var ter3 = {lat: -15.903490, lng: -47.940521};
var marker3 = new google.maps.Marker({position: ter3, map: map});
}
</script>
<script async defer src="https://maps.googleapis.com/maps/api/js?key=AIzaSyCwXg-XwFbc-UtATfmSWE4VT7ft35h5u9Q&callback=initMap">
</script>
</body>
</html>