📝Lab Assignment #2 - Your First Webmap¶
Due 4/20¶
In this lab, we learned how to use Leaflet and how JavaScript functions that can be used for automating tasks. Functions also form the basis of the JavaScript programming we will be doing. Your assignment this week is to create a map for your portfolio with relevant points.
The requirements are:
- Incorporate a map into your portfolio page from last week’s assignment
-
Add at least 3-4 markers to the map with a common theme, for example organizations you’ve volunteered for or places you’ve traveled. You can use this Lat/Lng tool to help find points.
-
Use a JavaScript function to add those markers to the your map
- Markers should have popups that describe what the point is.
Extra Credit¶
- Use something else like images inside the pop-ups.
- Try using circle markers instead of Leaflet markers
- Try something new with the Leaflet API
- Follow the extra lab and add a GeoJSON with some other set of relevant information, you can search online for other GeoJSON datasets if you’d like.
Submission¶
-
Find your
index.html
in theweek2
in GitHub Pages and copy the URL. It should look something like this: -
https://albertkun.github.io/23S-ASIAAM-191A-Assignments/week2/index.html
-
Paste your link as a comment in the Discussion forum for Lab Assignment #2:
- https://github.com/albertkun/23S-ASIAAM-191A/discussions/10