Panning Google Maps with Flex
Oct 18
The more I experiment with using Google Maps in a div layer beneath Flex the more I think it’s a viable solution. There are still several things that need to be tested such as using fscommand instead of getURL(“javascript:myFunction”); to communicate between Flex and Google Maps.
The main issue I’m going to focus on next is dynamically sizing the map so that it fits nicely within it’s container. An end user can resize the browser window as well as drag the horizontal pane bar and the map should resize accordingly. Right now it’s static, but I’m hoping to get that fixed later this week. You can check out the latest here:
http://www.db75.com/dev/gmaps/flex_gmaps2.htm
You’ll notice a selection in the grid will trigger a recentering of the map.
