-
Notifications
You must be signed in to change notification settings - Fork 33
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 #31
base: master
Are you sure you want to change the base?
assignment 2 #31
Conversation
Assignment 2 - Yufei Yuan |
assignment/index.html
Outdated
var header = [Object.keys(healthCenters[0])]; | ||
var TempArr = [Object.values(healthCenters)]; | ||
healthCentersArr = header.push(TempArr); | ||
for (i=0; i < healthCentersArr.length; i++){console.log(healthCentersArr)}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
assignment/index.html
Outdated
popupAnchor: [-3, -76], | ||
}); | ||
|
||
var addMarkers1 = (map) => {return L.marker([obj[1],obj[0]]).bindPopuup(obj[3],{icon: addIcon1})}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you very nearly have it! It is very likely one line that needs to be fixed. But just try to run it again and see if you can find it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi Ross,
I fixed the code. It should be able to run this time!
No description provided.