O'Reilly logo

ActionScript Graphing Cookbook by Peter Backx, Dominic Gélineau

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

Parsing data to use as region fill

This recipe is going to be about finding and parsing data that describes regions that we might want to plot on a map. Such regions might be countries, states, provinces, and so on. The Natural Earth website at http://www.naturalearthdata.com/, offers geographical data about multiple subject, one of them are political geographical regions. We are going to use that data on our OpenScales map.

Getting ready

Having read the previous recipes about using OpenScales will greatly help. Also open the files downloaded from the Packt Publishing website to follow along.

How to do it...

The following are the steps required to parse data to use as region fill:

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