aboutsummaryrefslogtreecommitdiffstats
path: root/csci4131/hw3/contacts.js
diff options
context:
space:
mode:
Diffstat (limited to 'csci4131/hw3/contacts.js')
-rw-r--r--csci4131/hw3/contacts.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/csci4131/hw3/contacts.js b/csci4131/hw3/contacts.js
index 94340b2..a8c4b26 100644
--- a/csci4131/hw3/contacts.js
+++ b/csci4131/hw3/contacts.js
@@ -39,7 +39,8 @@ function addPoints(locations) {
map,
position: locations[x].geometry.location,
title: newEntry.getElementsByClassName("name")[0].textContent,
- data : {
+ icon: "./Untitled.png",
+ data: {
content: "<div class='id'>" +
"<b>" + newEntry.getElementsByClassName("name")[0].textContent + "</b>" + "<br>" +
newEntry.getElementsByClassName("category")[0].textContent + "<br>" +
@@ -52,7 +53,7 @@ function addPoints(locations) {
if (!this.infoWindow) {
this.infoWindow = new google.maps.InfoWindow({
content: this.data.content,
- // content: newEntry.getElementsByClassName("address")[0],
+
});
}
this.infoWindow.open(map, this);