Skip to content

Assignment#2#29

Open
derrickshu wants to merge 5 commits into
MUSA611-CPLN692-spring2020:masterfrom
derrickshu:master
Open

Assignment#2#29
derrickshu wants to merge 5 commits into
MUSA611-CPLN692-spring2020:masterfrom
derrickshu:master

Conversation

@derrickshu

Copy link
Copy Markdown

No description provided.

Comment thread assignment/index.html
entries.push(words[j]);
}
}
healthCentersList[0] = keys;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This totally works but you'll note that pushing the keys into your array keys only needs to happen once. Every time this loop runs, it will overwrite the 0th element in healthCentersList.

to the Leaflet documentation for instructions on adding a popup: http://leafletjs.com/reference.html#popup

===================== */
var restaurantData = [[114.3,30.5,"Wuhan"],[109.5,30.3,"Enshi"],[113.9,30.9,"Xiaogan"],[111.2,30.7,"Yichang"]]

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Make sure to create markers for each of these

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