Flex: Map24 inside html IFrame
This is Map24 running inside an HTML iframe component. There is also another implementation of a similar thing here which works just as well. I haven’t decided on which one to use although the second one is completely free.
FABridge is setup to listen to events from the Flex view and trigger operations in javascript down to the map.
Switch the map into Applet mode and we have a flash application talking to a Java applet through a javascript layer working inside an html page!

Comments
2 Responses to “Flex: Map24 inside html IFrame”
Leave a Reply
Hi, I’ve tried to work with map24 in a Flex application. I’ve had a problem to render it into a window or popup. I’d like to know if this HTML iframe component (http://drumbeatinsight.com/htmlcomponent) that you comment has solve this problem.
Thiago,
The main problem is that you have to introduce a javascript layer of control between the Flex application and the html page which is hosting the map. That the where FABridge comes in to play (as mentioned here). I took this demo to it’s logical conclusion and ended up using a google map inside my own version of the iFrame component. If you put ‘flex iframe’ into google you will find it along with code for a map demo. Having said that, there is no way I would do that now given that there are better map solutions like UMap and the Google flash component. Making this technique work in a useful way was extremely difficult.