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 based on 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 it form here : http:www.dipi-graphics.com/download/gpsAs3Class.zip

To view this page ensure that Adobe Flash Player version ${version_major}.${version_minor}.${version_revision} or greater is installed.

powered by Dipi Graphics