In today's lecture we'll play with locations and maps, both on the web and in App Inventor.
Latitude and longitude specify points on the earth's surface.
There are many web-based apps for finding latitude and longitude, such as this one. Use it to find the latitude and longitude of (1) Wellesley College and (2) your home.
The Google maps permalink feature can be used to find the latitude and longitude of a location. For instance, go to maps.google.com and search for Wellesley College Science Center. Then click on the link icon in the upper right corner to get a permalink address like the following:
Can you find the latitude and longitude hidden in the permalink?
You can also use Google maps to search for latitudes and longitudes. I was born at the coordinates 40.714444,-74.355319. Enter this in a Google maps search to determine where I was born. What hospital was I born at? In what city?
In class we'll see how to use URLs to query Google Maps.
Upload LocationTester.zip. This app shows (1) how to use the ActivityStarter to perform queries on Google maps and (2) how to use the GPS LocationSensor to determine the location of the phone.