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 1 - Zixuan Xu #16

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

Conversation

zxuanxu
Copy link

@zxuanxu zxuanxu commented Feb 1, 2019

No description provided.

var jsonToCsv = function(json) { console.log(json); };

var jsonToCsv = function(json) {}
var healthTitle = [["LNG","LAT","OBJECTID","NAME","ORGANIZATION","ZIP","PHONE","WEBSITE","DENTAL_PHONE","FULL_ADDRESS"]];
Copy link
Member

Choose a reason for hiding this comment

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

It'd be good to not have to type out each of these keys manually.

Take a look how at this: Object.keys(healthCenters[0]) Does all the work for you!

shadowSize: [20, 40], // size of the shadow
iconAnchor: [0, 0], // point of the icon which will correspond to marker's location
shadowAnchor: [0, 0], // the same for the shadow
popupAnchor: [-3, -76] // point from which the popup should open relative to the iconAnchor
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.

image

popup appears pretty far away from the marker. Was that intentional?

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