Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assignment 2 - Ian Schwarzenberg #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

IanSchwarzenberg
Copy link

No description provided.

@@ -18,6 +18,55 @@

<!--Your code starts here-->
<script>

//MANUALLY CREATED THE ARRAY FOR HEALTH CENTERS FROM health_centers.js:
Copy link
Member

@rossbernet rossbernet Feb 3, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The goal was to programmatically create an array of arrays.

You are close, but are still missing the header, which would be something like, ["LAT", "LNG", NAME] as the first element in the array of arrays.

Have you seen a way to do this now?

@@ -29,6 +78,14 @@
maxZoom: 20,
ext: 'png'
}).addTo(map);

//THIS LOOP COMMAND ADDS THE POINTS TO THE MAP AND THEIR POPUPS, FOUND OUT HOW TO DO FROM http://www.d3noob.org/2014/02/adding-multiple-markers-to-leafletjs-map.html:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for such extensive comments! Very helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants