Any example on how are you doing this? I am doing this:
var hackWindow:Window=new Window(); var hackMap:Map = new Map(); hackMap.url ="http://bioblitz.tdwg.org/flickrtagger"; hackMap.key = "key"; hackMap.sensor="false"; hackWindow.addChild(hackMap); hackWindow.visible=false; hackWindow.open(); hackWindow.close(); And my "real" map actually gets loaded very fast, the only issue is that then I can not drag it. If I make the app bigger and so on the map seems to load tiles correctly, but the interaction with the mouse seems to be gone. If I dont do the hack the app takes at least 10seconds to load. Any help would be appreciated. Thanks. On Aug 26, 12:17 pm, Stephen Chan <[email protected]> wrote: > Well the Google Maps API works fine within the browser, loads > instantly. Problem is with FlashAIR, 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 inAIR. Have a read > > http://groups.google.com/group/google-maps-api-for-flash/browse_threa... > > 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 Chanwww.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 withAirloading 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: FlashAIR > > > Debugger: Flash Builder 4 > > > Flex SDK Version: 4.1 > > >AirSDK 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.
