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

HW2 Jiazuo Zhang #29

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

JZZhang04
Copy link

No description provided.

@@ -19,7 +19,7 @@
<!--Your code starts here-->
<script>
var map = L.map('map', {
center: [39.9522, -75.1639],
center: [39.9522, -72.0000],
Copy link
Member

@rossbernet rossbernet Feb 2, 2019

Choose a reason for hiding this comment

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

This change is not helpful and... a bit confusing.

It's good to play around with parameters to see what they do.

But when I first opened up your map, it was in the middle of the ocean, and it looked like the map was not loading properly.

It'd be helpful if the map is centered on the appropriate zoom to level to the data you are tying to show.

csvHC.push(header)
for (var i = 0; i < healthCenters.length; i = i+1) {
csvHC.push(Object.values(healthCenters[i]))
};
Copy link
Member

@rossbernet rossbernet Feb 2, 2019

Choose a reason for hiding this comment

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

This does indeed produce the intended output.

But it does not actually log it to the console.

Can you modify the jsonToCsv function such that it executes these commands when then function is called below?

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