function onMapReady(event:Event):void
{
if (Geolocation.isSupported)
{
var my_geo:Geolocation = new Geolocation();
my_geo.addEventListener(GeolocationEvent.UPDATE, onGeoUpdate);
}
...
}
function onGeoUpdate(e:GeolocationEvent):void{
map.setCenter(new LatLng(e.latitude,e.longitude), 16,
MapType.NORMAL_MAP_TYPE);
}
And I recived this error VerifyError: Error #1014: Class
flash.events::GeolocationEvent could not be found.
--
You received this message because you are subscribed to the Google Groups
"Google Maps API For Flash" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-maps-api-for-flash?hl=en.