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

Update readme to include a new bullet point #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 19 additions & 41 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,62 +1,40 @@
# Introduction to Web Mapping - Week 1

### Readings/Homework
## Readings/Homework

#### Code Academy
### Code Academy

* Sign up for [Code Academy](https://www.codecademy.com/)
* Complete Units 1 through 4 in the Course Academy
[Introductory Javascript coursework](https://www.codecademy.com/learn/introduction-to-javascript)
- Sign up for [Code Academy](https://www.codecademy.com/)
- Complete Units 1 through 4 in the Course Academy [Introductory Javascript coursework](https://www.codecademy.com/learn/introduction-to-javascript)

- here's a new entry
- Data, types, and assignment
- Responding to conditions (conditionals)
- Functions (defining behaviors that take some input and maybe return a result)
- Scope/Scoping rules (where things are defined and where they aren't)

> NOTE: All materials in this course are free by design. Any 'pro' sections
> in code academy are not assigned


### Project


#### Task 1: Open Seed Project

The Seed Project is in the `/assignment` directory of the Week 1 repo. Open the `index.html` file.
Take a look at the text between the second set of `<script>` tags—this is the Javascript code we
will be editing for this assignment.


#### Task 2: Change the marker location to your favorite place to eat food in Philadelphia
> NOTE: All materials in this course are free by design. Any 'pro' sections in code academy are not assigned

The part of the code that adds a marker looks like this: `L.marker([50.5, 30.5]).addTo(map);`.
The `50.5, 30.5` part refers to a set of coordinates: latitude and longitude (lat, lng).
## Project

In our class, we'll learn a number of ways to find coordinates for a location that we want to map.
An easy way to do this for a single address is to use Google Maps. Check out these instructions
to [Get the coordinates of a place](https://support.google.com/maps/answer/18539?hl=en).
### Task 1: Open Seed Project

The Seed Project is in the `/assignment` directory of the Week 1 repo. Open the `index.html` file. Take a look at the text between the second set of `<script>` tags--this is the Javascript code we will be editing for this assignment.

#### Task 3: Add two more markers
### Task 2: Change the marker location to your favorite place to eat food in Philadelphia

Add two additional markers to your map. These two markers should be two additional places where
you like to eat food.
The part of the code that adds a marker looks like this: `L.marker([50.5, 30.5]).addTo(map);`. The `50.5, 30.5` part refers to a set of coordinates: latitude and longitude (lat, lng).

To add an additional marker, copy the code you used to create the first marker onto the next
line. Change the coordinates for your new markers. When you are finished, save your file and
reload the browser. You should see three markers.
In our class, we'll learn a number of ways to find coordinates for a location that we want to map. An easy way to do this for a single address is to use Google Maps. Check out these instructions to [Get the coordinates of a place](https://support.google.com/maps/answer/18539?hl=en).

### Task 3: Add two more markers

#### Extra
Add two additional markers to your map. These two markers should be two additional places where you like to eat food.

In this class, we are using a Javascript library called [Leaflet](http://leafletjs.com/) to handle
mapping in the browser. You can check out the [Leaflet Docs](http://leafletjs.com/reference.html)
to get an idea of what it can do.
To add an additional marker, copy the code you used to create the first marker onto the next line. Change the coordinates for your new markers. When you are finished, save your file and reload the browser. You should see three markers.

Later, we'll explore an exciting alternative to Leaflet -
[Mapbox GL](https://www.mapbox.com/mapbox-gl-js/api/). The 'GL' means it tries to take advantage
of graphics cards to generate powerful vizualisations incredibly quickly). Mapbox is a bit
more involved and we won't be touching on it until the second half of the course but the
[examples provided by Mapbox](https://www.mapbox.com/mapbox-gl-js/example/simple-map/) are
worth clicking through for inspiration and a sense of where we're headed.
### Extra

In this class, we are using a Javascript library called [Leaflet](http://leafletjs.com/) to handle mapping in the browser. You can check out the [Leaflet Docs](http://leafletjs.com/reference.html) to get an idea of what it can do.

Later, we'll explore an exciting alternative to Leaflet - [Mapbox GL](https://www.mapbox.com/mapbox-gl-js/api/). The 'GL' means it tries to take advantage of graphics cards to generate powerful vizualisations incredibly quickly). Mapbox is a bit more involved and we won't be touching on it until the second half of the course but the [examples provided by Mapbox](https://www.mapbox.com/mapbox-gl-js/example/simple-map/) are worth clicking through for inspiration and a sense of where we're headed.