Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
5a52cbe
Add 2025 distribution locations folder with initial content
Apr 1, 2025
82b205f
adding maroon-map
Apr 1, 2025
87407c9
updates to each file
Apr 1, 2025
dd358eb
edits to index.html
Apr 1, 2025
0fa214a
Add files via upload
jdavidoff26 Apr 1, 2025
e6cef8f
renamed locations file
Apr 1, 2025
9f0ce0c
Rename CSV file to locations.csv
Apr 1, 2025
0ed2d03
updates to both files
Apr 1, 2025
f52413d
styling updates
Apr 1, 2025
54e7fda
html file created
Apr 1, 2025
a0cb24e
Update distribution-locations.min.html
jdavidoff26 Apr 1, 2025
9308107
updates
Apr 1, 2025
bc1b55c
update
Apr 1, 2025
610fcbd
erge branch 'distribution-locations' of github.com:jdavidoff26/data-v…
Apr 2, 2025
12821aa
edited CSV
Apr 2, 2025
03cc954
Title added to graphic
jdavidoff26 Apr 4, 2025
f36ac68
Add files via upload
jdavidoff26 Apr 9, 2025
05236e4
Update and rename Copy of Distribution Audit 2024-2025 - Sheet1.csv t…
jdavidoff26 Apr 9, 2025
07c092f
adding updated dist locations csv
jdavidoff26 Apr 9, 2025
3de9971
Merge branch 'distribution-locations' of github.com:jdavidoff26/data-…
jdavidoff26 Apr 9, 2025
25b430e
added comments row in main.js
jdavidoff26 Apr 9, 2025
e95c337
New updated locations file
jdavidoff26 Apr 9, 2025
1f7ff1b
updated locations.csv
jdavidoff26 Apr 9, 2025
3147b3a
Merge branch 'distribution-locations' of github.com:jdavidoff26/data-…
jdavidoff26 Apr 9, 2025
160ea34
changes to main.js
jdavidoff26 Apr 9, 2025
7d40255
main.js updated
jdavidoff26 Apr 9, 2025
cf2c4c8
updated main.js
jdavidoff26 Apr 9, 2025
05526a7
fixed updated csv
jdavidoff26 Apr 9, 2025
2b85bf8
ran prettier
jdavidoff26 Apr 9, 2025
066f081
changed the name of locations_updated to just locations.csv
jdavidoff26 Apr 10, 2025
a23a12b
added image icons
jdavidoff26 Apr 10, 2025
00b1e6c
change to advance marker
jdavidoff26 Apr 10, 2025
85bb756
adding necessary libraries
jdavidoff26 Apr 10, 2025
dcfe58b
Delete maroon-map directory
jdavidoff26 Apr 10, 2025
25b6007
ran prettier on main.js
jdavidoff26 Apr 10, 2025
48e4d76
updates to main.js
jdavidoff26 Apr 10, 2025
9cbbee1
files updated
jdavidoff26 Apr 10, 2025
728f2cc
fixed window listener
jdavidoff26 Apr 11, 2025
3d5e6cc
updates to image and js file
jdavidoff26 Apr 11, 2025
ee62aef
ran prettier
jdavidoff26 Apr 11, 2025
819d8b9
running prettier
jdavidoff26 Apr 11, 2025
fb9693a
Fix map pin bug
Nik4002 Apr 11, 2025
66f3295
Merge branch 'distribution-locations' of https://github.com/jdavidoff…
Nik4002 Apr 11, 2025
3fccc5c
changed CEGU coordinates
jdavidoff26 Apr 11, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<html lang=en><title>Chicago Maroon Distribution Locations Map</title><style>#map{height:100%}body,html{height:100%;margin:0;padding:0;font-family:Georgia,'serif'}.gm-style{font-family:Georgia,'serif'}</style><script src="https://polyfill.io/v3/polyfill.min.js?features=default"></script><div id=map></div><script async src="https://maps.googleapis.com/maps/api/js?key=AIzaSyDpeWblpOWHSdujc28GrDmOsPQPLTtDpdQ&callback=initMap&v=weekly&loading=async"></script><script src=https://cdnjs.cloudflare.com/ajax/libs/PapaParse/5.3.2/papaparse.min.js></script><script src=main.js></script>
30 changes: 30 additions & 0 deletions 2025/distribution-locations/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<!DOCTYPE html>
<html>
<head>
<title>Building Locations Map</title>
<style>
html,
body {
height: 100%;
margin: 0;
padding: 0;
}
#map {
height: 100%;
width: 100%;
}
</style>
</head>
<body>
<div id="map"></div>

