GeoLocalisation #01

Html5 Geolocalisation API + JavaScript + Google Maps Actionscript API

Great article from S.Jespers "The HTML5 Flash Marriage: Geolocation"

I have quickly wrote a simple class you can use to insert a google map with html5 geolocation.

gps(width:int, height:int, APIkey:String, getGeoFunction:String, sendGeoFunction:String)
ie : var map:Sprite = new gps(950, 400, "YOUR API KEY HERE", "getGEO", "passGEOToSWF");

You can download the project : http://www.dipi-graphics.com/download/gpsAs3Project.zip (FlashBuilder Project)

To view this page ensure that Adobe Flash Player version 10.0.0 or greater is installed.

powered by Dipi Graphics