Well the Google Maps API works fine within the browser, loads
instantly. Problem is with Flash AIR, just the simple example Google
has provided is having a problem with this issue. Anyway I have found
a solution but also a hack after reading an older post, this works in
the mean time but can really do with Google actually trying to solve
this issue. The guy in this post actually dug in deep into the problem
and has found some of the reasons in why it takes so long to
initialise Google Maps in AIR. Have a read

http://groups.google.com/group/google-maps-api-for-flash/browse_thread/thread/2f33e04126b0cf28/74547e6d46a301cb?lnk=gst&q=Flex+Air#74547e6d46a301cb

The hack is simply using his solution of Test#3, so create a window
with the googlemaps component, and open it, the initialisation time is
instant, and all of your other google map components in your
application will load instant too. Once the window is opened what i
did is instantly closed the window once the window is created. You
will see a small flash of the window, but you can stop that by making
the component invisible, so no one can see the window, and no one will
know what is happening in the background. Like i said its a Hack,
which isn't good practice, can just do with Google trying to solve
this issue soon, but this will do the job for now. :)

Stephen Chan
www.canditv.co.uk

On Aug 25, 6:10 pm, Jonathan Wagner <[email protected]> wrote:
> Hey Guys,
>
> I would be interested to know have you tried deploying the same
> application to the web? When you do this do you get the same problems?
> I have actually had problems with Air loading times before. I have a
> feeling it has to do with the fact that the API pulls in external SWF
> files.
>
> Jonathan
> ScribbleMaps.com
>
> On Aug 20, 8:20 am, "[email protected]"
>
>
>
> <[email protected]> wrote:
> > I have the same issue
>
> > Details:
> > OS: Mac OS X 10.6.4
> > Platform: Flash AIR
> > Debugger: Flash Builder 4
> > Flex SDK Version: 4.1
> > Air SDK Version: 2.5
> > Google Maps API: map_flex_1_18.swc

-- 
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.

Reply via email to