<!-- Load Google Maps API -->
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyDpeWblpOWHSdujc28GrDmOsPQPLTtDpdQ&libraries=marker&v=weekly"></script>

<!-- Load PapaParse -->
<script src="https://cdn.jsdelivr.net/npm/papaparse@5.4.1/papaparse.min.js"></script>

<!-- Load your JavaScript module -->
<script type="module" src="main.js"></script>
</body>
</html>
38 changes: 38 additions & 0 deletions 2025/distribution-locations/locations.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
Name,Location,Person,Date Checked,Latitude,Longitude,,Comment
Arley D Cathey Dining Commons,"6031 S Ellis Ave, Chicago, IL 60637",,,41.78530807,-87.60038752,,
Baker Dining Hall,"5501 S University Ave, Chicago, IL 60637",,,41.79460805,-87.59853524,,
Bartlett Dining Hall,"5640 S University, Chicago, IL 60637",,,41.79209186,-87.59825325,,Box in lobby
Cafe 53,"1369 E 53rd St, Chicago, IL 60615",,,41.79950073,-87.59241523,,Lobby
Campus North Dormitory,"5500 S University Ave, Chicago, IL 60637",,,41.79472825,-87.59839296,,Hand to Front Desk
Center for Environmental and Urban Studies,"1155 E 60th St, Chicago, IL 60637",,,41.785594, -87.597118,,Lobby
Chicago Maroon Office,"1212 E 59th St, Chicago, IL 60637",,,41.78813297,-87.59560119,,Lobby
Cobb Hall,"5811 S Ellis Ave, Chicago, IL 60637",,,41.78912416,-87.60087036,,Lobby
Crerar Library,"5730 S Ellis Ave, Chicago, IL 60637",,,41.79065996,-87.60287546,,Box in lobby
Harper Library,"1116 E 59th St, Chicago, IL 60637",,,41.78809116,-87.59963425,,Lobby
Hutchinson Commons,"5706 S University, Chicago, IL 60636",,,41.79133035,-87.59865383,,Box on first floor
Ida Noyes Hall,"1212 E 59th St, Chicago, IL 60637",,,41.78812697,-87.59559407,,Box on 2nd floor
International House,"1414 E 59th St, Chicago, IL 60637",,,41.78861562,-87.591124,,Lobby
Jimmy's Woodlawn Tap,"1172 E 55th St, Chicago, IL 60615",,,41.795191,-87.596835,,Lobby
Logan Center for the Arts,"915 E 60th St, Chicago, IL 60637",,,41.78572927,-87.6038694,,Lobby
Max P Central,"1101 E 56th St, Chicago, IL 60637",,,41.79309676,-87.59989302,,Box in lobby
Max P East,"1101 E 56th St, Chicago, IL 60637",,,41.79309676,-87.59989302,,Lobby
Max P West,"1101 E 56th St, Chicago, IL 60637",,,41.79309676,-87.59989302,,Lobby
Medici,"1327 E 57th St, Chicago, IL 60637",,,41.79135596,-87.59369253,,Store
Philz Coffee,"1425 E 53rd St Chicago, IL 60615",,,41.79996809,-87.59056214,,Lobby
Quadrangle Club,"1155 E 57th St, Chicago, IL 60637",,,41.79106705,-87.5976016,,Wall-mounted box in Cafe
Ratner Athletic Center,"5530 S Ellis Ave, Chicago, IL 60637",,,41.79425466,-87.60161306,,Lobby
Regenstein Library ,"1100 E 57th St, Chicago, IL 60637",,,41.79238296,-87.60003983,,Box in basement
Renee Granville-Grossman Residential Commons,"6031 S Ellis Ave, Chicago, IL 60637",,,41.78472557,-87.60040261,,Lobby
Saieh Hall ,"5757 S University Ave, Chicago, IL 60637",,17-Jan,41.79000616,-87.59728728,,Lobby
Seminary Co-Op,"5751 S Woodlawn Ave, Chicago, IL 60637",,,41.79024926,-87.59614453,,1st floor
Snell-Hitchcock,"1009 E 57th St, Chicago, IL 60637",,,41.79122476,-87.6005054,,Lobby
Starbucks (53rd),"1530 E 53rd St, Chicago, IL 60615",,,41.80031839,-87.58764545,,
Starbucks (55th),"1174 E 55th St, Chicago, IL 60615",,,41.79592543,-87.59605769,,
Stuart Hall,"5835 S Greenwood Ave, Chicago, IL 60637",,,41.78856856,-87.59904566,,
The Study UChicago,"1227 East 60th Street, Chicago, IL 60637",,,41.78609407,-87.59516549,,
Trader Joe's,"1528 E 55th St, Chicago, IL 60615",,,41.796506,-87.588394,,
UChicago Institute of Politics,"5707 S Woodlawn, Chicago, IL 60637",,,41.79135305,-87.59618759,,
Woodlawn Dining Commons,"1156 E 61st Street Chicago, IL 60615",,,41.78490417,-87.59720576,,
Woodlawn Residential Commons,"1156 E 61st Street Chicago, IL 60615",,,41.78445557,-87.5971699,,
Booth School of Business,"5807 S Woodlawn Ave, Chicago, IL 60637",,,41.78994463,-87.59632936,,
Harris Cafe in The Keller Center,"1307 E 60th St, Chicago, IL 60637",Nathan,1/16/24,41.785689,-87.594053,,
62 changes: 62 additions & 0 deletions 2025/distribution-locations/main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@

