SlideShare a Scribd company logo
Mapping and
 Geolocation
with the Flash
   Platform
Ryan Stewart
               ryan@adobe.com

               blog.digitalbackcountry.com
               @ryanstewart

               github.com/ryanstewart




Based in Seattle
Like beer a little too much
Into mountaineering, backpacking, etc
Geolocation API

           Mapping APIs

Agenda     Custom Maps

         Managing Geodata

               Q&A
Geolocation APIs on
 the Flash Platform
Using the Geolocation API
Using the Geolocation API
Only supported if
the device supports
         it

 Provides whatever
attributes the phone
      provides

Uses the underlying
    phone API
“Where am I
   World”
  Example
The GeolocationEvent
      Object




               Latitude and Longitude
               Accuracy
               Altitude
               Heading
               Speed
               Timestamp
setUpdateRequestInterval



              API to configure how often to
              get
              location data

              Device won’t let you do
              updates in small intervals
Debugging Location
HTML5 as a Fallback

The HTML5 Spec
provides a Geolocation API

Gives access to Geolocation
via the browser

On devices it leverages the Native API
in the same way that AIR does

http://www.webkitchen.be/geolocation/
Mapping APIs
Comparing Mapping APIs
               Street/
                           Terrain   Topo    Traffic   3D
               Satellite



 Google Maps    Yes        Yes       No     No (JS) Yes


  Yahoo Maps    Yes         No       No      Yes       No


  MapQuest      Yes         No       No      Yes       No


     ESRI       Yes        Yes       Yes      No       No
Mapping with
Uses a layered approach for bits of data

Has advanced components for editing
and viewing things sequentially

Allows for querying specific bits of
data for mapping
Making Touchable Maps
Building
your own
  maps
Dealing with Geodata


       Main Formats:

        GPX - Most widespread GPS Format

        KML - Includes ability to draw
        shapes

        But there are many others.
Geo projects

   GPXAS3 - Library for Parsing GPX files
    http://github.com/ryanstewart/GpxAS3



   AIRGPSBabel - AS3 Wrapper for GPSBabel
    http://www.gpsbabel.org/
Questions



ryan@adobe.com

blog.digitalbackcountry.com
@ryanstewart

github.com/ryanstewart

More Related Content

Mapping and Geolocation on the Flash Platform

Editor's Notes

  1. http://www.smashingmagazine.com/2009/01/23/friday-freebies-flavours-icon-set-and-cute-tweeters-icon-set/
  2. http://www.flickr.com/photos/wtlphotos/3027430438/
  3. http://www.smashingmagazine.com/2009/01/23/friday-freebies-flavours-icon-set-and-cute-tweeters-icon-set/