Hi Bart- We looked further at your code, and realized that your Flex version is using 1.8c, and your non-Flex/Hybrid version is using 1.8. We made various fixes to the zooming between 1.8 and 1.8c, and this seems to have resulted in what manifests in your code as a bug.
We discussed the options, and decided that it's best to keep with the 1.8c zooming mechanism, as it's better for 99.9% of maps. We recommend that you go with one of the options suggested earlier in the thread. - pamela On Thu, Jan 29, 2009 at 2:08 AM, Bart <[email protected]> wrote: > > Hi Pamela, > > Thank you for looking at the issue and suggesting a few workarounds. > > Would you agree that it is strange that the Flash (Actionscript > project) version alpha < 1 on a baselayer works fine, but in the Flex > version of the API it does not ? > > The way the "old" tiles remain visible in the Flex version makes me > suspect that this should be easy to fix by making sure the old tiles > are made invisible regardless of their initial alpha. > > Pretty new at Flex i am still kind of puzzled between the exact > differences between using a Sprite (flash) or UICOmponent (Flex) for a > base class. So i found another workaround: > > If I simply ignore the existence of Flex API and use the Flash version > of the API (map_1_8.swc) in my flex project instead, al I need to do > is change the code a little, use Canvas.rawChildren.add to insert the > flash API Map and add some code to handle resizing of the Canvas in > which i embedded the map. > > It makes me wonder, besides inheriting from UIComponent instead of > Sprite to make the API work with the Flex designers, are there other > significant differences between the Flex and Flash versions of the > API ? I wish i could take a peek in the API source code to fully > understand what is going on... > > I posted the hybrid (Flex project using the Flash API) here: > > http://www4.demis.nl/gwms/hybrid/ > > source code: > > http://www4.demis.nl/gwms/hybrid/srcview/index.html > > - Bart > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
