Flex 2 Yahoo Maps updated

December 12th, 2006

I’ve updated my Yahoo Maps application to use the latest version of FlashInterface. Robert re-worked the API a bit so it’s even easier to use and requires less coding. I’ll try to post the source tonight. See my earlier post for more details on what this Flex 2 / Flash 8 Yahoo Maps application is all about.

One downfall to this approach of using Yahoo Maps in a Flex 2 app is the fact that you have to code a Flash 8 SWF which exposes all of the functionality of the Yahoo Maps component. Now that Robert has released SWFAdapter, I’d like to see if it’s possible to use the same SWF that the Yahoo Javascript-Flash API uses. After a little digging around in the javascript I noticed that a SWF is loaded and then talked to via a javascript API. By looking through all of the code I’m guessing one could use SWFAdapter to make all of the same calls on that SWF. I’m not sure if this goes against anything in the Yahoo Maps terms of use so I’ll have to read that over some more before I release anything for distribution.

4 Responses to “Flex 2 Yahoo Maps updated”

  1. billy Says:

    Any time line for the “Yahoo Maps application ” source? Thanks, look good so far..

  2. Tim Says:

    Sorry, I got a little sidetracked. I’ll try to put up something soon.

  3. John Says:

    I figured out some of it - now I’ve just got to figure out how I can get it to map a whole dataset of addresses at the same time.

  4. timwalling.com » Blog Archive » Yahoo! Maps Flex 2 Component - Preview Says:

    [...] I played around with this a while back going with the ExternalInterface approach. I’ve since dumped that approach in favor of using LocalConnection. I’ve encapsulated all the communication into a Flex 2 component which you can just drop into your Flex application. I’m going to be finishing up a few things on it this weekend after which I’ll release the component, along with source. I’m posting a preview of it now to see how much interest there is in the project. The first release of the component will only expose the most common API elements and then I’ll plan out a roadmap for adding more of the Flex 1.5 API. [...]

Leave a Reply