πLab Assignment #3 - GeoJSONs and Loops¶
Due 7/17 Wednesday¶
In this week’s lab, we learned how to loop through data and connect to an API. Your task is to create a mini-version of the final group project for the class that takes in data and maps it.
The requirements are:
- Create your own geoJSON file using geojson.io
- Add your geoJSON data to your map using a
fetch-then
request - Use any type of for-loop within a JavaScript function to add your geoJSON features to your map.
Extra credit¶
- Populate your HTML with data from the geojson
- Use circle markers or custom icons for your geoJSON features.
- Style your map features with a color or size based on a property in your geoJSON file.
- Create a new page for your portfolio for this map
Submission¶
- Commit your changes to GitHub
- Find your
index.html
in theweek3
folder and copy the URL. It should look something like this: - https://albertkun.github.io/24SU-ASIAAM-191A-Assignments/week3/index.html
- Paste your link as a comment in the Discussion forum for Lab Assignment #4:
- https://github.com/albertkun/24SU-ASIAAM-191A/discussions/42