// main.js (module)
async function initMap() {
const { Map } = await google.maps.importLibrary("maps");
const { AdvancedMarkerElement } = await google.maps.importLibrary("marker");

const map = new Map(document.getElementById("map"), {
center: { lat: 41.79, lng: -87.59 },
zoom: 14,
mapId: "43d4870cba142ed7", // Replace this with your actual Map ID
mapTypeId: "terrain"
});

const infoWindow = new google.maps.InfoWindow();

Papa.parse("locations.csv", {
download: true,
header: true,
complete: function (results) {
results.data.forEach((row) => {
const lat = parseFloat(row["Latitude"]);
const lng = parseFloat(row["Longitude"]);
if (isNaN(lat) || isNaN(lng)) return;

const container = document.createElement("div");
container.style.width = "32px";
container.style.height = "32px";
container.style.pointerEvents = "auto";

const img = document.createElement("img");
img.src = "maroon_map_pin.svg";
img.style.width = "32px";
img.style.height = "32px";
img.style.pointerEvents = "auto";
container.appendChild(img);
const marker = new AdvancedMarkerElement({
map,
position: { lat, lng },
title: row["Name"],
content: container
});

// Create the content for the info window with building name and address
let content = `
<div>
<h3>${row['Name']}</h3>
<p><strong>Address:</strong> ${row['Location']}</p>
${row['Comment'] ? `<p><strong>Pick-Up Notes:</strong> ${row['Comment']}</p>` : ''}
</div>
`;

// Add a click listener to show the info window when the marker is clicked
marker.addListener('gmp-click', function () {
infoWindow.setContent(content);
infoWindow.open(map, marker);
});
});
}
});
}

initMap();
3 changes: 3 additions & 0 deletions 2025/distribution-locations/maroon_logo_m_black.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading