-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathUyen_Nguyen.html
63 lines (61 loc) · 1.82 KB
/
Uyen_Nguyen.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
61
62
63
<html>
<head>
<style>
/* Set the size of the div element that contains the map */
#map {
height: 550px; /* The height is 500 pixels */
width: 100%; /* The width is the width of the web page */
}
</style>
<script src="Parking_Meters.js"></script>
</head>
<body>
<script src="js/Uyen_Nguyen.js"></script>
<!--The div element for the map -->
<div id="map"></div>
<script>
// Initialize and add the map
var map;
var HOME; // a Marker
var center; // coordinates of HOME
//var circle;
var markers = [];
var cluster; //only set if markers.length > 10
var iconBase = 'https://maps.google.com/mapfiles/kml/shapes/';
var icons = {
parking: {
icon: iconBase + 'parking_lot_maps.png'
}
};
function initMap() {
// The location of Boston,MA
var boston_MA = {lat: 42.3601, lng: -71.0589};
center = boston_MA;
// The map, centered at Uluru
map = new google.maps.Map(
document.getElementById('map'), {zoom: 13, center: boston_MA});
// The marker, positioned at Uluru
HOME = new google.maps.Marker({
position: center,
map: map
})
/*circle = {
path: google.maps.SymbolPath.CIRCLE,
fillColor: 'red',
fillOpacity: 1,
scale: 6,
strokeColor: 'white',
strokeWeight: 1
}*/
//addMarkers(allCoordinates())
}
</script>
<!--Add the marker clustering library to your page. -->
<script src= "js/markerCluster.js">
</script>
<!-- Google Maps API Key-->
<script async defer
src="https://maps.googleapis.com/maps/api/js?key=AIzaSyCRe4yAD1aIqDWkintmN31Cl3v4r684Vpc&callback=initMap">
</script>
</body>
</html>