O'Reilly logo

OpenLayers 3 : Beginner's Guide by Erik Hazzard, Paul Spencer, Thomas Gratier

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action – getting Flickr data

The first step in our application will require us to get data from Flickr. We'll request some data and save it locally.

  1. The first step, is to figure out what sort of data we want to get. To simplify things, let's start with KML data. We'll use the URL we mentioned before, but we'll also specify a tag. Let's use bird as a tag. Open up this URL in your web browser, and you should be able to download it as a KML file from http://api.flickr.com/services/feeds/geo/?format=kml&tags=bird.
  2. Save the file as flickr_data.kml and place it in your map directory.
  3. Open up the file in your text editor and take a look at it. We won't be editing it, but just take a look to see how the data is structured. Notice that there are ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required