Create a map using the Google Maps API that displays a hiking route between a number of different locations. Use a terrain map. The starter file initializes a map.
Hint: you will need to draw a polyline or polygon.
See the W3C tutorial or the official Google Maps API documentation for help.
Create a map using the Google Maps API that displays at least two markers and shows some details about the place (photo, name, and description) in an info window.
Get 5 recent photos of Stavanger from Flickr's public feed using Python. Display them in a table title, date, tags, and a link to the photo’s page on Flickr.
The starter file helps you to make a request and load the JSON response into a variable. Set params
according to what you need from Flickr, parse out photos from the returned results (data
), and pass it on to the template. You will also need to complete the corresponding template file.
Note: set nojasoncallback=1
for raw JSON response in the request URL (http://api.flickr.../photos_public.gne?nojsoncallback=1¶m1=value1...
).
Solve the previous exercise using only client-side scripting, i.e., jQuery and JSONP.